Description Usage Format Source Examples
Simulated example about predicting a bank's decision to give a loan to customer for buying a car.
1 | data("arboleje")
|
A data frame with 25 observations on the following 7 variables.
Sexoa factor indicaing the customer's gender with levels Hombre Mujer
Familiaa numeric vector indicating the number of members in the family
CasaPropiaa factor with levels No Si
AnosEmpleoa numeric vector indicating the years of employment
Sueldoa numeric vector indicating the monthly salary
StatusMaritala factor with levels Casado Divorciado Soltero Viudo
Prestamoa factor indicating the bank's with levels No Si
Originated by EDgar Acuna
1 2 3 |
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
n= 25
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 25 10 Si (0.4000000 0.6000000)
2) Sueldo>=3275 7 2 No (0.7142857 0.2857143) *
3) Sueldo< 3275 18 5 Si (0.2777778 0.7222222) *
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.