Machine Learning Textbook Flashcards
How would you define Machine Learning?
building systems that can learn from data. Learning means getting better at some task, given some performance measure.
Can you name four problems where Machine learning shines?
Machine learning is great for complex problems for which we have no algorithmic solution, to replace long lists of hand-tuned rules, to build systems that adapt to fluctuating environments, and finally to help humans learn(eg data mining)
What is a labeled training set?
raining set that contains the desired solution (aka label) for each instance.
What are the two most common supervised learning tasks?
regression and classification
Can you name four common unsupervised learning tasks?
clustering, visualization, dimensionality reduction, association rule learning.
What type of MLE algorithm would you use to walk in various terrains?
Reinforcement learning
What type of algorithm would you use to segment your customers into multiple groups?
not defined = clustering
defined = classification
Would you frame the problem of spam detection as a supervised learning problem or an unsupervised learning problem?
supervised learning problem: the algorithm is fed many emails ( spam not spam)
What is an online learning system?
the online learning system can learn incrementally
as a opposed to batch learning system.
This makes it capable of adapting rapidly to both changing data and autonomous systems and training on large quantities of data.
what is out-of-core learning?
handle vast quantities of data the cannot fit into a computer’s main memory. An out-of-core learning algorithm chops the data into mini-batches and uses online learning techniques to learn from these mini-batches.
What type of learning algorithm relies on similarity measures to make predictions?
learns the training data by heart; then, when given a new instance, it uses a similarity measure to find the most similar learned instances and uses them to make predictions.
What is the difference between a model parameter and a learning algorithm hyperparameter?
model has one or more parameters that determine
what it will predict given new instance (ie slope)
A hyperparameter is a parameter of the learning algorithmic self, not of the model. (eg the amount of regularization to apply)
What do model-based learning algorithms search for? What is the most common strategy they use to succeed?
model-based learning algorithms search for optimal value for the model parameters so the model will generalize to new instances.
We Train this by minimizing a cost function, plus a penalty for model complexity if it is regularized.
Can you name the four main challenges of machine learning?
the lack of data, poor data quality, nonrepresentative data, uninformative features, excessively simple models that underfit the training data, and excessively complex models that overfit the data.
If your model performs great on training data but generalizes poorly to instances, what is happening? Can you name three possible solutions?
the model is likely overfitting the training data. solutions: getting more data, simplifying the model (selecting a simpler algorithm, reducing the number of parameters or features used, or regularizing the model), or reducing the noise in the training data.