Author | Gao Chaofei |
---|---|
My mailbox | 18376047@buaa.edu.cn |
- Dataset
- Preprocess
- Usage
- Perceptron
- Naive Bayes
- Result
Our dataset is from iris. You can find it in ../data/iris.txt.
python data_pre.py
After that, you will get train_data.npy and val_data.npy
python perceptron.py
python bayes.py
Method | Result |
---|---|
Perceptron | 1.0 |
Naive Bayes | 0.98 |