LISp-Miner Control Language Reference, version: 27.18.15 of 2 Mar 2022

Class HypothesisCF

CF-pattern as a result of a CF-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

CFAttributeSetting  the CFAttributeSetting, this hypothesis is based upon
ID  Unique identifier (primary key) of the object
Order  Order-index of this hypothesis
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

getCFAttributeSetting () Returns the CFAttributeSetting, the attribute settings this hypotheis is based upon, the value of CFAttributeSetting property
getCFQuantifierValue () Returns the interest measure for the given CFQuantifierSetting
getFrequency () Returns the frequency value from histogram for a category given by index-parameter
getHistogramCategoryCount () Returns the size of this CF-hypothesis histogram (number of frequencies of categories)
getID () Returns unique identifier (primary key) of the object
getOrder () Returns the value of Order property
getTask () Returns the Task this hypothesis belongs to, the value of Task property
getWeight () Returns the value of Weight property
checkMutualInfluence () Returns a type of relationship between hypothesis and given mutual influence, see HypothesisMutualInfluenceRelationship codes
prepareFTPartialCedentArray () Returns array of FTPartialCedents, partial cedents of a given type in this hypothesis
setOrder () Sets the value of Order property
setWeight () Sets the value of Weight property

Properties

CFAttributeSetting  (read-only) : CFAttributeSetting
the CFAttributeSetting, this hypothesis is based upon
ID  (read-only) : integer
Unique identifier (primary key) of the object
Intherited from: LMWrap
Order : integer
Order-index of this hypothesis
Intherited from: Hypothesis
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

getCFAttributeSetting() : CFAttributeSetting
Returns the CFAttributeSetting, the attribute settings this hypotheis is based upon, the value of CFAttributeSetting property

Returns

getCFQuantifierValue()
Returns the interest measure for the given CFQuantifierSetting

Parameters

  • luaTable - to store named parameters

Obligatory named parameters

  • pCFQuantifierSetting : CFQuantifierSetting - for which to compute interest measure for this hypothesis
getFrequency()
Returns the frequency value from histogram for a category given by index-parameter

Parameters

  • luaTable - to store named parameters

Obligatory named parameters

  • nCategory : integer - an index of category to return the frequency for
getHistogramCategoryCount() : integer
Returns the size of this CF-hypothesis histogram (number of frequencies of categories)

Returns

  • integer - number of categories in histogram
getID() : integer
Returns unique identifier (primary key) of the object
Intherited from: LMWrap

Returns

  • integer
getOrder() : integer
Returns the value of Order property
Intherited from: Hypothesis

Returns

  • integer
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

  • float
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

  • luaTable
setOrder( integer )
Sets the value of Order property
Intherited from: Hypothesis

Parameters

  • integer
setWeight( float )
Sets the value of Weight property
Intherited from: Hypothesis

Parameters

  • float