0% found this document useful (0 votes)
29 views2 pages

Machine Learning Programming Exercises

The document outlines 10 sets of programming exercises related to machine learning algorithms and techniques. These include implementing k-nearest neighbors, principal component analysis, support vector machines, decision trees, naive Bayes classification, and more. The exercises involve tasks like classification, encoding, cross validation, and solving real-world problems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views2 pages

Machine Learning Programming Exercises

The document outlines 10 sets of programming exercises related to machine learning algorithms and techniques. These include implementing k-nearest neighbors, principal component analysis, support vector machines, decision trees, naive Bayes classification, and more. The exercises involve tasks like classification, encoding, cross validation, and solving real-world problems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SET-1

a) Develop a program for Bias, Variance, Remove duplicates , Cross Validation


b) Write a program to implement Categorical Encoding, One-hot Encoding.

SET-2
a) Write a program to implement k-Nearest Neighbor algorithm to classify the
iris data set. Print both correct and wrong predictions
b) Write a program to Implement Principle Component Analysis

SET-3
a) Write a program to Implement Support Vector Machines
b) Write a program to demonstrate the working of the decision tree based
ID3 algorithm. Use an appropriate data set for building the decision tree and apply
this knowledge to classify a new sample.

SET-4
a) Exercises to solve the real-world problems using Logistic regression
b) Assuming a set of documents that need to be classified, use the naïve
Bayesian Classifier model to perform this task. Built-in Java classes/API
can be used to write the program. Calculate the accuracy, precision, and
recall for your data set

SET-5
a) Implement and demonstrate the FIND-S algorithm for finding the most
specific hypothesis based on a given set of training data samples. Read
the training data from a .CSV file.
b) Write a program to Implement Support Vector Machines
c)
SET-6
a) Write a program to implement k-Nearest Neighbor algorithm to classify
the iris data set. Print both correct and wrong predictions
b) Develop a program for Bias, Variance, Remove duplicates , Cross
Validation
SET-7
a) Exercises to solve the real-world problems using Linear regression
b) Assuming a set of documents that need to be classified, use the naïve
Bayesian Classifier model to perform this task. Built-in Java classes/API can
be used to write the program. Calculate the accuracy, precision, and recall
for your data set

SET-8
a) Write a program to Implement Principle Component Analysis
b) Exercises to solve the real-world problems using Logistic regression

SET-9
a) Write a program to demonstrate the working of the decision tree based
ID3 algorithm. Use an appropriate data set for building the decision tree
and apply this knowledge to classify a new sample
b) Write a program to implement Categorical Encoding, One-hot Encoding.

SET-10
a) Exercises to solve the real-world problems using Logistic regression
b) Implement and demonstrate the FIND-S algorithm for finding the most
specific hypothesis based on a given set of training data samples. Read the training
data from a .CSV file.

You might also like