Class PrunableLearningConfigurer<T extends LearningConfigurer>
java.lang.Object
com.agenarisk.learning.structure.config.Configurer
com.agenarisk.learning.structure.config.ApplicableConfigurer<T>
com.agenarisk.learning.structure.config.BicLogConfigurer<T>
com.agenarisk.learning.structure.config.LearningConfigurer<T>
com.agenarisk.learning.structure.config.PrunableLearningConfigurer<T>
- Type Parameters:
T
- Actual implementation type of LearningConfigurer
- All Implemented Interfaces:
Configurable
,Loggable
- Direct Known Subclasses:
HcConfigurer
,MahcConfigurer
,TabuConfigurer
public abstract class PrunableLearningConfigurer<T extends LearningConfigurer>
extends LearningConfigurer<T>
- Author:
- Eugene Dementiev
-
Field Summary
Fields inherited from class com.agenarisk.learning.structure.config.Configurer
config
-
Constructor Summary
ConstructorsConstructorDescriptionPrunableLearningConfigurer
(com.agenarisk.learning.structure.config.Config config) -
Method Summary
Modifier and TypeMethodDescriptionprotected T
configurePruningFromJson
(org.json.JSONObject jParameters) setPruningLevel
(int level) Level 0: No pruning
Level 1: Parent-sets of size 1 vs.Methods inherited from class com.agenarisk.learning.structure.config.LearningConfigurer
getKnowledgeConfiguration, getKnowledgeConfiguration
Methods inherited from class com.agenarisk.learning.structure.config.BicLogConfigurer
configureBicLogFromJson, setBicLog
Methods inherited from class com.agenarisk.learning.structure.config.Configurer
getConfig, setLoggingEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.agenarisk.learning.structure.config.Configurable
apply
-
Constructor Details
-
PrunableLearningConfigurer
public PrunableLearningConfigurer(com.agenarisk.learning.structure.config.Config config) -
PrunableLearningConfigurer
public PrunableLearningConfigurer()
-
-
Method Details
-
setPruningLevel
Level 0: No pruning
Level 1: Parent-sets of size 1 vs. parent-sets of size 0
Level 2: Plus parent-sets of size 2 vs. parent-sets of size 1
Level 3: Plus parent-sets of size 3 vs. parent-sets of size 2- Parameters:
level
-- Returns:
- this configurer
-
configurePruningFromJson
-