Package org.aksw.palmetto.vector
Class ProbabilityBasedVectorCreator
- java.lang.Object
-
- org.aksw.palmetto.vector.AbstractVectorCreator
-
- org.aksw.palmetto.vector.ProbabilityBasedVectorCreator
-
- All Implemented Interfaces:
VectorCreator
public class ProbabilityBasedVectorCreator extends AbstractVectorCreator
This vector creator uses the marginal probabilities for the vector creation.- Author:
- m.roeder
-
-
Field Summary
Fields Modifier and Type Field Description private static StringVECTOR_CREATOR_NAME
-
Constructor Summary
Constructors Constructor Description ProbabilityBasedVectorCreator(ProbabilityEstimator supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubsetVectors[]createVectors(String[][] wordsets, SegmentationDefinition[] definitions, SubsetProbabilities[] probabilities)StringgetVectorCreatorName()Returns the name of the direct confirmation measure which is used to create the vectors.-
Methods inherited from class org.aksw.palmetto.vector.AbstractVectorCreator
getProbabilityEstimatorName, getVectors, getVectorSpaceName, setMinFrequency, setProbabilityEstimator
-
-
-
-
Field Detail
-
VECTOR_CREATOR_NAME
private static final String VECTOR_CREATOR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProbabilityBasedVectorCreator
public ProbabilityBasedVectorCreator(ProbabilityEstimator supplier)
-
-
Method Detail
-
getVectorCreatorName
public String getVectorCreatorName()
Description copied from interface:VectorCreatorReturns the name of the direct confirmation measure which is used to create the vectors.- Returns:
-
createVectors
protected SubsetVectors[] createVectors(String[][] wordsets, SegmentationDefinition[] definitions, SubsetProbabilities[] probabilities)
- Specified by:
createVectorsin classAbstractVectorCreator
-
-