|
|
6 년 전 | |
|---|---|---|
| .. | ||
| README.md | 6 년 전 | |
| Vector.py | 6 년 전 | |
| classifier.py | 6 년 전 | |
| logs.py | 6 년 전 | |
| nearestneighbors.py | 6 년 전 | |
| pcap.py | 6 년 전 | |
The train(classifications: int, data: list, results: list, testdata: list, testresults: list) function should be used.
Data and Testdata should be arrays of arrays of features, ex:
Suppose there are 3 features, each a float from 0 to 1. Data could be: [[.3, .2, .3], [.3, .3, .3], [.3, .4, .5]...]
Results should be ints in an array, each result accoring to the list of features it should represent the classification of.
Make a command line utility that reads in samples, transforms them to FeatureVectors and then runs a number of classifications on them.