|
@@ -406,7 +406,7 @@ void FPCRandomForests::restore(istream & is, int format)
|
|
{
|
|
{
|
|
is >> index;
|
|
is >> index;
|
|
DecisionTree *dt = new DecisionTree ( conf, maxClassNo );
|
|
DecisionTree *dt = new DecisionTree ( conf, maxClassNo );
|
|
- dt->restore ( is );
|
|
|
|
|
|
+ dt->restore ( is, format );
|
|
if ( minimum_entropy != 0.0 )
|
|
if ( minimum_entropy != 0.0 )
|
|
dt->pruneTreeEntropy ( minimum_entropy );
|
|
dt->pruneTreeEntropy ( minimum_entropy );
|
|
|
|
|