Skip to content

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.

Notifications You must be signed in to change notification settings

AntonioRasulo/KNN_text_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KNN_text_classifier

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

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

No packages published