| Modifier and Type | Method and Description |
|---|---|
LocalSimilarityFunction |
NNConfig.getLocalSimilFunction(Attribute attribute)
Gets the local similarity function configured for a given simple attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NNConfig.addMapping(Attribute attribute,
LocalSimilarityFunction similFunction)
Sets the local similarity function to apply to a simple attribute.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InContextLocalSimilarityFunction
Extension of the LocalSimilarityFunction for measures that need data about other attributes of the case or current CaseComponent.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnumCyclicDistance
This function computes the similarity between two enum values as their cyclic
distance.
|
class |
EnumDistance
This function returns the similarity of two enum values as the their distance
sim(x,y)=|ord(x) - ord(y)|
|
class |
Equal
This function returns 1 if both individuals are equal, otherwise returns 0
|
class |
EqualsStringIgnoreCase
This function returns 1 if both String are the same despite case letters, 0
in the other case
|
class |
Interval
This function returns the similarity of two number inside an interval.
|
class |
MaxString
This function returns a similarity value depending of the biggest substring
that belong to both strings.
|
class |
Table
Similarity function that uses a table to obtain the similarity between two values.
|
class |
Threshold
This function returns 1 if the difference between two numbers is less than a
threshold, 0 in the other case.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OntCosine
This function computes the cosine similarity.
|
class |
OntDeep
This function computes the fdeep similarity.
|
class |
OntDeepBasic
This function computes the fdeep_basic similarity.
|
class |
OntDetail
This function computes the detail similarity.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InrecaLessIsBetter
This function returns the similarity of two numbers (or enums) following
the INRECA - Less is Better formulae
sim(c.a,q.a)= if(c.a < q.a) then 1 else jump * (max(a) - c.a) / (max(a) - q.a)
jump and max(a) must be defined by the designer.
|
class |
InrecaMoreIsBetter
This function returns the similarity of two numbers (or Enums) following
the INRECA - More is Better formulae
sim(c.a,q.a)= if(c.a > q.a) then 1 else jump * (1- (q.a - c.a) / q.a))
jump must be defined by the designer.
|
class |
McSherryLessIsBetter
This function returns the similarity of two numbers following
the McSherry - Less is Better formulae
sim(c.a,q.a)= (max(a) - c.a) / (max(a)-min(a))
min(a) and max(a) must be defined by the designer. q.a is not taken into account.
|
class |
McSherryMoreIsBetter
This function returns the similarity of two numbers following
the McSherry - More is Better formulae
sim(c.a,q.a)= 1 - ((max(a) - c.a) / (max(a)-min(a)))
min(a) and max(a) must be defined by the designer. q.a is not taken into account.
|
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.