Icon

Exercise 3 Training the Logistic Regression Algorithm

Exercise 3 Training the Logistic Regression Algorithm
Task 2: Compare the performances of the logistic regression and decision treealgorithms1. Predict the "class" column using the logistic regression algorithm. Use thedefault configuration.2. If the algorithm doesn't converge, try Gauss/Laplace regularization3. Apply the model to the test set and score its performance4. Compare the overall accuracy of the logistic regression model to the overallaccuracy of the decision tree model. Task 1: Inspect the class separation in the feature space 1. Visualize feature 0 vs feature 3 in a scatter plot Readdec-tree-data.tableonly features0,3 Table Reader Column Filter Task 2: Compare the performances of the logistic regression and decision treealgorithms1. Predict the "class" column using the logistic regression algorithm. Use thedefault configuration.2. If the algorithm doesn't converge, try Gauss/Laplace regularization3. Apply the model to the test set and score its performance4. Compare the overall accuracy of the logistic regression model to the overallaccuracy of the decision tree model. Task 1: Inspect the class separation in the feature space 1. Visualize feature 0 vs feature 3 in a scatter plot Readdec-tree-data.tableonly features0,3 Table Reader Column Filter

Nodes

Extensions

Links