Decision/exploration tree as a result of a ETree-Miner data-mining task
inherits from
Hypothesis
namespace:
lm.tasks.results
Constructor
No constructor available. Objects of this class could not be instantiated from Lua scripts.
Properties List
| FrequencyClass |
number of objects with the most frequent class in each leaf |
| FrequencyTotal |
Number of objects this hypothesis covers |
| ID |
Unique identifier (primary key) of the object |
| Order |
Order-index of this hypothesis |
| Quality |
Quality of the tree as a ratio of FrequencyClass to FrequencyTotal |
| Task |
the Task, this hypothesis belongs to |
| Text |
Textual representation of this hypothesis |
| TextHTML |
HTML representation of this hypothesis |
| Weight |
Property used for storing eg. primary interest measure value for LM ReverseMiner |
Methods List
Properties
FrequencyClass (read-only) : float
-
number of objects with the most frequent class in each leaf
FrequencyTotal (read-only) : float
-
Number of objects this hypothesis covers
ID (read-only) : integer
-
Unique identifier (primary key) of the object
Intherited from: LMWrap
Order : integer
-
Order-index of this hypothesis
Intherited from: Hypothesis
Quality (read-only) : float
-
Quality of the tree as a ratio of FrequencyClass to FrequencyTotal
Task (read-only) : Task
-
the Task, this hypothesis belongs to
Intherited from: Hypothesis
Text (read-only) : string
-
Textual representation of this hypothesis
Intherited from: Hypothesis
TextHTML (read-only) : string
-
HTML representation of this hypothesis
Intherited from: Hypothesis
Weight : float
-
Property used for storing eg. primary interest measure value for LM ReverseMiner
Intherited from: Hypothesis
Methods
createDerivedDataColumn()
-
Creates a new derived DataColumn with values representing class indexes based on this hypothesis decision tree results (i.e. the value for each row will be the zero-based index of the class category this row was classified into)
Parameters
-
luaTable - to store named parameters
Optional named parameters
-
name : string - name of the newly created derived DataColumn
getFrequencyClass() : integer
-
Returns the value of FrequencyClass property
Returns
getFrequencyTotal() : integer
-
Returns the value of FrequencyTotal property
Returns
getID() : integer
-
Returns unique identifier (primary key) of the object
Intherited from: LMWrap
Returns
getOrder() : integer
-
Returns the value of Order property
Intherited from: Hypothesis
Returns
getQuality() : float
-
Returns the value of Quality property
Returns
getTask() : Task
-
Returns the Task this hypothesis belongs to, the value of Task property
Intherited from: Hypothesis
Returns
getWeight() : float
-
Returns the value of Weight property
Intherited from: Hypothesis
Returns
checkMutualInfluence() : integer
-
Returns a type of relationship between hypothesis and given mutual influence, see HypothesisMutualInfluenceRelationship codes
Intherited from: Hypothesis
Parameters
-
luaTable - to store named parameters
Obligatory named parameters
-
pMutualInfluence : MutualInfluence - the Mutual influence to which compare this hypothesis
Returns
prepareFTPartialCedentArray() : luaTable
-
Returns array of FTPartialCedents, partial cedents of a given type in this hypothesis
Intherited from: Hypothesis
Parameters
-
luaTable - to store named parameters
Obligatory named parameters
-
nCedentTypeCode : integer - CedentType code to identify the whole cedent partial cedent array to prepare
-
nActionStateCode : integer - ActionState code to differentiate between stable and variable parst of antecedent and succedent in Ac4ft-Miner tasks
Returns
setOrder( integer )
-
Sets the value of Order property
Intherited from: Hypothesis
Parameters
setWeight( float )
-
Sets the value of Weight property
Intherited from: Hypothesis
Parameters