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
The base class upon which all of the tasks are built, has estimation procedure as a mandatory field, with type and parameters. The above issue is happening because the tasks has only 1 input.
Are clustering tasks supposed to have a mandatory estimation procedure field and the above an outlier which should be removed or I should change the implementation.
The easiest fix for the second option, would be to have the common args like that for all the other tasks and to pass none for the estimation procedure for the clustering task, it would defeat the purpose of the base class on the other hand since it does not have the common arguments between all.
Activity
ArlindKadra commentedon Sep 20, 2018
input is not a list but a dictionary.
openml-python/openml/tasks/functions.py
Line 351 in 34c06df
ArlindKadra commentedon Oct 5, 2018
@janvanrijn @mfeurer I am trying to fix the issue above and I have a question regarding the current implementation of tasks.
openml-python/openml/tasks/task.py
Lines 10 to 20 in 811f9ce
The base class upon which all of the tasks are built, has estimation procedure as a mandatory field, with type and parameters. The above issue is happening because the tasks has only 1 input.
Are clustering tasks supposed to have a mandatory estimation procedure field and the above an outlier which should be removed or I should change the implementation.
The easiest fix for the second option, would be to have the common args like that for all the other tasks and to pass none for the estimation procedure for the clustering task, it would defeat the purpose of the base class on the other hand since it does not have the common arguments between all.
mfeurer commentedon Oct 12, 2018
I think removing the estimation procedure from the base class and having it in the
OpenMLSupervisedTaskwould be a clean solution.mfeurer commentedon Dec 3, 2018
Fixed by #541.