2012/1/3 Gael Varoquaux <[email protected]>: > On Tue, Jan 03, 2012 at 09:52:28AM +0100, Peter Prettenhofer wrote: >> I just checked DecisionTreeClassifier - it basically requires the same >> amout of memory for its internal data structures (= `X_sorted` which >> is also 60.000 x 786 x 4 bytes). > > Would it be an option to allow sorting in place to avoid the memory copy?
Personally, I wouldn't want to do it but other people might have a different opinion? best, peter > It would be the pattern 'copy=False' that we have in a few places in the > scikit. > > Gael > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general -- Peter Prettenhofer ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
