Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 14 subjective questions Machine Learning Packages in Python

ECAP792 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define data import in Python. Explain how a CSV file can be imported using Pandas.

  2. Question 2 of 20

    Describe how data can be imported from CSV, Excel, and JSON files in Python. Compare the functions used for these formats.

  3. Question 3 of 20

    Explain the importance of inspecting and validating a dataset immediately after importing it.

  4. Question 4 of 20

    What is Matplotlib? Describe its role in data visualization and explain the purpose of pyplot.

  5. Question 5 of 20

    Describe the main components of a Matplotlib figure and distinguish between a figure and an axes object.

  6. Question 6 of 20

    Explain how to create and customize a simple line plot in Matplotlib. Include a suitable example.

  7. Question 7 of 20

    What is a scatter plot? Explain how it helps identify relationships between two numerical variables.

  8. Question 8 of 20

    Distinguish between a line plot and a scatter plot. State an appropriate use case for each.

  9. Question 9 of 20

    Explain how multiple data series can be displayed in one Matplotlib plot and how they should be made distinguishable.

  10. Question 10 of 20

    Describe the purpose of subplots in Matplotlib and explain how a subplot arrangement can be created.

  11. Question 11 of 20

    What is Seaborn? Explain how it extends Matplotlib for statistical data visualization.

  12. Question 12 of 20

    Compare Matplotlib and Seaborn with respect to abstraction, customization, default appearance, and typical use.

  13. Question 13 of 20

    Explain the use of the hue, style, and size parameters in a Seaborn scatter plot.

  14. Question 14 of 20

    Define a heatmap and describe the types of information that can be represented using it.

  15. Question 15 of 20

    Explain how to construct and interpret a correlation heatmap using Pandas and Seaborn.

  16. Question 16 of 20

    What is Scikit-learn? Describe the major machine-learning tasks and utilities supported by the package.

  17. Question 17 of 20

    Describe the standard workflow for building a supervised machine-learning model using Scikit-learn.

  18. Question 18 of 20

    Explain the purpose of training and testing datasets. Show how train_test_split is used in Scikit-learn.

  19. Question 19 of 20

    Explain the fit, predict, and score methods in the Scikit-learn estimator interface.

  20. Question 20 of 20

    Design an end-to-end Python workflow that imports a dataset, explores it visually, trains a Scikit-learn model, and evaluates the result.

That's unit 14

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.