Skip to content

Commit 12ad205

Browse files
add answer
1 parent dd3eb99 commit 12ad205

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

ML Interview Question/README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,21 @@
66
### 1. What is machine learning?
77
**Answer:** Machine learning is a subset of artificial intelligence (AI) that focuses on developing algorithms and techniques that enable computers to learn from data and improve their performance over time without being explicitly programmed. It involves the creation of models that can automatically learn patterns and make predictions or decisions based on input data. Machine learning algorithms are trained using labeled or unlabeled data to identify underlying patterns or structures and generalize from the examples provided. The main goal of machine learning is to enable computers to perform tasks or make predictions accurately without being explicitly programmed for every possible scenario, thus allowing for automation and adaptation to new data or circumstances.
88

9-
2. Explain the types of machine learning.
10-
11-
3. What is the difference between supervised and unsupervised learning?
12-
9+
### 2. Explain the types of machine learning.
10+
**Answer:** Machine learning can be broadly categorized into three main types: supervised learning, unsupervised learning, and reinforcement learning.
11+
Supervised Learning:
12+
Supervised learning involves training a model on a labeled dataset, where each input data point is associated with a corresponding target variable. The goal is to learn a mapping function from input to output, enabling the model to make predictions on unseen data. Supervised learning tasks can be further divided into regression and classification. In regression, the target variable is continuous, and the goal is to predict a numerical value (e.g., predicting house prices). In classification, the target variable is categorical, and the goal is to classify input data into predefined classes or categories (e.g., classifying emails as spam or non-spam).
13+
Unsupervised Learning:
14+
Unsupervised learning involves training a model on an unlabeled dataset, where the algorithm must identify patterns or structures in the data without explicit guidance. Unlike supervised learning, there are no predefined target variables, and the model must learn to represent the underlying structure of the data. Common unsupervised learning tasks include clustering, where the algorithm groups similar data points together, and dimensionality reduction, where the algorithm reduces the number of features or variables while preserving important information.
15+
16+
These types of machine learning algorithms form the foundation of various applications across different domains, enabling computers to learn from data and make intelligent decisions or predictions autonomously.
17+
18+
### 3. What is the difference between supervised and unsupervised learning?
19+
**Answer:**
20+
Supervised learning involves training a model on a labeled dataset, where the input data is accompanied by corresponding output labels. The goal is to learn a mapping function from input to output based on the provided examples, allowing the model to make predictions on new data. Common tasks in supervised learning include classification and regression.
21+
22+
Unsupervised learning, on the other hand, deals with unlabeled data, where the algorithm is tasked with discovering patterns or structures in the data without explicit guidance. The objective is to find hidden patterns, group similar data points, or reduce the dimensionality of the dataset. Clustering and dimensionality reduction are typical tasks in unsupervised learning.
23+
1324
4. Can you give examples of supervised and unsupervised learning algorithms?
1425

1526
5. What is the difference between regression and classification?

0 commit comments

Comments
 (0)