0% found this document useful (0 votes)
16 views

Machine Learning Question Paper Set 1

The document contains a series of multiple-choice questions (MCQs) related to machine learning, Python libraries, and data handling techniques. It also includes practical tasks that require data cleaning, exploratory data analysis (EDA), and model evaluation using datasets such as iris.csv and house price.csv. Additionally, it covers topics like feature scaling, transfer learning, and data visualization methods.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Machine Learning Question Paper Set 1

The document contains a series of multiple-choice questions (MCQs) related to machine learning, Python libraries, and data handling techniques. It also includes practical tasks that require data cleaning, exploratory data analysis (EDA), and model evaluation using datasets such as iris.csv and house price.csv. Additionally, it covers topics like feature scaling, transfer learning, and data visualization methods.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Multiple Choice Questions (MCQ)

1. Pandas full form?


A) pandas
B) panel data
C) pan data as set
D) None

2. What is the purpose of feature scaling in machine learning?


A) To make features more understandable
B) To improve model performance and convergence
C) To remove irrelevant features
D) To increase the number of features

3. Which library is commonly used for numerical computations in Python?


A) Pandas
B) NumPy
C) Matplotlib
D) Seaborn

4. Which algorithm is suitable for regression tasks?


A) Decision Trees
B) Naive Bayes
C) K-Means clustering
D) Linear Regression

5. What is the primary purpose of the training set in machine learning?


A) To validate the model
B) To test the model's performance
C) To train the model
D) To visualize the data

6. In Python, which library is used for creating visualizations?


A) Pandas
B) Matplotlib
C) NumPy
D) Scikit-Learn

7. How many types Machine learning was classified?


A) 2
B)3
C)5
D)none

8. Which of the following is not a data type in python?


A) Numpy
B) Boolean
C) Set
D) String

9. Which of the following is mutable data type?


A) set
B) list
C) string
D) tuple
10. What is transfer learning in machine learning?
A) Training a model on multiple tasks simultaneously
B) Using pre-trained models and fine-tuning them for a specific task
C) Transferring data from one dataset to another
D) Modifying the model architecture during training.

11. Which one of the following is faster compared with arrays?


A) List
B) Numpy
C) Both
D) None

12. String S = ‘coding club’. What is the output for S[1:10:2]?


A) oigcu
B) cdn l
C) coding clu
D) club coding

13. which is the unsupervised learning type?


A) Regression
B) Clustering
C) Classification
D) Both A and B

14.Full form of NUMPY is?


A) Number Python
B) Numerical Python
C) Natural Unit Member Python
D) None

15. What is the primary goal of machine learning?


A) To write efficient algorithms
B) To learn from data and improve performance
C) To automate all human tasks
D) To replace human intelligence

16. What is the purpose of cross-validation in machine learning?


A) To test the model on unseen data
B) To divide the dataset into training and testing sets
C) To validate the model using multiple subsets of the data
D) To visualize the data distribution

17. Which method is used to find particular column has null values in dataset?
A) isnull ()
B) isnull().sum()
C) heatmap
D) All the above.

18 Which method is used to remove null values from dataset?


A) drop the column that has null values
B) fill the column with central tendencies
C) Both A and B
D) None

19.Which of the following is part in function syntax?


A) def
B) Parameters
C) arguments
D) all the above.

20.Which is important for Machine Learning?


A) CSV file
B) JSON file
C) SQL file
D) Data

Answer any three questions.

Q1.

1. Given a dataset in a CSV file (data.csv) containing missing values and categorical variables:

a. Load the dataset into a Pandas DataFrame.

b. Handle missing values using appropriate techniques (such as mean, median, or interpolation).

c. Encode categorical variables using one-hot encoding or label encoding.

(Or)

2. Do Data cleaning, EDA and evaluation on iris.csv dataset.

a. Explain how to import the dataset from Kaggle to the colab notebook.

b. Explain the Data cleaning (ex: handling the missing values, encoding, standardisation)

c. Do visualisation on dataset (plotting)

d. Train and test the model using appropriate algorithm and make predictions.

Q2.

1.Expalin all methods in pandas. And perform those on iris dataset


.
(or)

2. Do Data cleaning, EDA and evaluation on house price.csv dataset.

e. Explain how to import the dataset from Kaggle to the colab notebook.

f. Explain the Data cleaning (ex: handling the missing values, encoding, standardisation)

g. Do visualisation on dataset (plotting)

h. Train and test the model using appropriate algorithm and make predictions.

Q3.

1. explain any 10 visualisations on the titanic dataset. (Ex: bar plot, histplot etc).

(or)
2. Explain Numpy method and Panda’s method (including series and DataFrame).

You might also like