nimamoradi / svm

svm classifier that will generate label by folder name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

svm classifier that will generate label by folder name


Languages

Language:Python 100.0%