Package jdistlib.inference
Class SubsetSelectionTarget
java.lang.Object
jdistlib.inference.SubsetSelectionTarget
- All Implemented Interfaces:
ReversibleJumpTarget
Bit-mask model family for Java-only covariate, locus, or feature selection.
-
Constructor Summary
ConstructorsConstructorDescriptionSubsetSelectionTarget(String[] commonParameterNames, String[] candidateNames, SubsetLogJoint logJoint) -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive(long modelId, int candidate) int[]activeCandidates(long modelId) intcandidateName(int candidate) String[]intString[]doublelogJoint(ReversibleJumpState state) modelName(long modelId) modelSpace(long modelId) intparameterIndex(long modelId, int candidate) state(long modelId, double[] commonParameters, double[] activeCoefficients) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jdistlib.inference.ReversibleJumpTarget
fixedModelTarget
-
Constructor Details
-
SubsetSelectionTarget
public SubsetSelectionTarget(String[] commonParameterNames, String[] candidateNames, SubsetLogJoint logJoint)
-
-
Method Details
-
modelSpace
- Specified by:
modelSpacein interfaceReversibleJumpTarget
-
logJoint
- Specified by:
logJointin interfaceReversibleJumpTarget
-
state
public ReversibleJumpState state(long modelId, double[] commonParameters, double[] activeCoefficients) -
candidateCount
public int candidateCount() -
commonDimension
public int commonDimension() -
candidateName
-
candidateNames
-
commonParameterNames
-
active
public boolean active(long modelId, int candidate) -
activeCandidates
public int[] activeCandidates(long modelId) -
parameterIndex
public int parameterIndex(long modelId, int candidate) -
modelName
-