You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning to perform a multi-objective regression analysis task. Based on smile, I plan to bind target variables and feature variables one by one to conduct linear regression analysis and achieve multi-objective regression. I'm having a few problems at the moment, my feature variable is coalProduction and my target variable is every variable in targetColumns, here's my source code
Actual behavior
OLS.fit(formula, dataSplits)throws an exception:IllegalArgumentException: Field coalProduction doesn't exist.
After testing, my object file reads in normally, containing the feature variable coalProduction. So I don't understand this error.
Describe the bug
Expected behavior
I am planning to perform a multi-objective regression analysis task. Based on smile, I plan to bind target variables and feature variables one by one to conduct linear regression analysis and achieve multi-objective regression. I'm having a few problems at the moment, my feature variable is coalProduction and my target variable is every variable in targetColumns, here's my source code
Actual behavior
OLS.fit(formula, dataSplits)
throws an exception:IllegalArgumentException: Field coalProduction doesn't exist.After testing, my object file reads in normally, containing the feature variable coalProduction. So I don't understand this error.
Code snippet
Input data
coalProduction,drainage,industrialUsage,domesticUsage,waterTreatment,waterStorage,discharge
1000,200,150,80,60,70,90
1010,202,152,82,62,72,92
1020,205,155,85,64,74,94
1030,208,158,88,66,76,96
1040,210,160,90,68,78,98
1050,213,162,92,70,80,100
1060,215,165,94,72,82,102
1070,218,168,96,74,84,104
1080,220,170,98,76,86,106
Additional context
The text was updated successfully, but these errors were encountered: