Open alexgcsa opened 5 years ago
Include this in classifiers brings the same problem with other features added to them: classifiers are now responsible for a large number of different tasks (train, apply, cross validate, etc).
I'll try to fix the current implementation
Oh, man, there is no way to fix it besides the way you mentioned. It used to require a algorithm that is not available anymore.
Changed the behavior. Now there is an option in classification algorithms to enable this. Please, test different situations, such as multi label classifiers, input data with exactly 2 classes and more classes, etc.
It has not fully worked yet. Testing here GBT with one-vs-all turned on for the dataset Iris.
id: 544 tested on: https://lemonade.ctweb.inweb.org.br
_Detalhe do erro (avançado)
Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_544_544_2699.py", line 758, in main
task_futures['b7ca4c66-0a2c-44a1-b96e-6ddd7cb7c298'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, *self.kwargs)
File "/tmp/juicer_app_544_544_2699.py", line 757, in
It worked well for linear SVM classifier, but not for GBT.
SVM workflow: 546
I also tested all other multi-class classifiers (Decision tree, Logistic regression, Naïve Bayes, Multi-layer perceptron and Random Forest) with one-vs-rest activated. All worked fine.
The only issue is on GBT.
Tested. Waiting for new updates. Specifically, GBT classifier is not working.
@zilton
@alexgcsa - Hi , Any updates on this issue.? I am using spark2.4.0 and am getting the same error as you.
Currently, it is not working.
It would be better if binary classifiers (e.g., the current version of Support Vector Machines) include this as a subroutine to support multiclass problems.