Challenge: Solving the Task Using Correlation
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:
- Calculate correlations between features and target.
- Print these correlations in ascending order.
Lösning
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.85Awesome!
Completion rate improved to 3.85
Challenge: Solving the Task Using Correlation
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:
- Calculate correlations between features and target.
- Print these correlations in ascending order.
Lösning
Tack för dina kommentarer!
single
Awesome!
Completion rate improved to 3.85
Challenge: Solving the Task Using Correlation
Svep för att visa menyn
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:
- Calculate correlations between features and target.
- Print these correlations in ascending order.
Lösning
Tack för dina kommentarer!