Skip to content
/ svm Public

svm classifier that will generate label by folder name

Notifications You must be signed in to change notification settings

nimamoradi/svm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svm

svm classifier that will generate label by folder name

this classifer will train and save clf trained parameters

how to use

this mdoel use folder name as label and it will find text files in it as train dataset simply call model by this command

>python main.py "folder address"

it will list folders and find txt files in it and will train model
by default it will use 10 percent of dataset as test and in the end will show it accuracy


to test model when model is trained you can simple call
>python model_use.py "folder address"

which will find label for each file in the folder address

Releases

No releases published

Packages

No packages published

Languages