100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

AI Exam 2 Review Questions and and answers

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
25-06-2024
Written in
2023/2024

AI Exam 2 Review Questions and and answers

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
June 25, 2024
Number of pages
8
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

AI Exam 2 Review
Classification
When the output of the hypothesis function is a finite set of values
Regression
When the output of the hypothesis function is a continous value
Skip Ad
Accuracy
(number of correct predictions) / (number of predicitions)
Mean Squared Error




Hypothesis
A function, learned from the training data and a member of the hypothesis space,
that maps inputs to outputs
Bias
The amount by which the output of a hypothesis consistently varies from the true
answer in a particular direction, regardless of the extract training data
Bias refers to a model that is...
underfit
For Linear Regression, what is likely to cause high bias?
Too few training iterations and too few coefficients
Variance
The amount by which the output of a hypothesis randomly varies from the true
answer, when trained on slightly different data sets
Variance refers to a model that is...
overfit
Training set
A set of input-output pair examples, used as input to a machine learning program to
create a hypothesis
Test set
A set of input-output pair examples, used to evaluate the performance of a trained
model
What are indications of overfitting?
Low test accuracy and high train accuracy
What are indications of underfitting?
Low test accuracy and low train accuracy
How do you fight overfitting in kNN models?
Increase the value of k and scale features
How do you fight underfitting in kNN models?

, Decrease the value of k
How do you fight overfitting in linear regression models?
Put bounds on degrees of freedom (regulation)
How do you fight underfitting in linear regression models?
Add more features or polynomial terms to capture nonlinear relationships and
decrease regulation
How do you fight overfitting in decision tree models?
Limit the max depth and increase minimum sample split
How do you fight underfitting in decision tree models?
Increase Model Complexity (depth) and feature engineering
How do you fight overfitting in neural network models?
Regulation and early stopping
How do you fight underfitting in neural network models?
Increase model complexity (more layers, neurons, width of layers) and adjust
learning rate, batch size, and optimizer parameters
Decision Tree Classification
Predicts categorical outcomes, where the target variable is discrete and belongs to a
specific class




Decision Tree Regression
Predicts continous outcome, where the target variable is numeric and can take any
real value within a range




Decision Tree Hyperparameters
max_depth
min_samples_split
min_samples_leaf
max_leaf_nodes
max_features
min_samples_split
min samples a node must have before it can split
min_samples_leaf
min samples a leaf must have
max_features
max number of features evaluated
$7.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DoctorHkane Havard School
Follow You need to be logged in order to follow users or courses
Sold
730
Member since
4 year
Number of followers
168
Documents
22453
Last sold
2 days ago

Explore my Stuvia collection for essential study aids: test banks, exams, summaries, and cases. With five years of expertise as an academic writer, I have honed my skills in crafting top-notch essays, exams, and research dissertations. My proficiency lies in producing well-structured and thoroughly researched content that meets academic standards. I am adept at handling various subjects and ensuring a seamless flow of ideas. Whether it's delivering compelling arguments in essays, creating challenging yet fair exam questions, or delving into in-depth research for dissertations, my experience equips me to excel in diverse academic writing tasks. I pride myself on meeting deadlines and maintaining the highest quality in every piece I produce. REACH ON iamnjokikelvin1@gmail

Read more Read less
4.6

386 reviews

5
308
4
29
3
21
2
10
1
18

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions