Re: [Mulan-list] Problem with float target
Brought to you by:
stevelaskaridis,
tsoumakas
|
From: <bo...@uc...> - 2018-05-10 15:17:06
|
Hol@!
El error es el formato del número. Parece que el dataset no es compatible con el algoritmo que estas usando. Vos por qué usas etiquetas float con algoritmos de clasificacion?. Float en la etiqueta es regresión no clasificación. En el error se ve que usas el labelPowerset ese algoritmo es con etiquetas binarias 0 y 1. Prueba con algoritmos de regresion multietiqueta, están en el paquete mulan.regressor.transformation.
Saludos.
Beatriz Ortega Valdés
5to Año Ciencia de la Computación
Universidad de Las Villas
Santa Clara, Villa Clara, Cuba
----- Mensaje original -----
De: Enrique Marcelo Albornoz via Mulan-list <mul...@li...>
Para: mul...@li...
CC: Enrique Marcelo Albornoz <ema...@si...>
Enviado: Mon, 07 May 2018 17:51:37 -0400 (CDT)
Asunto: [Mulan-list] Problem with float target
Hi!
I am trying to run the "MulanExp2.java" example using the andro.arff.
I have created the corresponding xml file.
When I try, there is a problem because the targets (6 classes) are float.
How can I run this example using these data (real data target)?
Thank you
Marcelo.-
This is the error:
Exception in thread "main" java.lang.NumberFormatException: empty String
at
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at
mulan.transformations.LabelPowersetTransformation.transformInstances(LabelPowersetTransformation.java:69)
at
mulan.classifier.transformation.LabelPowerset.buildInternal(LabelPowerset.java:123)
at
mulan.classifier.MultiLabelLearnerBase.build(MultiLabelLearnerBase.java:81)
at mulan.classifier.meta.RAkEL.updateClassifier(RAkEL.java:292)
at mulan.classifier.meta.RAkEL.buildInternal(RAkEL.java:246)
at
mulan.classifier.MultiLabelLearnerBase.build(MultiLabelLearnerBase.java:81)
at MulanExp2.main(MulanExp2.java:22)
--
Dr. Enrique Marcelo Albornoz
Research Assistant
sinc(*i*), FICH-UNL/CONICET, Santa Fe, Argentina
www.sinc.unl.edu.ar | Tel: +54 (342) 4575233 ext 191
|