← 返回 perplexity 的题目列表Binary Classification using scikit-learn
类型:online_judge
Train a binary classifier using scikit-learn on a predetermined toy dataset. Choose an appropriate model to fit, and then try to improve the initial evaluation metrics. Implementation should be done in Python.
Example
Input
from sklearn.datasets import make_classification; X, y = make_classification(n_samples=100, n_features=20, n_informative=2, n_redundant=0, random_state=42); y = (y > 0.5).astype(int)