Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge | Correlation
Explore the Linear Regression Using Python
course content

Kursinhalt

Explore the Linear Regression Using Python

Explore the Linear Regression Using Python

1. What is the Linear Regression?
2. Correlation
3. Building and Training Model
4. Metrics to Evaluate the Model
5. Multivariate Linear Regression

book
Challenge

Let's do one more task as practice!

Aufgabe

Swipe to start coding

You have the dataset about Abbisian cats where the number of calories the cat eats every day of a certain weight is indicated (array x - weight, y - number of calories).

  1. [Line #19] Find the correlation coefficient between x and y (in any convenient way), the slope, and the intercept of a straight line which shows the trend.
  2. [Lines #22-24] Print these values in the order mentioned above.
  3. [Line #27] Build line using function line() and save in built_line variable using list(map()).
  4. [Lines #30-31] Build the line using matplotlib.pyplot functions.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
toggle bottom row

book
Challenge

Let's do one more task as practice!

Aufgabe

Swipe to start coding

You have the dataset about Abbisian cats where the number of calories the cat eats every day of a certain weight is indicated (array x - weight, y - number of calories).

  1. [Line #19] Find the correlation coefficient between x and y (in any convenient way), the slope, and the intercept of a straight line which shows the trend.
  2. [Lines #22-24] Print these values in the order mentioned above.
  3. [Line #27] Build line using function line() and save in built_line variable using list(map()).
  4. [Lines #30-31] Build the line using matplotlib.pyplot functions.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
We're sorry to hear that something went wrong. What happened?
some-alt