Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Solving the Task Using Correlation | Covariance and Correlation
Probability Theory Basics

Pyyhkäise näyttääksesi valikon

book
Challenge: Solving the Task Using Correlation

Tehtävä

Swipe to start coding

One of the most important tasks in machine learning is building a linear regression model (you can find more information in the Linear Regression with Python course).

Since we use a linear function in this model, we can use the correlation between features and target to indicate how significant a particular feature is for this model.

We will use the 'Heart Disease Dataset' now: it contains 14 features, including the predicted attribute, which refers to the presence of heart disease in the patient. Your task is to calculate attribute importance using correlation:

  1. Calculate correlations between features and target.
  2. Print these correlations in ascending order.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 5. Luku 3

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Challenge: Solving the Task Using Correlation

Tehtävä

Swipe to start coding

One of the most important tasks in machine learning is building a linear regression model (you can find more information in the Linear Regression with Python course).

Since we use a linear function in this model, we can use the correlation between features and target to indicate how significant a particular feature is for this model.

We will use the 'Heart Disease Dataset' now: it contains 14 features, including the predicted attribute, which refers to the presence of heart disease in the patient. Your task is to calculate attribute importance using correlation:

  1. Calculate correlations between features and target.
  2. Print these correlations in ascending order.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 5. Luku 3
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt