Icon

04_Analyze_Linear_Regression

Analyze Data by Training a Linear Regression model for House Price Prediction
Annotations and comments
  • Read Data - The data contains various attributes about the house and the house price
  • Transform: - Partition the data into train and test set
  • Train Model Linear Regression
  • Evaluation Apply and score Model
  • How to train Linear Rgeression Model? Step 1: Drag the "Linear Regression Learner" node and double click to open the dialog Step 2: Select the "Target" Column as "SalesPrice" Step 3: RIght Click on the node and select "Execute and Open View" to train the model and to get a view of the Regression Co-efficients
  • How to evaluate Classification Model? Step 1: Drag the "Regression Predictor" node. Step 2: Connect the output of "Linear Regression Learner" node to model input port and Test Dataset to data input port. Execute the node Step 3: Connect the Predictor Output to "Missing Value" node to remove rows with missing prediction and then connect it to "Scorer" node to evaluate the model on various evaluation measures
  • AmesHousing_simple.csv dataset
  • Port 0: Train Set (70%) Port 1: Test Set (30%)

Nodes

Extensions

Links