第15周作业 #高级编程技术
sklearn
题目
解题过程
1. Create a classification dataset (n samples 1000, n features 10)
2. Split the dataset using 10-fold cross validation
3. Train the algorithms
GaussianNB
SVC (possible C values [1e-02, 1e-01, 1e00, 1e01, 1e02], RBF kernel)
RandomForestClassifier (possible n estimators values [10, 100, 1000])
4. Evaluate the cross-validated performance
- Accuracy
- F1-score
- AUC
- ROC