Re: trying to improve my knn algorithm

2020-07-01 Thread kyrohammy
This is another account but I am the op. Why do you mean normalize? Sorry I’m new at this. -- https://mail.python.org/mailman/listinfo/python-list

Re: trying to improve my knn algorithm

2020-07-01 Thread Peter Otten
hunter.hammond@gmail.com wrote: > This is a knn algorithm for articles that I have gotten. Then determines > which category it belongs to. I am not getting very good results :/ [snip too much code;)] - Shouldn't the word frequency vectors be normalized? I don't see that in your code. Witho

trying to improve my knn algorithm

2020-07-01 Thread hunter . hammond . dev
This is a knn algorithm for articles that I have gotten. Then determines which category it belongs to. I am not getting very good results :/ k = 23 training_folder = './data/training/' minn_folder = training_folder + 'Minnesota/' health_folder = training_folder + 'Health/' def remove_punctuatio

Re: How to handle async and inheritance?

2020-07-01 Thread Dieter Maurer
Stephen Rosen wrote at 2020-6-30 11:59 -0400: >Hi all, > >I'm looking at a conflict between code sharing via inheritance and async >usage. I would greatly appreciate any guidance, ideas, or best practices >which might help. > >I'll speak here in terms of a toy example, but, if anyone wants to look

Preliminary Design for Teaching Latin and Artificial Intelligence

2020-07-01 Thread mentificium
1. Stage One: Linguistics and Neuroscience Teach the students the idea of a sentence and also the idea of a neuronal structure that generates a sentence. 2. Stage Two: Introduce a Particular Programming Language Use PYTHON as a major AI language, or possibly use tutorial JavaScript as a teachi