Skip to content

This repository contains the solutions for assignments of Machine Learning(ML) Laboratory given by SPPU(2019-Pattern)

Notifications You must be signed in to change notification settings

SumedhaZaware/Machine-Learning-SPPU-2019-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine-Learning-Laboratory

Assignment-1

Predict the price of the Uber ride from a given pickup point to the agreed drop-off location. Perform following tasks:

  1. Pre-process the dataset.
  2. Identify outliers.
  3. Check the correlation.
  4. Implement linear regression and random forest regression models.
  5. Evaluate the models and compare their respective scores like R2, RMSE, etc.

Dataset link: https://www.kaggle.com/datasets/yasserh/uber-fares-dataset

Assignment-2

Classify the email using the binary classification method. Email Spam detection has two states: a) Normal State – Not Spam, b) Abnormal State – Spam. Use K-Nearest Neighbors and Support Vector Machine for classification. Analyze their performance.

Dataset link: https://www.kaggle.com/datasets/balaka18/email-spam-classification-dataset-csv

Assignment-3

Given a bank customer, build a neural network-based classifier that can determine whether they will leave or not in the next 6 months. Dataset Description: The case study is from an open-source dataset from Kaggle. The dataset contains 10,000 sample points with 14 distinct features such as CustomerId, CreditScore, Geography, Gender, Age, Tenure, Balance, etc.

Link to the Kaggle project: https://www.kaggle.com/barelydedicated/bank-customer-churn-modeling

Perform following steps:

  1. Read the dataset.
  2. Distinguish the feature and target set and divide the data set into training and test sets.
  3. Normalize the train and test data.
  4. Initialize and build the model. Identify the points of improvement and implement the same.
  5. Print the accuracy score and confusion matrix

Assignment-4

Implement Gradient Descent Algorithm to find the local minima of a function. For example, find the local minima of the function y=(x+3)² starting from the point x=2.

Assignment-5

Implement K-Nearest Neighbors algorithm on diabetes.csv dataset. Compute confusion matrix, accuracy, error rate, precision and recall on the given dataset.

Dataset link : https://www.kaggle.com/datasets/abdallamahgoub/diabetes

Mini Project

Build a machine learning model that predicts the type of people who survived the Titanic shipwreck using passenger data (i.e. name, age, gender, socio-economic class, etc.).

Dataset Link: https://www.kaggle.com/competitions/titanic/data

About

This repository contains the solutions for assignments of Machine Learning(ML) Laboratory given by SPPU(2019-Pattern)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published