Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Initial Model Fit | Identifying Fake News
Identifying Fake News
course content

Course Content

Identifying Fake News

Initial Model Fit

Now that we have prepared our data, the time has come to train our algorithm. We will start by splitting our data into training and testing sets, then train a Logistic Regression model as a starting point for our analysis.

Task

  1. Split the data into training and test sets (75% to 25%, respectively).
  2. Use the appropriate method to train the Logistic Regression model.
  3. Make predictions using the Logistic Regression model on the test set.

Task

  1. Split the data into training and test sets (75% to 25%, respectively).
  2. Use the appropriate method to train the Logistic Regression model.
  3. Make predictions using the Logistic Regression model on the test set.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Now that we have prepared our data, the time has come to train our algorithm. We will start by splitting our data into training and testing sets, then train a Logistic Regression model as a starting point for our analysis.

Task

  1. Split the data into training and test sets (75% to 25%, respectively).
  2. Use the appropriate method to train the Logistic Regression model.
  3. Make predictions using the Logistic Regression model on the test set.

Mark tasks as Completed
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 5
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt