Skip to content

emanuelgostner/GroutWorkshop

Repository files navigation

GroutWorkshop

Activity_24_25

The scope of Activity 24/25 is to implement the kNN algorithm for classification of a (x,y) coordinate with 2 flavors of user interraction

Used libraries:

  • Mathplotlib for graphical representation of the result
  • Tensorflow/numpy for Array/Vector manipulation and x,y point generation

kNN_TensorFlow_1_modA.py

kNN algorithm implementation with console User inputs

  1. Input: x value (float)
  2. Input: y value (float)
  3. Input: k value (int<0-200>)

kNN_TensorFlow_1_modB.py

kNN algorithm implementation with custom arguments
-h, --help show this help message and exit
-x < float > x value of Point[x,y]
-y < float > y value of Point[x,y]
-k < int > k value used by the algorithm. Must be between 0 and 200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages