Fork me on GitHub
Library for MQL5 (MetaTrader) with support for Spark
CForestSerializer Class Reference

Detailed Description

Save and load data for the class CDecisionForest (Alglib).


The documentation for this class was generated from the following file:

Static Public Member Functions

static void toText (CDecisionForest &forest, int hfile)
 Save to the text format Alglib (very slow). More...
 
static bool toText (CDecisionForest &forest, const string filename, const bool common=true)
 Save to the text format Alglib (very slow). More...
 
static void fromText (CDecisionForest &forest, int hfile)
 Load from the text format Alglib (very slow). More...
 
static bool fromText (CDecisionForest &forest, const string filename, const bool common=true)
 Load from the text format Alglib (very slow). More...
 
static void toBinary (CDecisionForest &forest, int hfile)
 Save to the binary format (fast). More...
 
static bool toBinary (CDecisionForest &forest, const string filename, const bool common=true)
 Save to the binary format (fast). More...
 
static void fromBinary (CDecisionForest &forest, int hfile)
 Load from the binary format (fast). More...
 
static bool fromBinary (CDecisionForest &forest, const string filename, const bool common=true)
 Load from the binary format (fast). More...
 

Member Function Documentation

◆ fromBinary() [1/2]

static void CForestSerializer::fromBinary ( CDecisionForest &  forest,
int  hfile 
)
static

Load from the binary format (fast).

◆ fromBinary() [2/2]

static bool CForestSerializer::fromBinary ( CDecisionForest &  forest,
const string  filename,
const bool  common = true 
)
static

Load from the binary format (fast).

◆ fromText() [1/2]

static void CForestSerializer::fromText ( CDecisionForest &  forest,
int  hfile 
)
static

Load from the text format Alglib (very slow).

◆ fromText() [2/2]

static bool CForestSerializer::fromText ( CDecisionForest &  forest,
const string  filename,
const bool  common = true 
)
static

Load from the text format Alglib (very slow).

◆ toBinary() [1/2]

static void CForestSerializer::toBinary ( CDecisionForest &  forest,
int  hfile 
)
static

Save to the binary format (fast).

◆ toBinary() [2/2]

static bool CForestSerializer::toBinary ( CDecisionForest &  forest,
const string  filename,
const bool  common = true 
)
static

Save to the binary format (fast).

◆ toText() [1/2]

static void CForestSerializer::toText ( CDecisionForest &  forest,
int  hfile 
)
static

Save to the text format Alglib (very slow).

◆ toText() [2/2]

static bool CForestSerializer::toText ( CDecisionForest &  forest,
const string  filename,
const bool  common = true 
)
static

Save to the text format Alglib (very slow).