Classify planets that have shorter years than Earth: a) Using the data/planets.csv file, build a logistic regression model with the eccentricity, semimajoraxis, and mass columns as regressors. You...



Classify planets that have shorter years than Earth:


a) Using the data/planets.csv file, build a logistic regression model with the


eccentricity, semimajoraxis, and mass columns as regressors. You will


need to make a new column to use for the y (year shorter than Earth).


b) Find the accuracy score.


c) Use the classification_report() function from scikit-learn to see


the precision, recall, and F1



score for each class.


d) With the plot_roc() function from the ml_utils.classification


module, plot the ROC curve.


e) Create a confusion matrix using the confusion_matrix_visual() function


from the ml_utils.classification module.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here