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
Otro

IS424 Lab 2-Classification

Puntuación
-
Vendido
-
Páginas
4
Subido en
08-08-2021
Escrito en
2020/2021

classification lab

Institución
Grado

Vista previa del contenido

Lab 2- Classification
1. After importing the data, assign appropriate role and level to each of the attributes. What
was the role/level of all attributes that you have assigned (a screen shot is enough)?

2. Partition the data into: 50% Train, 0% Validation and 50% Test data. Create 5 Decision
Trees on this partitioned data. Set Maximum Branch (a), Maximum Depth (b) and Leaf Size (c)
to (a, b, c) respectively for the 5 trees as follows: (2, 2, 50); (3, 3, 10); (4, 5, 5); (10, 6, 2); and




(10, 10, 1). Set the assessment measure for all to Misclassification rate. Compare the
performance of these models (based on misclassification rate on train data and test data),
and explain why such a result (the ranking (order) of model performance) was obtained. In
addition show the process flow diagram. (Hint: Consider model complexity).

Misclassification Rate (rounded to 3 decimal places)
Decision tree Train Test
1 0.169 0.173
2 0.154 0.154
3 0.138 0.140
4 0.133 0.141
5 0.133 0.142

➢ Misclassification rate of decision trees ranked from lowest to highest on train data: 5 < 4 < 3 < 2 < 1
➢ Misclassification rate of decision trees ranked from lowest to highest on test data: 3 < 4 < 5 < 2 < 1

Decision trees 1 and 2 appear to underfit the data, while decision trees 4 and 5 appear to overfit the
data. As the models becomes more complex, the models become overfitted. Thus, the decision trees
with higher maximum branch and higher maximum depth seem to do better and have lower
misclassification rates for the train data. However, for the test data, Decision tree 3 appears to
perform the best and has the lowest misclassification error rate among the other models because it
is more balanced and robust.




1

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
8 de agosto de 2021
Número de páginas
4
Escrito en
2020/2021
Tipo
OTRO
Personaje
Desconocido

Temas

$5.99
Accede al documento completo:

¿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

Conoce al vendedor
Seller avatar
nemooutis
1.0
(1)

Conoce al vendedor

Seller avatar
nemooutis Singapore Management University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
4
Miembro desde
4 año
Número de seguidores
3
Documentos
40
Última venta
2 año hace

1.0

1 reseñas

5
0
4
0
3
0
2
0
1
1

Documentos populares

Recientemente visto por ti

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