• ¿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 2 fuera de 6 páginas
Otro

Homework 4 QA

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

The paper provides an in-depth understanding of binary classification, decision trees, probability, classifiers, and categorical variables. Besides, it explains autocorrelation, autocovariance, and logistic regression

Vista previa del contenido

Running head: COMPUTER SCIENCE 1




Homework 4 QA

Name

Institution

, COMPUTER SCIENCE 2


Homework 4 QA

1. For a binary classification, describe the possible values of entropy. On what conditions

does entropy reach its minimum and maximum values?


Entropy has two value, 0 and 1. A perfect model has a value of 0 whereas 1 signifies a

high loss value. To attain a maximum value in entropy, the random variable should be uniformly

distributed while to obtain a minimum value, the random value should be constant.

2. In a decision tree, how does the algorithm pick the attributes for splitting?


Splitting means diving a node into sub nodes. According to Rajesh (2018), algorithms

pick the attribute for splitting by either finding out the statistical significance between the

differences between sub-nodes and parent node when performing two or by calculating the

entropy of parent node or by calculating the variance for each node. The attributes to spilt are

chosen from the lowest values compared to parent node.

3. John went to see the doctor about a severe headache. The doctor selected John at random

to have a blood test for swine flu, which is suspected to affect 1 in 5,000 people in this

country. The test is 99% accurate, in the sense that the probability of a false positive is

1%. The probability of a false negative is zero. John's test came back positive. What is

the probability that John has swine flu?


Let P(D) be the probability John has swine flue

Let P(T) be the probability of a positive test.

According to Bayes theorem

P(D|T) = P(T|D) P(D) / P(T)=

P(D|T) = P(T|D) P(D) / (P(T|D) P(D) + P(T|ND) P(ND))

Información del documento

Estudio
Desconocido
Subido en
7 de enero de 2023
Número de páginas
6
Escrito en
2021/2022
Tipo
Otro
Personaje
Desconocido
$5.19

¿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.
TutorDenis
4.0
(3)
Vendido
12
Seguidores
8
Artículos
832
Última venta
2 meses 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