Hey Alex.
Just look at the code of the digits dataset. That is really easy.
There is not really much need to create a bunch, though.
You can just handle the data as an array of image and an array of labels.
Hth,
Andy
On 06/12/2013 04:38 AM, Alex Hill wrote:
Hi, List!
I'm trying to find some information on how to package up a data set
like the digits dataset. So I can call it like digits.data or
digits.target.
I have several hundred images of the same size, in directories that
will be the label for the images. I know the digits dataset is a bunch
object, and that I can use imread to transform the image into an
array. Can someone walk me though that process of creating the bunch
object with the arrays and labels?
Thanks!
--Alex
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general