Aiml Unit Iii Class Test 3.1
Aiml Unit Iii Class Test 3.1
PART-A
Machine learning relates with the study, design and development of the algorithms that
give computers the capability to learn without being explicitly programmed. While,
data mining can be defined as the process in which the unstructured data tries to extract
knowledge or unknown interesting patterns.
It is a flexible and easy-to-use machine learning algorithm that gives great results
without even using hyper-parameter tuning. Because of its simplicity and diversity, it
is one of the most used algorithms for both classification and regression tasks.
The possibility of overfitting exists as the criteria used for training the model is not the
same as the criteria used to judge the efficacy of a model.
By using a lot of data overfitting can be avoided, overfitting happens relatively as you
have a small dataset, and you try to learn from it. But if you have a small database and
you are forced to come with a model based on that. In such situation, you can use a
technique known as cross validation. In this method the dataset splits into two section,
testing and training datasets, the testing dataset will only test the model while, in
training dataset, the datapoints will come up with the model. In this technique, a model
is usually given a dataset of a known data on which training (training data set) is run
and a dataset of unknown data against which the model is tested. The idea of cross
validation is to define a dataset to “test” the model in the training phase.
Supervised Learning
Unsupervised Learning
Semi-supervised Learning
Reinforcement Learning
Transduction
Learning to Learn
In Naïve Bayes classifier will converge quicker than discriminative models like
logistic regression, so you need less training data. The main advantage is that it can’t
learn interactions between features.
PART-B
1. Examine the classification of machine learning algorithms, providing examples for each
category and evaluating their applications in different scenarios. Refer material
2. Explain in detail about linear regression with an example. Refer material
3. What are the types of linear regression and explain in detail. Refer material
4. Describe about least squares with single and multivariate fitting. Give appropriate
examples. Refer material
5. Given the dataset below: Refer notes
x 1 2 3 4 5 6 7
y 3 4 5 5 6 8 10
Use the Least Squares Method to find the equation of the best-fit line in the form: y=mx+b
Also, calculate:
1. The slope (mmm) and intercept (ccc).
2. The coefficient of determination (R2R^2R2) to measure how well the line fits the
data.
6. Examine the principle of the gradient descent algorithm. Accompany your explanation
with a diagram. Explain the use of all the terms and constants that you introduce and
comment on the range of values that they can take. Refer material