Hi, This should be a numeric map to your domain categories. You should maintain a lookup somewhere between your actual categories identifier and the expected numeric value expected in the algorithm. I ended up hacking my data source to include my original category id identifier .
Regards, Natu On Thu, Jan 19, 2017 at 12:40 PM, Marcus Vinicius <[email protected]> wrote: > Hello guys, > > > i followed all steps to perform text classification by > http://predictionio.incubator.apache.org/demo/textclassification/. > > Now i want to use it to my scenario. I will change DataSource as said in > tutorial, but what is 'label' field? Which double value could i give to it? > > To spam example the author set '1.0' to spam and '0.0' to not spam. > To newsgroup example the author set values like `11.0`, `19.0` > > What the purpose of this field? > > I really appreciate any help you can provide. > > -- > > Marcus Vinicius A. Silva > > *P* *ANTES DE IMPRIMIR pense em sua responsabilidade e compromisso > com o MEIO AMBIENTE.* >
