Icon

04_​Logistic_​Regression

Logistic Regression

Introduction to Machine Learning Algorithms course - Session 2
Exercise 4
- Train a logistic regression model
- Apply the model to the test set
- Evaluate the model performance with the Scorer node

Exercise: Logistic Regression1) Train a Logistic Regression model to predict the overall condition of a house (high/low) (Logistic Regression Learner node)- Select the "rank" column as the target column2) Use the trained model to predict the rank of the houses in the test set (Logistic Regression Predictor node)3) Evaluate the accuracy of the logistic regression model (Scorer (JavaScript) node)- Select "rank" as the actual column and "Prediction (rank)" as the predicted column- What is the accuracy of the model? Classification: Logistic regression model Read AmesHousing.csvCSV Reader Preprocessing Exercise: Logistic Regression1) Train a Logistic Regression model to predict the overall condition of a house (high/low) (Logistic Regression Learner node)- Select the "rank" column as the target column2) Use the trained model to predict the rank of the houses in the test set (Logistic Regression Predictor node)3) Evaluate the accuracy of the logistic regression model (Scorer (JavaScript) node)- Select "rank" as the actual column and "Prediction (rank)" as the predicted column- What is the accuracy of the model? Classification: Logistic regression model Read AmesHousing.csvCSV Reader Preprocessing

Nodes

Extensions

Links