Machine Learning

Understand algorithms like regression, classification, clustering, and how they power predictions and recommendations.

40 Problems Available
Box Plot of Wine Quality
Beginner

Create a box plot showing alcohol distribution by wine quality.

100 points Solve
Calculate Accuracy Score
Beginner

Calculate accuracy for a wine quality classifier (good/bad).

125 points Solve
Calculate Basic Statistics
Beginner

Calculate and print basic statistics (mean, std, min, max) for numerical columns in the Iris dataset.

75 points Solve
Calculate Correlation Matrix
Beginner

Calculate and display the correlation matrix for the student performance dataset.

75 points Solve
Calculate Mean Absolute Error
Beginner

Calculate MAE for a linear regression model predicting house prices.

125 points Solve
Calculate Price per Sqft
Beginner

Add a new column 'price_per_sqft' to the house prices dataset and display the result.

75 points Solve
Classification Report
Beginner

Generate a classification report for the student activities classifier.

150 points Solve
Classification Report
Intermediate

Generate a classification report for the Iris species prediction model.

150 points Solve
Confusion Matrix
Intermediate

Create a confusion matrix for the Iris species prediction model.

150 points Solve
Confusion Matrix Basics
Beginner

Create a confusion matrix for the student extra activities classifier.

125 points Solve
Count Missing Values
Beginner

Count and print the number of missing values in each column of the Titanic dataset.

75 points Solve
Count Unique Values
Beginner

Count and print the number of unique values in each column of the Iris dataset.

50 points Solve
Create a Bar Chart
Beginner

Create a bar chart showing average price by number of bedrooms.

100 points Solve
Create a Simple Scatter Plot
Beginner

Create a scatter plot of size_sqft vs price from the house prices dataset.

100 points Solve
Create Dummy Variables
Beginner

Convert the 'Pclass' column in Titanic dataset to dummy variables and print the result.

100 points Solve
Cross-Validation Score
Intermediate

Calculate and print the cross-validation score for a logistic regression model on the Titanic dataset.

150 points Solve
Decision Tree Basics
Beginner

Train a decision tree to predict if students did extra activities based on their scores.

150 points Solve
Decision Tree Classifier
Intermediate

Train a decision tree classifier on the Iris dataset and print its depth.

150 points Solve
Display Dataset Shape
Beginner

Load the Titanic dataset and print its shape (rows, columns).

50 points Solve
Encode Categorical Variable
Beginner

Convert the 'Sex' column in Titanic dataset to numerical values (male=0, female=1) and print the result.

100 points Solve
Feature Importance
Intermediate

Display feature importances from a random forest model trained on the Iris dataset.

150 points Solve
Filter Data by Condition
Beginner

Filter the Titanic dataset to show only female passengers and print the result.

75 points Solve
Filter Records by Condition
Beginner

Display houses with more than 3 bedrooms from the dataset.

75 points Solve
Grid Search for Hyperparameter Tuning
Advanced

Perform grid search to find the best K for KNN classifier on the Iris dataset.

200 points Solve
Group and Aggregate Data
Beginner

Calculate the average final score by extra_activities status from the student dataset.

100 points Solve
Handle Missing Values
Beginner

Fill missing age values in Titanic dataset with the mean age and print the updated Age column.

100 points Solve
KNN Classifier Basics
Beginner

Train a KNN classifier to predict wine quality (threshold: >=7 is good) using alcohol and sulphates.

150 points Solve
Linear Regression
Intermediate

Train a linear regression model to predict diabetes progression and print the R2 score.

150 points Solve
Load and Display Specific Columns
Beginner

Load the house prices dataset and display only 'size_sqft' and 'price' columns.

50 points Solve
Normalize Numerical Data
Beginner

Normalize the 'Age' column in Titanic dataset using min-max scaling and print the result.

100 points Solve
Plot a Histogram
Beginner

Plot a histogram of final scores from the student dataset with 3 bins.

75 points Solve
Plot Multiple Features
Beginner

Create scatter plots of hours_studied vs final_score and previous_score vs final_score side by side.

125 points Solve
Precision and Recall
Beginner

Calculate precision and recall for the wine quality classifier.

150 points Solve
Predict Iris Species
Intermediate

Train a KNN classifier to predict iris species and print the accuracy.

150 points Solve
Predict Student Scores
Beginner

Use linear regression to predict final_score based on hours_studied.

150 points Solve
Random Forest Classifier
Intermediate

Train a random forest classifier on the Titanic dataset to predict survival.

150 points Solve
Simple Linear Regression
Beginner

Train a linear regression model to predict house price based on size.

150 points Solve
Train a Logistic Regression Model
Intermediate

Train a logistic regression model to predict survival on the Titanic dataset.

150 points Solve
Train-Test Split
Beginner

Split the Iris dataset into 70% training and 30% test sets and print their shapes.

100 points Solve
Train-Test Split Practice
Beginner

Split the wine dataset into 80% train and 20% test sets and print their shapes.

100 points Solve