Functions Flashcards
1
Q
confusion_matrix( )
A
Compute confusion matrix to evaluate the accuracy of a classification
- sklearn.metrics.
2
Q
LogisticRegression( )
A
Logistic Regression (aka logit, MaxEnt) classifier
- sklearn.linear_model.
3
Q
get_dummies( )
A
Convert categorical variable into dummy/indicator variables
- pd.
4
Q
SimpleImputer( )
A
- a imputation transformer for completing missing values
- 4 strategies: mean, median, most_frequent, constant