Class PermuteFirstSecondOrder<T extends FeatureInputDictionary>
Object
AnchorBean<FeatureListProvider<T>>
InitializableBean<FeatureListProvider<T>,FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<T>>
FeatureProviderBean<FeatureListProvider<T>,FeatureList<T>>
FeatureListProvider<T>
PermuteFeatureBase<T>
PermuteFeatureSequenceInteger<T>
PermuteFirstSecondOrder<T>
- Type Parameters:
T
- the type of feature input
- All Implemented Interfaces:
Provider<FeatureList<T>>
- Direct Known Subclasses:
PermuteGaussianScore
,PermuteZScore
public abstract class PermuteFirstSecondOrder<T extends FeatureInputDictionary>
extends PermuteFeatureSequenceInteger<T>
Permutes a feature by applying first and second order statistical operations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Functional interface for creating first and second order statistical operations. -
Constructor Summary
ConstructorsConstructorDescriptionPermuteFirstSecondOrder
(PermuteFirstSecondOrder.CreateFirstSecondOrder<T> factory, double minRange, double maxRange) Creates a newPermuteFirstSecondOrder
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected PermutePropertySequenceInteger
configurePermuteProperty
(PermutePropertySequenceInteger permuteProperty) Configures thePermutePropertySequenceInteger
for this permutation.protected PermuteFeature
<Integer, T> createDelegate
(Feature<T> feature) Creates a delegatePermuteFeature
for the given feature.boolean
If true, the constant is appended to the param prefix (a dot and a number).void
setParamPrefixAppendNumber
(boolean paramPrefixAppendNumber) If true, the constant is appended to the param prefix (a dot and a number).Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.permute.PermuteFeatureSequenceInteger
checkMisconfigured, createParam, createPermutedFeaturesFor, getParamPrefix, getPermuteProperty, setParamPrefix, setPermuteProperty
Methods inherited from class org.anchoranalysis.plugin.image.feature.bean.list.permute.PermuteFeatureBase
get, getFeature, setFeature
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
PermuteFirstSecondOrder
public PermuteFirstSecondOrder(PermuteFirstSecondOrder.CreateFirstSecondOrder<T> factory, double minRange, double maxRange) Creates a newPermuteFirstSecondOrder
instance.- Parameters:
factory
- Factory for creating first and second order statistical operations.minRange
- Minimum value for the range.maxRange
- Maximum value for the range.
-
-
Method Details
-
createDelegate
protected PermuteFeature<Integer,T> createDelegate(Feature<T> feature) throws ProvisionFailedException Description copied from class:PermuteFeatureSequenceInteger
Creates a delegatePermuteFeature
for the given feature.- Specified by:
createDelegate
in classPermuteFeatureSequenceInteger<T extends FeatureInputDictionary>
- Parameters:
feature
- the feature to permute- Returns:
- a new
PermuteFeature
instance - Throws:
ProvisionFailedException
- if the delegate cannot be created
-
configurePermuteProperty
protected PermutePropertySequenceInteger configurePermuteProperty(PermutePropertySequenceInteger permuteProperty) Description copied from class:PermuteFeatureSequenceInteger
Configures thePermutePropertySequenceInteger
for this permutation.- Specified by:
configurePermuteProperty
in classPermuteFeatureSequenceInteger<T extends FeatureInputDictionary>
- Parameters:
permuteProperty
- the property to configure- Returns:
- the configured
PermutePropertySequenceInteger
-
isParamPrefixAppendNumber
public boolean isParamPrefixAppendNumber()If true, the constant is appended to the param prefix (a dot and a number). -
setParamPrefixAppendNumber
public void setParamPrefixAppendNumber(boolean paramPrefixAppendNumber) If true, the constant is appended to the param prefix (a dot and a number).
-