Fitrnet having assignment size errors
显示 更早的评论
I am trying to create a neural network using fitrnet and a dataset that is 1000x24. I am trying to use cvpartition to split the dataset into 80% training and 20% test. However, when doing so, I regularly get an error in the "RegressionChainEnsemble.m" file on line 140 saying "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side." This happens every time when using 80% on cvpartition but does not when I lower the percent down to around 50%. Does anyone know how to help with this?
Follow on question: when I have trained a model with fitrnet, how do I then pass in predictor variable values? For example, I would like to pass in a set of input data to get the 14 response variable values. Thanks!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!