1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning vs Deep Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Machine Learning vs Deep Learning

  • 30Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

When did AI first arise, and what was its original goal?

Tap to flipClick to flipspace

AI arose in the 1950s and 1960s to simulate human decisions and judgment.

Or swipe the card

30 cards

  1. When did AI first arise, and what was its original goal?

    AI arose in the 1950s and 1960s to simulate human decisions and judgment.

  2. What was the name of the early AI program that simulated a therapist?

    Eliza.

  3. According to the tutorial, what is AI fundamentally composed of?

    Just code and data; there is no magic involved.

  4. What is an expert system, and when were they popular?

    Expert systems are AI systems that use human-generated rules to make predictions. They were very popular in the 1980s.

  5. In the weather prediction example, what was the baseline rule (naive prediction) for tomorrow's temperature?

    Predicting that tomorrow's temperature will be the same as today's temperature.

  6. What metric was used to evaluate prediction accuracy in the weather example?

    Mean Absolute Error (MAE) — the average of the absolute differences between predicted and actual values.

  7. What was the MAE of the naive prediction (predicting today's temperature for tomorrow)?

    3.28 degrees Fahrenheit.

  8. What was the MAE of the expert system using rules from human experts?

    3.05 degrees Fahrenheit.

  9. How does supervised machine learning differ from expert systems?

    In supervised ML, an algorithm automatically generates rules from data, whereas expert systems require humans to create the rules.

  10. What is unsupervised machine learning?

    Unsupervised ML gives the algorithm data and it finds patterns without a specific prediction target.

  11. Describe the decision tree example used in the tutorial for an R-rated movie. What are the two criteria?

    1. Age (under 17?) → if under 17, check if with adult. 2. Has enough money (20)?Result:letinonlyifover17andhas20)? Result: let in only if over 17 and has 20)?Result:letinonlyifover17andhas20, or under 17 with adult.
  12. What is the equation for linear regression?

    y=mx+by = mx + by=mx+b (simple) or y=m1x1+m2x2+...+by = m_1x_1 + m_2x_2 + ... + by=m1​x1​+m2​x2​+...+b (multiple).

  13. In linear regression, what do the terms mmm and bbb represent?

    mmm is the slope (weight), bbb is the y-intercept (bias).

  14. What library was used to train a linear regression model in the tutorial?

    scikit-learn (imported as from sklearn.linear_model import LinearRegression).

  15. Why should a model be evaluated on data different from the training data?

    To ensure the model learns general rules that apply to new data, avoiding overfitting (like memorizing answers in an open-book test).

  16. What were the learned coefficients for the simple linear regression model using today's temperature to predict tomorrow's?

    m=0.81m = 0.81m=0.81, b=12.5b = 12.5b=12.5 (approximately).

  17. What was the MAE of the simple linear regression model?

    2.92 degrees Fahrenheit.

  18. How did adding rain as an additional predictor affect the linear regression model?

    The MAE decreased from 2.92 to 2.89; the coefficient for rain was negative (-1.53), indicating rainy days lead to cooler temperatures.

  19. What is feature engineering?

    Creating new input columns (features) from existing data to help the algorithm make better predictions.

  20. What two engineered features were added to improve the weather prediction model?

    1. Average temperature over the past 7 days. 2. Ratio of today's temperature to that average.
  21. What was the MAE after adding these two engineered features?

    2.69 degrees Fahrenheit.

  22. What is the key advantage of deep learning over traditional machine learning?

    Deep learning automatically engineers features (via hidden layers) and learns rules, reducing the need for manual feature engineering.

  23. What is the core operation inside a neural network?

    Repeated application of linear transformations (weights and biases) and non-linear activation functions.

  24. What does the ReLU activation function do?

    ReLU (Rectified Linear Unit) outputs the input directly if positive, otherwise zero: f(x)=max⁡(0,x)f(x) = \max(0, x)f(x)=max(0,x).

  25. What algorithm is used to automatically find the correct weights and biases in a neural network?

    Gradient descent.

  26. What is a learning rate in deep learning?

    A hyperparameter that controls how much the weights and biases are adjusted during training (step size).

  27. Why are deep learning models sometimes called 'black box' models?

    Because it is difficult to interpret how the model arrives at a prediction, unlike linear regression where coefficients are easily understood.

  28. When is machine learning generally preferred over deep learning?

    For tabular (structured) data like Excel sheets, because ML algorithms can work well with less data and are easier to tune and interpret.

  29. When is deep learning particularly advantageous?

    For unstructured data like text, images, or audio, where the algorithm needs to learn the structure of the data itself.

  30. What are two general drawbacks of deep learning compared to machine learning?

    1. Requires much more data and time. 2. Requires more parameter optimization (finicky).
Card 1 of 30
Card 1 of 30

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent