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
-
Notifications
You must be signed in to change notification settings - Fork 0
AntonioRasulo/KNN_text_classifier
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
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.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published