2012/5/15 Mathieu Blondel <[email protected]>: > > > On Tue, May 15, 2012 at 11:59 PM, David Warde-Farley > <[email protected]> wrote: >> >> >> I haven't had a look at these classes myself but I think working with raw >> NumPy arrays is a better idea in terms of efficiency. > > > Since it abstracts away the data representation, SequentialDataset is useful > if you want to support both dense and sparse representations in your MLP > implementation. > > Mathieu >
Hi everybody, sorry for my late reply - Mathieu is correct: The only purpose of SequentialDataset is to create a common interface to both dense and sparse representations. It is pretty much tailored to the needs of the SGD module (as Andy already pointed out). I think if you want to support both dense and sparse data you'll have to think about such an abstraction eventually. Maybe its a good idea to start with a dense implementation and then we could try to refactor it to support both dense and sparse inputs using a suitable abstraction. best, Peter > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general > -- Peter Prettenhofer ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
