C++ code that calculate several distances between a document (document under test) and a set of document (training set) to understand the typology of the document under test.
Pass as arguments:
-set : path to training set
-input : filepath to the document under test
-output : path to the output folder where to store the output csv files containing the results
-k : k value to apply to the KNN model
-p : p value to apply to the Minkowski classifier, if provided 0 p will assume the value 1
Example:
main.exe -set <trainingSetPath> -input <filepathToDocUnderTest> -output <outputFolderPath> -k 3 -p 5
AntonioRasulo/KNN_text_classifier
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|