[scikit-learn] laoding multi-targets

Luigi Lomasto l.lomasto at innovationengineering.eu
Thu Oct 26 05:34:47 EDT 2017


Hi, 

 

I'm writing to ask a question. Can I load a dataset multilabels with
load_files function? For example, I have a dataset like this:

 

folder

               folder1

                              txt1

                              txt2

               folder2

                              txt2

                              txt3

 

So, item txt2 have two labels, folder1 and foder2. How I can load
mutli-targets?

Thanks for answer. Best regards, 

 

Luigi

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20171026/13f96926/attachment.html>


More information about the scikit-learn mailing list