Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 1 fuera de 2 páginas
Otro

Georgia Tech: ISYE 6501/ ISYE6501 Homework Week 4 (answered 100% latest Summer 2026/27.)

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

Georgia Tech: ISYE 6501/ ISYE6501 Homework Week 4 (answered 100% latest Summer 2026/27.) WEEK 4 HOMEWORK Question 9.1 Using the same crime data set as in Question 8.2, apply Principal Component Analysis and then create a regression model using the first few principal components. Specify your new model in terms of the original variables (not the principal components), and compare its quality to that of your solution to Question 8.2. You can use the R function prcomp for PCA. (Note that to first scale the data, you can include scale. = TRUE to scale as part of the PCA function. Don’t forget that, to make a prediction for the new city, you’ll need to unscale the coefficients (i.e., do the scaling calculation in reverse)!) Question 10.1 1. Using the same crime data set as in Questions 8.2 and 9.1, find the best model you can using (a) a regression tree model, and (b) a random forest model. In R, you can use the tree package or the rpart package, and the randomForest package. For each model, describe one or two qualitative takeaways you get from analyzing the results (i.e., don’t just stop when you have a good model, but interpret it too). 2. Get your favorite AI to repeat part 1(b); compare its answer with yours, and judge where each one is better and worse, and (if at all) where each one is wrong. Include the prompt/chat logs in your homework submission, and specify which AI you used.  For this part of the question only, the course AI Use Policy is overridden; for this part, I want you to see what solution the AI gives. For suggestions on how to effectively use AI as a productivity tool for this sort of thing, please see the AI Use Policy (which includes a tutorial on how to use AI) in the Course Information module on Canvas (for Georgia Tech students) or edX (for edX students). Question 10.2 Describe a situation or problem from your job, everyday life, current events, etc., for which a logistic regression model would be appropriate. List some (up to 5) predictors that you might use. Question 10.3 1. Using the GermanCredit data set from regression to find a good predictive model for whether credit applicants are good credit risks or not. Show your model (factors used and their coefficients), the software output, and the qualityof fit. You can use the glm function in R. To get a logistic regression (logit) model on data where the response is either zero or one, use family=binomial(link=”logit”) in your glm function call. 2. Because the model gives a result between 0 and 1, it requires setting a threshold probability to separate between “good” and “bad” answers. In this data set, they estimate that incorrectly identifying a bad customer as good, is 5 times worse than incorrectly classifying a good customer as bad. Determine a good threshold probability based on your model.

Vista previa del contenido

WEEK 4 HOMEWORK

Question 9.1

Using the same crime data set uscrime.txt as in Question 8.2, apply Principal Component Analysis
and then create a regression model using the first few principal components. Specify your new model in
terms of the original variables (not the principal components), and compare its quality to that of your
solution to Question 8.2. You can use the R function prcomp for PCA. (Note that to first scale the data,
you can include scale. = TRUE to scale as part of the PCA function. Don’t forget that, to make a
prediction for the new city, you’ll need to unscale the coefficients (i.e., do the scaling calculation in
reverse)!)

Question 10.1

1. Using the same crime data set uscrime.txt as in Questions 8.2 and 9.1, find the best model you
can using
(a) a regression tree model, and
(b) a random forest model.
In R, you can use the tree package or the rpart package, and the randomForest package. For
each model, describe one or two qualitative takeaways you get from analyzing the results (i.e., don’t just
stop when you have a good model, but interpret it too).


2. Get your favorite AI to repeat part 1(b); compare its answer with yours, and judge where each one is
better and worse, and (if at all) where each one is wrong. Include the prompt/chat logs in your
homework submission, and specify which AI you used.
• For this part of the question only, the course AI Use Policy is overridden; for this part, I
want you to see what solution the AI gives. For suggestions on how to effectively use AI as a
productivity tool for this sort of thing, please see the AI Use Policy (which includes a tutorial
on how to use AI) in the Course Information module on Canvas (for Georgia Tech students)
or edX (for edX students).


Question 10.2

Describe a situation or problem from your job, everyday life, current events, etc., for which a logistic
regression model would be appropriate. List some (up to 5) predictors that you might use.


Question 10.3

1. Using the GermanCredit data set germancredit.txt from
http://archive.ics.uci.edu/ml/machine-learning-databases/statlog/german / (description at
http://archive.ics.uci.edu/ml/datasets/Statlog+%28German+Credit+Data%29 ), use logistic
regression to find a good predictive model for whether credit applicants are good credit risks or
not. Show your model (factors used and their coefficients), the software output, and the quality

Información del documento

Subido en
22 de junio de 2026
Número de páginas
2
Escrito en
2025/2026
Tipo
Otro
Personaje
Desconocido
$16.79

¿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.
MindCraft
3.8
(47)
Vendido
368
Seguidores
7
Artículos
2789
Última venta
13 horas 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