Package | Description |
---|---|
pl.poznan.put.cs.idss.jrs.approximations | |
pl.poznan.put.cs.idss.jrs.apriori | |
pl.poznan.put.cs.idss.jrs.cbr.types | |
pl.poznan.put.cs.idss.jrs.core.isf |
This package contains classes for dealing with ISF file format.
|
pl.poznan.put.cs.idss.jrs.core.mem |
Implements decision table stored in memory with random and serial access.
|
pl.poznan.put.cs.idss.jrs.dominance | |
pl.poznan.put.cs.idss.jrs.jmaf | |
pl.poznan.put.cs.idss.jrs.jmaf.parser | |
pl.poznan.put.cs.idss.jrs.jmaf.reducts | |
pl.poznan.put.cs.idss.jrs.ranking | |
pl.poznan.put.cs.idss.jrs.rules | |
pl.poznan.put.cs.idss.jrs.types |
Provides classes for wrapping anything you can put into decision table.
|
Modifier and Type | Method | Description |
---|---|---|
Field |
PairDecisionMonotonicUnion.calculateAdjacentDecisionClass(int direction) |
Calculates decision class adjacent to this union's basic class.
|
Field |
ApproximatedEntity.getBasicClass() |
Gets basic class for this entity.
|
Field[] |
UnionContainer.getBasicClasses() |
Gets ordered (from the worst to the best) array of all decision classes, which can be found in memory container.
|
Field |
Union.getBasicClassForAdjacentOppositeUnion() |
Gets basic class for adjacent union of opposite type.
|
Field |
ApproximatedEntity.getCharacteristicDecisionClass() |
Gets decision class (value of decision attribute) characteristic for this entity.
|
Field[] |
DecisionClassContainer.getDecisionAttributeValues() |
Gets ascendingly ordered array of all decision attribute's values, which can be found in memory container.
|
Modifier and Type | Method | Description |
---|---|---|
static PairField |
PairDecisionMonotonicUnion.calculateLeftOppositeUnionBasicClass(Field basicClass,
int type) |
|
static PairField |
PairDecisionMonotonicUnion.calculateRightOppositeUnionBasicClass(Field basicClass,
int type) |
|
DecisionClass |
DecisionClassContainer.getDecisionClass(Field value) |
Gets decision class that is based on the value passed as the parameter or
null if there is no such decision class |
Union |
UnionContainer.getUnion(int type,
Field basicClass) |
Gets upward/downward union of decision classes (depending on
type ), with given basic class. |
Constructor | Description |
---|---|
ConfirmatoryMonotonicDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer) |
|
ConfirmatoryMonotonicDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer,
boolean oppositeSet) |
|
ConfirmatoryMonotonicUnion(int type,
int decisionCriterionNumber,
Field basicClass,
MemoryContainer memoryContainer) |
|
DecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer) |
Constructs decision class, using decision attribute with given number, given basic decision class and
given reference to memory container for which this decision class is defined.
|
DecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer,
boolean oppositeSet) |
Constructs decision class, using decision attribute with given number, given basic decision class and
given reference to memory container for which this decision class is defined.
|
MonotonicDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer) |
|
MonotonicDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer,
boolean oppositeSet) |
|
MonotonicUnion(int type,
int decisionCriterionNumber,
Field basicClass,
MemoryContainer memoryContainer) |
Constructs union of given type, using decision criterion with given number, given basic decision class and
given reference to memory container for which this union is defined.
|
PairDecisionMonotonicUnion(int type,
int decisionCriterionNumber,
Field basicClass,
MemoryContainer memoryContainer) |
Constructs union of given type, using decision criterion with given number, given basic decision class and
given reference to memory container for which this union is defined.
|
StandardDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer) |
|
StandardDecisionClass(int decisionAttributeNumber,
Field basicClass,
MemoryContainer memoryContainer,
boolean oppositeSet) |
|
StandardJmafUnion(int type,
int decisionCriterionNumber,
Field basicClass,
MemoryContainer memoryContainer) |
|
StandardUnion(int type,
int decisionCriterionNumber,
Field basicClass,
MemoryContainer memoryContainer) |
Constructor for
StandardUnion class. |
Modifier and Type | Method | Description |
---|---|---|
Field |
DecisionClassApproximation.getReferenceValue() |
|
Field |
ElementaryCondition.getValue() |
Constructor | Description |
---|---|
DecisionClassApproximation(int[] examplesNumbers,
java.lang.String name,
Field referenceValue) |
|
ElementaryCondition(int attributePrefType,
int typeOfUnion,
int attributeNumber,
Field value,
Attribute attribute) |
Modifier and Type | Class | Description |
---|---|---|
class |
SimilarityField |
Class basing on
PairField , used to store (similarity, reference value) pairs. |
class |
StringFieldExt |
Extension of
StringField class for handling any strings. |
Modifier and Type | Method | Description |
---|---|---|
Field |
SimilarityField.duplicate() |
Returns a duplicate of this field, containing the same elements.
|
Field |
StringFieldExt.duplicate() |
Duplicates this field
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Integer |
SimilarityField.compareTo(Field object) |
Compares other field to this field.
|
void |
SimilarityField.copy(Field field) |
Makes and saves a copy of given field.
|
boolean |
SimilarityField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
Modifier and Type | Method | Description |
---|---|---|
void |
IsfParser.parseFuzzy(Field field) |
|
void |
IsfParser.parseInterval(Field field) |
|
void |
IsfParser.parsePair(Field field) |
|
void |
IsfParser.parseSimilarity(Field field) |
|
void |
IsfParser.parseSimple(Field field) |
|
void |
IsfParser.parseTrapez(Field field) |
|
void |
IsfParser.parseValue(Field field) |
|
void |
AttributesBuilder.setType(Field value) |
Modifier and Type | Method | Description |
---|---|---|
static Field[] |
MemoryContainerDecisionsManager.getDecisionAttributeValues(MemoryContainer memoryContainer) |
Gets ordered list of all values of decision attribute present in given memory container.
|
static Field[] |
MemoryContainerDecisionsManager.getDecisionAttributeValues(MemoryContainer memoryContainer,
int decisionAttributeNumber) |
Gets ordered list of all unique values of decision attribute present in given memory container.
|
static Field[] |
MemoryContainerDecisionsManager.sortAndUniquifyDecisionAttributeValues(Field[] decisionAttributeValues,
int decisionAttributePreferenceType) |
Sorts given array of decision attribute values, ensuring at the same time that each value will be present only once in the resulting array.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
MemoryContainerAttrManager.getSimpleAttributeValuesAsText(Field[] attributeValues) |
Converts given array of simple values of an attribute into
String . |
static Field[] |
MemoryContainerDecisionsManager.sortAndUniquifyDecisionAttributeValues(Field[] decisionAttributeValues,
int decisionAttributePreferenceType) |
Sorts given array of decision attribute values, ensuring at the same time that each value will be present only once in the resulting array.
|
Modifier and Type | Method | Description |
---|---|---|
static int |
ParetoDominanceCalculator.checkDominance(Field fieldValue1,
Field fieldValue2,
int preferenceType) |
Establishes presence or absence of Pareto dominance between given two field values, each from a different example.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
JRSTools.getFieldValue(Field field) |
Modifier and Type | Method | Description |
---|---|---|
Field |
RulesParser.parseField(Field field) |
Modifier and Type | Method | Description |
---|---|---|
Field |
RulesParser.parseField(Field field) |
|
void |
RulesParser.parseFuzzy(Field field) |
|
void |
RulesParser.parseInterval(Field field) |
|
void |
RulesParser.parsePair(Field field) |
|
void |
RulesParser.parseSimple(Field f) |
|
void |
RulesParser.parseTrapez(Field field) |
|
void |
RulesParser.parseValue(Field field) |
Modifier and Type | Method | Description |
---|---|---|
Field |
ReductsExample.getCharacteristicClass() |
Constructor | Description |
---|---|
ReductsExample(Example example,
boolean boundary,
Field refClass) |
Modifier and Type | Method | Description |
---|---|---|
Field |
RankRule.getReferenceValue() |
Gets reference value of explored "at least" / "at most" relation
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Hashtable<Field,java.lang.Double> |
WeightsGenerator.generateWeights(WeightsType weightsType,
Field[] classes,
int unionType,
boolean limitNumberOfUnions) |
Generates all weights for a given weights' type, ordered list of decision classes and union's type.
|
java.util.HashSet<Field> |
PreferenceGraph.getAtLeastRelationReferenceValues() |
Gets set of all reference values of "at least" relations present in this preference graph
|
java.util.Hashtable<Field,java.lang.Double> |
PreferenceGraph.getAtLeastRelationSatisfactionDegrees(int vertexIndex1,
int vertexIndex2) |
Gets hash table with keys corresponding to reference values of relations "at least",
and values corresponding to satisfaction degrees of these relations,
for ordered pair of vertices with given indices
|
java.util.Hashtable<Field,java.lang.Double> |
WFNFSWeights.getAtLeastWeights() |
Gets at least weights.
|
java.util.HashSet<Field> |
PreferenceGraph.getAtMostRelationReferenceValues() |
Gets set of all reference values of "at most" relations present in this preference graph
|
java.util.Hashtable<Field,java.lang.Double> |
PreferenceGraph.getAtMostRelationSatisfactionDegrees(int vertexIndex1,
int vertexIndex2) |
Gets hash table with keys corresponding to reference values of relations "at most",
and values corresponding to satisfaction degrees of these relations,
for ordered pair of vertices with given indices
|
java.util.Hashtable<Field,java.lang.Double> |
WFNFSWeights.getAtMostWeights() |
Gets at most weights.
|
java.util.HashMap<Field,java.lang.Double> |
PreferenceGraphGeneratorVirtualAllRules.getObjectConsistencyMeasureDownwardThresholds() |
|
java.util.HashMap<Field,java.lang.Double> |
PreferenceGraphGeneratorVirtualAllRules.getObjectConsistencyMeasureUpwardThresholds() |
Modifier and Type | Method | Description |
---|---|---|
java.util.Hashtable<Field,java.lang.Double> |
WeightsGenerator.generateWeights(WeightsType weightsType,
Field[] classes,
int unionType,
boolean limitNumberOfUnions) |
Generates all weights for a given weights' type, ordered list of decision classes and union's type.
|
double |
PreferenceGraph.getAtLeastRelationSatisfactionDegree(int vertexIndex1,
int vertexIndex2,
Field referenceValue) |
Gets satisfaction degree for "at least" relation with given reference value and pair of vertices with given indices
|
double |
PreferenceGraph.getAtMostRelationSatisfactionDegree(int vertexIndex1,
int vertexIndex2,
Field referenceValue) |
Gets satisfaction degree for "at most" relation with given reference value and pair of vertices with given indices
|
int |
PreferenceGraph.getCardinalityOfRelation(Field referenceValue,
int consideredRelations) |
Gets cardinality of relation "at least" / "at most" with given reference value, i.e., the number of arcs
in this preference graph that reflect considered relation "at least" / "at most"
|
java.util.ArrayList<java.lang.Integer> |
PreferenceGraph.getCycleAtLeast(Field referenceValue) |
Checks if this graph contains a cycle for relation "at least" with given reference value,
and if so, then returns just one cycle from possibly many cycles.
|
java.util.ArrayList<java.lang.Integer> |
PreferenceGraph.getCycleAtMost(Field referenceValue) |
Checks if this graph contains a cycle for relation "at most" with given reference value,
and if so, then returns just one cycle from possibly many cycles.
|
java.util.Hashtable<java.lang.Integer,java.lang.Integer> |
PreferenceGraph.getRanks(Field referenceValue,
int consideredRelations) |
Gets hash table mapping indices of vertices to ranks of these vertices,
for "at least" / "at most" relation with given reference value.
|
boolean |
PreferenceGraph.isAcyclic(Field referenceValue,
int consideredRelations) |
Checks if relation at least/at most with given reference value is acyclic.
|
boolean |
PreferenceGraph.isComplete(Field referenceValue,
int consideredRelations) |
Checks if relation at least/at most with given reference value is complete.
|
boolean |
PreferenceGraph.isCycle(java.util.ArrayList<java.lang.Integer> listOfVertexIndices,
Field referenceValue,
int consideredRelations) |
Checks whether given list of vertex indices corresponds to a cycle for relation "at least" / "at most" with given reference value.
|
boolean |
PreferenceGraph.isTransitive(Field referenceValue,
int consideredRelations) |
Checks if relation at least/at most with given reference value is transitive.
If for some pair of vertices, satisfaction degree of considered relation is lower than 1.0, then it is assumed that this relation holds when satisfaction degree is >= 0.5, and relation does not hold, when satisfaction degree is < 0.5. Does not take into account self-loops, i.e., pairs of vertices of type (x,x). |
void |
PreferenceGraph.removeArc(int vertexIndex1,
int vertexIndex2,
Field referenceValue,
int consideredRelations) |
Removes from this preference graph an arc between vertices with given indices,
for "at least" / "at most" relation with given reference value,
if such an arc is present in this graph.
|
void |
PreferenceGraph.revertArcs(Field referenceValue,
int consideredRelations) |
Reverts all arcs corresponding to relation "at least" or "at most" with given reference value.
For example, if pair (x,y) belongs to relation "at most -1.0" and consideredRelations == AT_MOST_RELATIONS ,
then pair (y,x) is added to relation "at least 1.0" and pair (x,y) is deleted from relation "at most -1.0". |
void |
PreferenceGraph.setAtLeastRelationSatisfactionDegree(int vertexIndex1,
int vertexIndex2,
Field referenceValue,
double satisfactionDegree) |
Sets satisfaction degree for "at least" relation with given reference value and pair of vertices with given indices
|
void |
PreferenceGraph.setAtMostRelationSatisfactionDegree(int vertexIndex1,
int vertexIndex2,
Field referenceValue,
double satisfactionDegree) |
Sets satisfaction degree for "at most" relation with given reference value and pair of vertices with given indices
|
void |
RankRule.setReferenceValue(Field referenceValue) |
Sets reference value of explored "at least" / "at most" relation
|
Modifier and Type | Method | Description |
---|---|---|
void |
PreferenceGraph.setAtLeastRelationSatisfactionDegrees(int vertexIndex1,
int vertexIndex2,
java.util.Hashtable<Field,java.lang.Double> atLeastRelationSatisfactionDegrees) |
Sets hash table with keys corresponding to reference values of relations "at least",
and values corresponding to satisfaction degrees of these relations,
for ordered pair of vertices with given indices.
SIC! |
void |
PreferenceGraph.setAtMostRelationSatisfactionDegrees(int vertexIndex1,
int vertexIndex2,
java.util.Hashtable<Field,java.lang.Double> atMostRelationSatisfactionDegrees) |
Sets hash table with keys corresponding to reference values of relations "at most",
and values corresponding to satisfaction degrees of these relations,
for ordered pair of vertices with given indices.
SIC! |
Constructor | Description |
---|---|
RankRule(Field referenceValue,
int consideredRelations) |
Constructor for
RankRule class. |
Constructor | Description |
---|---|
PreferenceGraphGeneratorVirtualAllRules(MemoryContainer informationTable,
EvaluationDifference2PreferenceIntensityDegree evaluationDifference2PreferenceIntensityDegree,
UnionContainer unionContainer,
int consideredRelations,
boolean calculateFuzzySatisfactionDegrees,
int objectConsistencyMeasure,
java.util.HashMap<Field,java.lang.Double> objectConsistencyMeasureUpwardThresholds,
java.util.HashMap<Field,java.lang.Double> objectConsistencyMeasureDownwardThresholds,
int negativeExamplesTreatment) |
Constructor for
PreferenceGraphGeneratorVirtualAllRules class,
which sets this generator to work in VC-DRSA mode with certain rules only,
using one of monotonic object consistency measures $\epsilon$, $\epsilon*$ or $\epsilon'$. |
PreferenceGraphWFNFS(java.util.Hashtable<Field,java.lang.Double> atLeastWeights,
java.util.Hashtable<Field,java.lang.Double> atMostWeights) |
Constructor for
PreferenceGraphWFNFS class. |
WFNFSWeights(java.util.Hashtable<Field,java.lang.Double> atLeastWeights,
java.util.Hashtable<Field,java.lang.Double> atMostWeights,
java.lang.String name) |
Constructor for
WFNFSWeights class |
Modifier and Type | Method | Description |
---|---|---|
Field |
Rule.getCharacteristicDecisionClass() |
Gets characteristic decision class of this rule.
|
Field[] |
RulesContainer.getClasses() |
Gets list of all possible values of decision attribute collected from learning memory container
for which this rules' container has been created.
|
Field |
DecisionCondition.getReferenceValue() |
Gets decision condition's reference value
|
Field |
PairCondition.getReferenceValue() |
|
Field |
Relation.getReferenceValue() |
Gets reference to the duplicate of value stored in this relation or
null
if reference value is not set |
Field |
SingleCondition.getReferenceValue() |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
Relation.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationAtLeast.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationAtLeastForPairOfValues.fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
boolean |
RelationAtMost.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationAtMostForPairOfValues.fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
boolean |
RelationEqual.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationEqualForPairOfValues.fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
boolean |
RelationGreaterThan.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationGreaterThanForPairOfValues.fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
boolean |
RelationLessThan.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
boolean |
RelationLessThanForPairOfValues.fulfilledBy(Field pairOfValues) |
Checks if given pair of values (object of type
PairField ) fulfills this relation. |
boolean |
RelationNotEqual.fulfilledBy(Field value) |
Checks if given value fulfills this relation.
|
static java.util.ArrayList<Rule> |
EntireDominanceConesRulesForBordersOfApproximations.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples,
double requiredMinimalConfidence) |
TODO
|
java.util.ArrayList<Rule> |
EntireGranulesRuleGenerator.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Generates decision rules of given type (certain, possible or approximate),
for given characteristic decision class (basic class of some union of decision classes or single decision class),
for given characteristic decision class usage tip (which tells if given characteristic decision class is
basic class of some upward (
Rule.AT_LEAST ) or downward (Rule.AT_MOST ) union of decision classes
or just single decision class (Rule.EQUAL );
value of this parameter affects also type of created conditions),
for given decisions (which will be set on the right (decision) side of all created and returned rules),
for given learning memory container which may be either decision table, or PCT, or similarity table,
and for given array with numbers of positive examples from given learning memory container
(which may come from lower / upper approximation or boundary of some decision class
or from lower / upper approximation of some upward / downward union of decision classes). |
java.util.ArrayList<Rule> |
VCDomLem.generateRulesForPositiveExamples(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples,
int[] numbersOfApproximatedEntityExamples,
double variableConsistencyMeasureValueThreshold,
int conditionsSelectionMethod,
java.util.HashSet<java.lang.Integer> numbersOfPermittedNegativeCoveredExamples,
java.util.HashSet<java.lang.Integer> numbersOfNeutralExamples) |
Generates decision rules of given type (certain, possible or approximate),
for given characteristic decision class (basic class of some union of decision classes or single decision class),
for given characteristic decision class usage tip (which tells if given characteristic decision class is
basic class of some upward (
Rule.AT_LEAST ) or downward (Rule.AT_MOST ) union of decision classes
or just single decision class (Rule.EQUAL );
value of this parameter affects also type of created conditions),
for given decisions (which will be set on the right (decision) side of all created and returned rules),
for given learning memory container which may be either decision table, or PCT, or similarity table,
for given array with numbers of positive examples from given learning memory container
(which may come from lower / upper approximation or boundary of some decision class
or from lower / upper approximation of some upward / downward union of decision classes),
for given variable consistency measure value threshold (support for variable consistency approach),
for given method of selection of conditions
and for given hash set with numbers of permitted negative examples (used only for VC-IRSA / VC-DRSA).SIC! |
void |
RulesContainer.setClasses(Field[] classes) |
Sets list of all possible values of decision attribute collected from learning memory container
for which this rules' container has been created.
Given array is directly stored in this class. |
void |
Relation.setReferenceValue(Field referenceValue) |
Sets reference value for this relation.
|
Constructor | Description |
---|---|
OptRule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
double consistencyLevel,
ApproximatedEntity approximatedEntity,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor) |
|
OptRule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Extends
Rule(int, int, Field, ConditionValidator, HashSet, HashSet, MemoryContainer, int[]) constructor. |
OptRule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
Attribute[] learningAttributes) |
Extends
Rule(int, int, Field, ConditionValidator, HashSet, HashSet, Attribute[]) constructor. |
OptRule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Extends
Rule(int, int, Field, ConditionValidator, HashSet, MemoryContainer, int[]) constructor. |
OptRule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Extends
Rule(int, int, Field, ConditionValidator, MemoryContainer, int[]) constructor. |
RelationAtLeast(Field referenceValue) |
Constructor for
RelationAtLeast class |
RelationAtMost(Field referenceValue) |
Constructor for RelationAtMost class
|
RelationEqual(Field referenceValue) |
Constructor for RelationEqual class
|
RelationGreaterThan(Field referenceValue) |
Constructor for RelationGreaterThan class
|
RelationLessThan(Field referenceValue) |
Constructor for RelationLessThan class
|
RelationNotEqual(Field referenceValue) |
Constructor for RelationNotEqual class
|
Rule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
double consistencyLevel,
ApproximatedEntity approximatedEntity,
ApproximatedEntityDecisionsPredictor approximatedEntityDecisionsPredictor) |
Constructs rule of given type, for given characteristic decision class
and tip for its usage, from given conditions and decisions and for given learning memory container.
|
Rule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Constructs rule of given type, for given characteristic decision class
and tip for its usage, from given conditions and decisions, for given learning memory container
and for given array with numbers of positive examples from learning memory container for which this rule
was induced.
|
Rule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> conditions,
java.util.HashSet<Condition> decisions,
Attribute[] learningAttributes) |
Constructs rule of given type, for given characteristic decision class
and tip for its usage, from given conditions and decisions and for given attributes from learning memory container.
Stores references to condition validator and learning attributes, without coping. |
Rule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
java.util.HashSet<Condition> decisions,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Constructs rule of given type, for given characteristic decision class
and tip for its usage, from given decisions, for given learning memory container
and for given array with numbers of positive examples from learning memory container for which this rule
was induced.
|
Rule(int type,
int characteristicDecisionClassUsageTip,
Field characteristicDecisionClass,
ConditionValidator conditionValidator,
MemoryContainer learningMemoryContainer,
int[] numbersOfPositiveExamples) |
Constructs rule of given type, for given characteristic decision class
and tip for its usage, for given learning memory container and for given array with numbers of positive examples
from learning memory container for which this rule was induced.
|
RulesContainer(java.lang.String rulesFormat,
double consistencyLevel,
Field[] classes,
Attribute[] learningAttributes) |
Constructor for
RulesContainer class, creating rules' container for given rules' format,
array with all possible values of decision attribute (can be null if unknown, but cannot be empty),
level of consistency and array with attributes from learning memory container. |
Modifier and Type | Class | Description |
---|---|---|
class |
CardinalField |
This class is used to store non-negative integer values.
|
class |
CompoundField |
Provides fields, which store values using SimpleField inside.
|
class |
EnumField |
Contains a value from a user defined domain.
|
class |
FloatField |
This class keeps real values.
|
class |
FuzzyField |
Compound field with a list consisted of
Possibility elements. |
class |
IntegerField |
Use this class to store integer values into field.
|
class |
IntervalField |
Represents an interval consisted of two simple fields.
|
class |
PairField |
Class basing on
IntervalField , used to store pairs of simple values. |
class |
SimpleField |
Represents special kind of fields, which can be stored in compound fields.
|
class |
StringField |
This class represents any string value.
|
class |
TrapezoidalField |
It is an extension of usual interval.
|
Modifier and Type | Method | Description |
---|---|---|
Field |
CardinalField.duplicate() |
|
Field |
EnumField.duplicate() |
|
abstract Field |
Field.duplicate() |
Makes a new instance of a field.
|
Field |
FloatField.duplicate() |
|
Field |
FuzzyField.duplicate() |
|
Field |
IntegerField.duplicate() |
|
Field |
IntervalField.duplicate() |
|
Field |
PairField.duplicate() |
Returns a duplicate of this field, containing the same elements.
|
Field |
StringField.duplicate() |
|
Field |
TrapezoidalField.duplicate() |
|
Field |
Example.getField(int index) |
Gives a reference to a field at a specified index.
|
Field |
Attribute.getInitialValue() |
Returns a field, which is created in new examples.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Integer |
FuzzyField.compareTo(Field object) |
Compares other field to this field.
|
java.lang.Integer |
IntervalField.compareTo(Field object) |
Compares other field to this field.
|
java.lang.Integer |
PairField.compareTo(Field object) |
Compares other object to this object.
|
java.lang.Integer |
SimpleField.compareTo(Field arg0) |
Compares two fields.
|
java.lang.Integer |
TrapezoidalField.compareTo(Field object) |
Compares other field to this field.
|
void |
CardinalField.copy(Field field) |
It makes a copy of class variables.
|
void |
EnumField.copy(Field field) |
It makes a copy of class variables.
|
abstract void |
Field.copy(Field field) |
Takes all parameters from given field to itself.
|
void |
FloatField.copy(Field field) |
It makes a copy of class variables.
|
void |
FuzzyField.copy(Field field) |
It makes a copy of class variables.
|
void |
IntegerField.copy(Field field) |
It makes a copy of class variables.
|
void |
IntervalField.copy(Field field) |
It makes a copy of class variables.
|
void |
PairField.copy(Field field) |
Makes and saves a copy of given field.
|
void |
StringField.copy(Field field) |
It makes a copy of class variables.
|
void |
TrapezoidalField.copy(Field field) |
It makes a copy of class variables taking their values from given interval.
|
boolean |
EnumField.isSimilarTo(Field field) |
Tests if given field's type and domain are the same as this one.
|
abstract boolean |
Field.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
boolean |
FuzzyField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
boolean |
IntervalField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
boolean |
PairField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
boolean |
SimpleField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
boolean |
TrapezoidalField.isSimilarTo(Field field) |
Tests if given field's type is similar to this one.
|
void |
Example.setField(Field[] fields) |
Sets fields of this example.
|
void |
Attribute.setInitialValue(Field initialValue) |
Sets initial value of this attribute
|
Constructor | Description |
---|---|
Attribute(java.lang.String name,
Field initialValue) |
Creates an active attribute with reference to a default field.
|
Example(Attribute[] attribs,
Field[] fields) |
Creates an example with given values (which must be suitable to the attributes).
|
Example(Field[] fields) |
Makes a new example with given values.
|