• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Otro

Dsci 100 Final Exam Study Guide

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

DSCI 100 FINAL EXAM STUDY GUIDE

Vista previa del contenido

DSCI 100 FINAL EXAM STUDY GUIDE

Underfitting in classification - Answers - Increased number of neighbours means that
more observations are influencing the classification. This smooths out the boundaries
between each class, so the model isn't influenced enough by the training data.

Underfitting in KNN regression - Answers - Increased K values means that more
observations are influencing the regression line, which can cause the line to become
flat. Since the regression no longer follows the training observations, accuracy in
predicting training datapoints decreases.

Overfitting in classification - Answers - Decreased number of neighbours means that
fewer observations are influencing the classification. This makes the boundaries
between classes more jagged and complex, so the model is influenced too much by the
training data. The classifier will just match new observations to the closest neighbour in
the training data set, resulting in high accuracy.

Overfitting in KNN regression - Answers - Decreased K values means that fewer
observations are influencing the regression line, which can cause the line to simply
follow the training data points. Since the regression is perfectly following the training
observations, accuracy in predicting training datapoints increases.

Creating confidence intervals - Answers - bootstrap_means |>
select(mean) |>
pull() |>
quantile(c(0.025, 0.975))

Bootstrapping (concept) - Answers - Given a single sample from a population, you take
a single observation from this sample, record it, then return it to the sample. This is
sampling with replacement. This should be repeated until the bootstrap sample is the
same size as the original sample. Now, you should be able to calculate the mean or
proportion from the bootstrap sample. These steps should be repeated many times to
form a bootstrap distribution of means or proportions. This will provide an estimate of
the population parameter, and should resemble the sampling distribution spread.

KNN regression - Answers - - Used to infer a quantitative measurement of a new
observation based on existing observations
- Relatively simple and intuitive, doesn't require much info about the relationship in
advance (can be used on non-linear relationships), can be used for binary or multi-
variable relationships
- Takes a long time for large data sets, performs poorly with many different predictors or
if classes are unbalanced
- Splits data into training and testing data
- Training data can be split further to use cross-validation, which allows you to
determine the best K value to use (determine which one has the highest accuracy)

Información del documento

Subido en
11 de junio de 2026
Número de páginas
4
Escrito en
2025/2026
Tipo
Otro
Personaje
Desconocido
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(376)
Vendido
2221
Seguidores
1450
Artículos
62698
Última venta
1 día hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes