brian-j-smith / MachineShop

MachineShop: R package of models and tools for machine learning
https://brian-j-smith.github.io/MachineShop/
62 stars 10 forks source link

neural network with mnist #8

Closed ykocaturk closed 1 year ago

ykocaturk commented 1 year ago

Hi, The model gives an error in the neural network operation of the mnist data. Could the model not work in the multi-factor target variable? thanks.

brian-j-smith commented 1 year ago

NNetModel can be used with target variables that have been coded as a factor (2 or more levels) in the data being analyzed. Coding of factor target/response variables is described in the user guide and further illustrated in the Iris example.

If you are still having the issue after following the documentation links, then we would need the precise error message and a minimal example that can be run by others to help diagnose and resolve the error.