|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.classifier.MultiLabelLearnerBase mulan.classifier.meta.MultiLabelMetaLearner mulan.classifier.meta.ClusteringBased
public class ClusteringBased
Class implementing clustering-based multi-label classification. For more information, see
Gulisong Nasierding, Grigorios Tsoumakas, Abbas Kouzani: Clustering Based Multi-Label Classification for Image Annotation and Retrieval. In: Proc. 2009 IEEE International Conference on Systems, Man, and Cybernetics (SMC 2009), 2009.
@inproceedings{GulisongNasierding2009, author = {Gulisong Nasierding, Grigorios Tsoumakas, Abbas Kouzani}, booktitle = {Proc. 2009 IEEE International Conference on Systems, Man, and Cybernetics (SMC 2009)}, title = {Clustering Based Multi-Label Classification for Image Annotation and Retrieval}, year = {2009}, location = {Texas, USA} }
Field Summary |
---|
Fields inherited from class mulan.classifier.meta.MultiLabelMetaLearner |
---|
baseLearner |
Fields inherited from class mulan.classifier.MultiLabelLearnerBase |
---|
featureIndices, labelIndices, numLabels |
Constructor Summary | |
---|---|
ClusteringBased()
Default constructor. |
|
ClusteringBased(Clusterer aClusterer,
MultiLabelLearner aMultiLabelClassifier)
Constructor |
Method Summary | |
---|---|
void |
buildInternal(MultiLabelInstances trainData)
Learner specific implementation of building the model from MultiLabelInstances
training data set. |
Clusterer |
getClusterer()
Returns the clustering approach |
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on. |
String |
globalInfo()
Returns a string describing the multi-label learner. |
protected MultiLabelOutput |
makePredictionInternal(Instance instance)
Learner specific implementation for predicting on specified data based on trained model. |
Methods inherited from class mulan.classifier.meta.MultiLabelMetaLearner |
---|
getBaseLearner |
Methods inherited from class mulan.classifier.MultiLabelLearnerBase |
---|
build, debug, getDebug, isModelInitialized, isUpdatable, makeCopy, makePrediction, setDebug |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusteringBased()
public ClusteringBased(Clusterer aClusterer, MultiLabelLearner aMultiLabelClassifier)
aClusterer
- the clustering approachaMultiLabelClassifier
- the multi-label learnerMethod Detail |
---|
public Clusterer getClusterer()
public void buildInternal(MultiLabelInstances trainData) throws Exception
MultiLabelLearnerBase
MultiLabelInstances
training data set. This method is called from MultiLabelLearnerBase.build(MultiLabelInstances)
method,
where behavior common across all learners is applied.
buildInternal
in class MultiLabelLearnerBase
trainData
- the training data set
Exception
- if learner model was not created successfullyprotected MultiLabelOutput makePredictionInternal(Instance instance) throws Exception, InvalidDataException
MultiLabelLearnerBase
MultiLabelLearnerBase.makePrediction(weka.core.Instance)
which guards for model
initialization and apply common handling/behavior.
makePredictionInternal
in class MultiLabelLearnerBase
instance
- the data instance to predict on
Exception
- if an error occurs while making the prediction.
InvalidDataException
- if specified instance data is invalid and can not be processed by the learnerpublic TechnicalInformation getTechnicalInformation()
MultiLabelLearnerBase
getTechnicalInformation
in interface TechnicalInformationHandler
getTechnicalInformation
in class MultiLabelLearnerBase
public String globalInfo()
MultiLabelLearnerBase
globalInfo
in class MultiLabelLearnerBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |