Evaluate generalized linear model with categorical variables
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alessandro Tribuzio
el 16 de Jul. de 2017
Editada: Alessandro Tribuzio
el 16 de Jul. de 2017
I'm using Matlab 2016a and I'm experiencing some issues with it: I have estimated a generalized linear model using categorical variables; however, I don't know how to evaluate it on unseen data, since the function glmval takes as inputs only vectors and matrices... How can I circumvent the problem? I would try to write a function for doing this by myself, but I think that it will take me ages... Maybe a clever written line of code that relates my input dataset ds with the table in mdl.Coefficients.Estimate will do the work, but I don't really know how to achieve this...
0 comentarios
Respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!