How to use clssregtree function for a mixture of conitious and categorical explanatory variables?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using classregtree function, i have my explanatory variables as a mixture of categorical and numerical. How can i run classregtree with such data. If i try converting the categorical variables as numbers the function is treating the variables as continious instead of categorical. Please Help!!!
0 comentarios
Respuesta aceptada
Tom Lane
el 26 de Mayo de 2012
You can use the 'categorical' option to tell classregtree which columns to treat as categorical.
2 comentarios
Tom Lane
el 29 de Mayo de 2012
You can use t with other datasets. You can use the save command to save it in a .mat file, along with any other workspace variables you choose to save.
Más respuestas (0)
Ver también
Categorías
Más información sobre Web Services en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!