Interface LearnShapeletsLearningAlgorithm.ILearnShapeletsLearningAlgorithmConfig
-
- All Superinterfaces:
org.aeonbits.owner.Accessible,org.aeonbits.owner.Config,org.api4.java.algorithm.IAlgorithmConfig,org.api4.java.common.control.IConfig,ai.libs.jaicore.basic.IOwnerBasedAlgorithmConfig,ai.libs.jaicore.basic.IOwnerBasedConfig,ai.libs.jaicore.basic.IOwnerBasedRandomizedAlgorithmConfig,org.api4.java.algorithm.IRandomAlgorithmConfig,java.util.Map<java.lang.Object,java.lang.Object>,org.aeonbits.owner.Mutable,org.aeonbits.owner.Reloadable,java.io.Serializable
- Enclosing class:
- LearnShapeletsLearningAlgorithm
public static interface LearnShapeletsLearningAlgorithm.ILearnShapeletsLearningAlgorithmConfig extends ai.libs.jaicore.basic.IOwnerBasedRandomizedAlgorithmConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aeonbits.owner.Config
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringK_ESTIMATEKstatic java.lang.StringK_GAMMAstatic java.lang.StringK_LEARNINGRATEstatic java.lang.StringK_MAXITERstatic java.lang.StringK_NUMSHAPELETSstatic java.lang.StringK_REGULARIZATIONstatic java.lang.StringK_SCALERstatic java.lang.StringK_SHAPELETLENGTH_MINstatic java.lang.StringK_SHAPELETLENGTH_RELMIN
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanestimateK()Parameter indicator whether estimation of K (number of learned shapelets) should be derived from the number of total segments.doublegamma()Gamma value used for momentum during gradient descent.doublelearningRate()The learning rate used within the SGD.intmaxIterations()The maximum iterations used for the SGD.doubleminShapeLengthPercentage()The minimum shape length percentage used to calculate the minimum shape length.intminShapeletLength()The minimum shapelet of the shapelets to be learned.intnumShapelets()Parameter which determines how many of the most-informative shapelets should be used.doubleregularization()The regularization used wihtin the SGD.intscaleR()The number of scales used for the shapelet lengths.-
Methods inherited from interface org.aeonbits.owner.Accessible
fill, getProperty, getProperty, list, list, propertyNames, store, storeToXML
-
Methods inherited from interface ai.libs.jaicore.basic.IOwnerBasedAlgorithmConfig
cpus, getTimeout, memory, threads, timeout
-
Methods inherited from interface ai.libs.jaicore.basic.IOwnerBasedConfig
copy, loadPropertiesFromFile, loadPropertiesFromFileArray, loadPropertiesFromList, loadPropertiesFromResource
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
K_NUMSHAPELETS
static final java.lang.String K_NUMSHAPELETS
- See Also:
- Constant Field Values
-
K_LEARNINGRATE
static final java.lang.String K_LEARNINGRATE
- See Also:
- Constant Field Values
-
K_REGULARIZATION
static final java.lang.String K_REGULARIZATION
- See Also:
- Constant Field Values
-
K_SHAPELETLENGTH_MIN
static final java.lang.String K_SHAPELETLENGTH_MIN
- See Also:
- Constant Field Values
-
K_SHAPELETLENGTH_RELMIN
static final java.lang.String K_SHAPELETLENGTH_RELMIN
- See Also:
- Constant Field Values
-
K_SCALER
static final java.lang.String K_SCALER
- See Also:
- Constant Field Values
-
K_MAXITER
static final java.lang.String K_MAXITER
- See Also:
- Constant Field Values
-
K_GAMMA
static final java.lang.String K_GAMMA
- See Also:
- Constant Field Values
-
K_ESTIMATEK
static final java.lang.String K_ESTIMATEK
- See Also:
- Constant Field Values
-
-
Method Detail
-
numShapelets
@Key("numshapelets") int numShapelets()Parameter which determines how many of the most-informative shapelets should be used. Corresponds to K in the paper
-
learningRate
@Key("learningrate") double learningRate()The learning rate used within the SGD.
-
regularization
@Key("regularization") double regularization()The regularization used wihtin the SGD.
-
minShapeletLength
@Key("minshapeletlength") int minShapeletLength()The minimum shapelet of the shapelets to be learned. Internally derived by the time series lengths and theminShapeLengthPercentage.
-
minShapeLengthPercentage
@Key("relativeminshapeletlength") double minShapeLengthPercentage()The minimum shape length percentage used to calculate the minimum shape length.
-
scaleR
@Key("scaler") int scaleR()The number of scales used for the shapelet lengths.
-
maxIterations
@Key("maxiter") int maxIterations()The maximum iterations used for the SGD.
-
gamma
@Key("gamma") @DefaultValue("0.5") double gamma()Gamma value used for momentum during gradient descent. Defaults to 0.5.
-
estimateK
@Key("estimatek") @DefaultValue("false") boolean estimateK()Parameter indicator whether estimation of K (number of learned shapelets) should be derived from the number of total segments. False by default.
-
-