org.dllearner.core.configurators
Class PosNegLPStrictConfigurator

java.lang.Object
  extended by org.dllearner.core.configurators.PosNegLPStrictConfigurator
All Implemented Interfaces:
Configurator

public class PosNegLPStrictConfigurator
extends Object
implements Configurator

automatically generated, do not edit manually. run org.dllearner.scripts.ConfigJavaGenerator to update


Constructor Summary
PosNegLPStrictConfigurator(PosNegLPStrict posNegLPStrict)
           
 
Method Summary
 double getAccuracyPenalty()
          accuracyPenalty penalty for pos/neg examples which are classified as neutral.
 double getErrorPenalty()
          errorPenalty penalty for pos. examples classified as negative or vice versa.
 Set<String> getNegativeExamples()
          negativeExamples negative examples.
 boolean getPenaliseNeutralExamples()
          penaliseNeutralExamples if set to true neutral examples are penalised.
 double getPercentPerLenghtUnit()
          percentPerLenghtUnit describes the reduction in classification accuracy in percent one is willing to accept for reducing the length of the concept by one.
 Set<String> getPositiveExamples()
          positiveExamples positive examples.
static PosNegLPStrict getPosNegLPStrict(AbstractReasonerComponent reasoningService, Set<String> positiveExamples, Set<String> negativeExamples)
           
 String getUseMultiInstanceChecks()
          useMultiInstanceChecks See UseMultiInstanceChecks enum. - NO LONGER FULLY SUPPORTED..
 boolean getUseRetrievalForClassficiation()
          useRetrievalForClassficiation Specifies whether to use retrieval or instance checks for testing a concept. - NO LONGER FULLY SUPPORTED..
 boolean isReinitNecessary()
          true, if this component needs reinitializsation.
 void setAccuracyPenalty(double accuracyPenalty)
           
 void setErrorPenalty(double errorPenalty)
           
 void setNegativeExamples(Set<String> negativeExamples)
           
 void setPenaliseNeutralExamples(boolean penaliseNeutralExamples)
           
 void setPercentPerLenghtUnit(double percentPerLenghtUnit)
           
 void setPositiveExamples(Set<String> positiveExamples)
           
 void setUseMultiInstanceChecks(String useMultiInstanceChecks)
           
 void setUseRetrievalForClassficiation(boolean useRetrievalForClassficiation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosNegLPStrictConfigurator

public PosNegLPStrictConfigurator(PosNegLPStrict posNegLPStrict)
Parameters:
posNegLPStrict - see PosNegLPStrict
Method Detail

getPosNegLPStrict

public static PosNegLPStrict getPosNegLPStrict(AbstractReasonerComponent reasoningService,
                                               Set<String> positiveExamples,
                                               Set<String> negativeExamples)
Parameters:
reasoningService - see reasoningService
positiveExamples - positive examples
negativeExamples - negative examples
Returns:
PosNegLPStrict

getPositiveExamples

public Set<String> getPositiveExamples()
positiveExamples positive examples. mandatory: true| reinit necessary: false default value: null

Returns:
Set(String)

getNegativeExamples

public Set<String> getNegativeExamples()
negativeExamples negative examples. mandatory: true| reinit necessary: false default value: null

Returns:
Set(String)

getUseRetrievalForClassficiation

public boolean getUseRetrievalForClassficiation()
useRetrievalForClassficiation Specifies whether to use retrieval or instance checks for testing a concept. - NO LONGER FULLY SUPPORTED.. mandatory: false| reinit necessary: true default value: false

Returns:
boolean

getPercentPerLenghtUnit

public double getPercentPerLenghtUnit()
percentPerLenghtUnit describes the reduction in classification accuracy in percent one is willing to accept for reducing the length of the concept by one. mandatory: false| reinit necessary: true default value: 0.05

Returns:
double

getUseMultiInstanceChecks

public String getUseMultiInstanceChecks()
useMultiInstanceChecks See UseMultiInstanceChecks enum. - NO LONGER FULLY SUPPORTED.. mandatory: false| reinit necessary: true default value: twoChecks

Returns:
String

getPenaliseNeutralExamples

public boolean getPenaliseNeutralExamples()
penaliseNeutralExamples if set to true neutral examples are penalised. mandatory: false| reinit necessary: true default value: null

Returns:
boolean

getAccuracyPenalty

public double getAccuracyPenalty()
accuracyPenalty penalty for pos/neg examples which are classified as neutral. mandatory: false| reinit necessary: true default value: 1.0

Returns:
double

getErrorPenalty

public double getErrorPenalty()
errorPenalty penalty for pos. examples classified as negative or vice versa. mandatory: false| reinit necessary: true default value: 3.0

Returns:
double

setPositiveExamples

public void setPositiveExamples(Set<String> positiveExamples)
Parameters:
positiveExamples - positive examples. mandatory: true| reinit necessary: false default value: null

setNegativeExamples

public void setNegativeExamples(Set<String> negativeExamples)
Parameters:
negativeExamples - negative examples. mandatory: true| reinit necessary: false default value: null

setUseRetrievalForClassficiation

public void setUseRetrievalForClassficiation(boolean useRetrievalForClassficiation)
Parameters:
useRetrievalForClassficiation - Specifies whether to use retrieval or instance checks for testing a concept. - NO LONGER FULLY SUPPORTED.. mandatory: false| reinit necessary: true default value: false

setPercentPerLenghtUnit

public void setPercentPerLenghtUnit(double percentPerLenghtUnit)
Parameters:
percentPerLenghtUnit - describes the reduction in classification accuracy in percent one is willing to accept for reducing the length of the concept by one. mandatory: false| reinit necessary: true default value: 0.05

setUseMultiInstanceChecks

public void setUseMultiInstanceChecks(String useMultiInstanceChecks)
Parameters:
useMultiInstanceChecks - See UseMultiInstanceChecks enum. - NO LONGER FULLY SUPPORTED.. mandatory: false| reinit necessary: true default value: twoChecks

setPenaliseNeutralExamples

public void setPenaliseNeutralExamples(boolean penaliseNeutralExamples)
Parameters:
penaliseNeutralExamples - if set to true neutral examples are penalised. mandatory: false| reinit necessary: true default value: null

setAccuracyPenalty

public void setAccuracyPenalty(double accuracyPenalty)
Parameters:
accuracyPenalty - penalty for pos/neg examples which are classified as neutral. mandatory: false| reinit necessary: true default value: 1.0

setErrorPenalty

public void setErrorPenalty(double errorPenalty)
Parameters:
errorPenalty - penalty for pos. examples classified as negative or vice versa. mandatory: false| reinit necessary: true default value: 3.0

isReinitNecessary

public boolean isReinitNecessary()
true, if this component needs reinitializsation.

Returns:
boolean


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann