public class RankerParameters
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
boolean |
allLearningObjectsAreReferenceObjects |
Tells if all objects available in the learning information table, even if not involved in any pairwise comparison or in a given reference ranking,
should be considered as reference objects.
|
boolean |
allowEmptyRulesInVCDomLEM |
Tells if rules with empty condition part are allowed in VC-DomLEM algorithm
|
static int |
APPROXIMATION |
Acceptable value of
optimizeRuleConsistencyInVCDomLEMWrt |
int |
consideredSetOfRules |
Considered set of rules
|
boolean |
considerIndifferentObjects |
Parameter concerning the case when the preference information is given in terms of a reference ranking (weak order).
|
int |
consistencyMeasure |
Consistency measure
|
double |
consistencyMeasureThreshold |
Consistency measure threshold
|
static int |
CRISP |
Acceptable value of
satisfactionDegreesInPreferenceGraph |
int |
dominance |
Dominance
|
int |
dominanceForPairsOfOrdinalValues |
Ordinal dominance check method
|
static int |
DRSA |
Acceptable value of
getApproach() |
int |
errorMeasure |
Measure used to calculate error of final ranking w.r.t. to reference ranking and true global ranking
|
static int |
EXHAUSTIVE_SET_OF_RULES |
Acceptable value of
consideredSetOfRules |
static int |
FUZZY |
Acceptable value of
satisfactionDegreesInPreferenceGraph |
int |
fuzzySatisfactionDegreeCalculationMethod |
Method of calculating fuzzy satisfaction degrees in preference graphs.
|
MemoryContainer |
learningInformationTable |
Learning information table
|
PairOfIndices[] |
learningPairsThatCannotBePreservedInOriginalRelation |
Learning pairs of objects that cannot be preserved in their original relation due to the fact that their assignment to this relation violates dominance relation over the set of learning objects.
|
static int |
LORENZ |
Acceptable value of
dominance |
static int |
MINIMAL_SET_OF_RULES |
Acceptable value of
consideredSetOfRules |
int |
negativeExamplesTreatmentForVCDRSA |
Treatment of negative examples in VC-DRSA
|
static int |
NFS |
Acceptable value of
rankingProcedure |
static int |
NFS_CLOSURE |
Acceptable value of
rankingProcedure |
static int |
NFS_P_CLOSURE |
Acceptable value of
rankingProcedure |
int |
optimizeRuleConsistencyInVCDomLEMWrt |
Method of rule consistency measure optimization in VC-DomLEM algorithm
|
PairOfIndices[] |
pairs |
Pairs of compared reference objects
|
static int |
PARETO |
Acceptable value of
dominance |
java.lang.Double[] |
preferences |
Preference relations for pairs of compared reference objects
|
int |
rankingProcedure |
Ranking procedure
|
SimpleRanking |
referenceRanking |
Reference ranking
|
static int |
REPEATED_NFS |
Acceptable value of
rankingProcedure |
static int |
REPEATED_NFS_CLOSURE |
Acceptable value of
rankingProcedure |
static int |
REPEATED_NFS_P_CLOSURE |
Acceptable value of
rankingProcedure |
static int |
ROUGH_MEMBERSHIP |
Acceptable value of
consistencyMeasure |
int |
ruleConditionsSelectionMethodInVCDomLEM |
Method of selecting rule's elementary conditions in VC-DomLEM algorithm
|
int |
satisfactionDegreesInPreferenceGraph |
Satisfaction degrees in preference graphs
|
static int |
SET |
Acceptable value of
optimizeRuleConsistencyInVCDomLEMWrt |
MemoryContainer |
testInformationTable |
Test information table
|
PairOfIndices[] |
testPairsThatCannotBePreservedInPreferenceRelation |
Test pairs of objects that cannot be preserved in preference relation due to the fact that their assignment to this relation violates dominance relation over the set of test objects.
|
int |
typeOfFamilyOfCriteria |
Type of family of criteria.
|
int |
typeOfRules |
Type of rules
|
boolean |
useEdgeRegionsInVCDomLEM |
Tells if EDGE regions are used during induction of certain decision rules (DRSA / VC-DRSA) or possible decision rules (DRSA) in VC-DomLEM algorithm
|
static int |
VCDRSA |
Acceptable value of
getApproach() |
WeightsType |
weightsType |
Type of weights used to generate final ranking of examples.
|
Constructor | Description |
---|---|
RankerParameters() |
Sole constructor, initializing the parameters.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getApproach() |
Gets approach implied by current parameter values.
|
java.util.ArrayList<java.lang.String> |
getValidateAndAdjustMessages() |
Gets list of messages resulting from the latest call to
validateAndAdjust() . |
void |
initialize() |
Initializes all parameters by setting their default values.
|
boolean |
useReferenceRanking() |
Checks if reference ranking should be used to create a partial PCT.
|
boolean |
validateAndAdjust() |
TODO - improve validation
Validates current set of ranker parameters and adjusts them if needed.
|
public static final int PARETO
dominance
public static final int LORENZ
dominance
public static final int ROUGH_MEMBERSHIP
consistencyMeasure
public static final int MINIMAL_SET_OF_RULES
consideredSetOfRules
public static final int EXHAUSTIVE_SET_OF_RULES
consideredSetOfRules
public static final int NFS
rankingProcedure
public static final int REPEATED_NFS
rankingProcedure
public static final int NFS_CLOSURE
rankingProcedure
public static final int REPEATED_NFS_CLOSURE
rankingProcedure
public static final int NFS_P_CLOSURE
rankingProcedure
public static final int REPEATED_NFS_P_CLOSURE
rankingProcedure
public static final int APPROXIMATION
optimizeRuleConsistencyInVCDomLEMWrt
public static final int SET
optimizeRuleConsistencyInVCDomLEMWrt
public static final int FUZZY
satisfactionDegreesInPreferenceGraph
public static final int CRISP
satisfactionDegreesInPreferenceGraph
public static final int DRSA
getApproach()
public static final int VCDRSA
getApproach()
public MemoryContainer learningInformationTable
public MemoryContainer testInformationTable
public SimpleRanking referenceRanking
public PairOfIndices[] pairs
public java.lang.Double[] preferences
public boolean considerIndifferentObjects
public int typeOfFamilyOfCriteria
Settings.getTypeOfFamilyOfCriteria()
.public boolean allLearningObjectsAreReferenceObjects
InformationTable2PCTConverter.allLearningObjectsAreReferenceObjects
.public int consistencyMeasure
public double consistencyMeasureThreshold
public int typeOfRules
public int consideredSetOfRules
public int satisfactionDegreesInPreferenceGraph
public int fuzzySatisfactionDegreeCalculationMethod
PreferenceGraphGenerator.fuzzySatisfactionDegreeCalculationMethod
.
Initialized with PreferenceGraphGenerator.DEFAULT_FUZZY_SATISFACTION_DEGREE_CALCULATION_METHOD
.
Used only if satisfactionDegreesInPreferenceGraph
is set to FUZZY
.public int rankingProcedure
public int dominance
public int dominanceForPairsOfOrdinalValues
public int negativeExamplesTreatmentForVCDRSA
public int ruleConditionsSelectionMethodInVCDomLEM
public boolean allowEmptyRulesInVCDomLEM
public boolean useEdgeRegionsInVCDomLEM
public int optimizeRuleConsistencyInVCDomLEMWrt
public WeightsType weightsType
public int errorMeasure
public PairOfIndices[] learningPairsThatCannotBePreservedInOriginalRelation
null
. In case of input preference information in terms of a reference ranking, pairs (a,b) such that b D a cannot be preserved in the preference relation (this implies also that
pair (b,a) cannot be preserved in the inverse preference relation). In case of input preference information in terms of a set of pairwise S/S^c comparisons, pairs (a,b) such that a D b cannot be preserved
in the non-outranking relation.public PairOfIndices[] testPairsThatCannotBePreservedInPreferenceRelation
null
.public RankerParameters()
initialize()
.public void initialize()
public int getApproach()
consistencyMeasure
and consistencyMeasureThreshold
are set correctly (i.e., valid).public boolean useReferenceRanking()
referenceRanking
, pairs
, and preferences
are set correctly (i.e., valid).true
if reference ranking should be used to create a partial PCT, false
if pairwise comparisons should be used to create a partial PCTpublic java.util.ArrayList<java.lang.String> getValidateAndAdjustMessages()
validateAndAdjust()
.validateAndAdjust()
public boolean validateAndAdjust()
satisfactionDegreesInPreferenceGraph
and optimizeRuleConsistencyInVCDomLEMWrt
.
In order to get all resulting messages, subsequent call to getValidateAndAdjustMessages()
is required.false
when there is an error among parameter values, true
otherwise