QMB 3302 Final Verified A+
NLP stands for ️️Natural Language Processing
Tokenization, as defined in the lecture is... ️️a computer turning letters and/or words into
something it can read and understand, like numbers
Recommenders come in many flavors. 2 of the most common, often used...
Tokenization, as defined in the lecture is... ✔️✔️a computer turning letters and/or words into
something it can read and understand, like numbers
Recommenders come in many flavors. 2 of the most common, often used together and discussed in the
lecture are: ✔️✔️1) Item Based
2) User Based
Imagine you have a dataset with 2 columns, both filled with continuous numbers. You believe the first
column is a predictor of the second column. Which of the model approaches could work when building a
model? ✔️✔️Random Forest
Decision Trees
Regression
Decision trees have a few problems, you should probably review those for the final exam! The problem
we talked about the most is: ✔️✔️Overfitting
A straight line fit is the model of the form y = ax + b, where a is commonly known as the _____, and b is
commonly known as the _____ ✔️✔️slope, intercept
The LinearRegression estimator is only capable of simple straight line fits. ✔️✔️False
What are the 5 steps to building a machine learning model? ✔️✔️1. Choose a class of model
2. Choose hyperparameters
3. Arrange data
4. Fit the model
, 5. Predict
What is the purpose of the below code?
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np ✔️✔️Import python packages
Choosing a class of model.
Your dataset consists of details about customer traits, such as "number of items in basket at checkout"
and "time of day at checkout". Your task is to group customers that are like each other together. You
don't already have labeled customer types. What kind of model are you building? ✔️✔️Unsupervised
model (such as K means)
What is ONE reason the textbook lists for why a Linear regression is a good starting point in a modeling
task. ✔️✔️They are interpretable
What type of classifier is a random forest? ✔️✔️Non-parametric
What are random forests an example of? ✔️✔️Ensemble method
What does a decision tree do? ✔️✔️Classify objects by asking a series of questions
How does a well-constructed decision tree operate? ✔️✔️Each question cuts the number of options
by approximately half
Pipelines are useful (in the analytics with Python sense) for the following reasons? ✔️✔️Pipelines
make it easy to repeat/replicate steps and run multiple models;
Pipelines help organize the code you used to clean and treat your data;
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller CertifiedGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £7.80. You're not tied to anything after your purchase.