-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/metadatacenter/cedar-project/issues/1198
- Loading branch information
Attila L. Egyedi
committed
Nov 8, 2023
1 parent
edb7301
commit f167b32
Showing
15 changed files
with
24 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...enter/intelligentauthoring/valuerecommender/associationrules/AssociationRulesService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...nter/intelligentauthoring/valuerecommender/associationrules/IAssociationRulesService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...elligentauthoring/valuerecommender/associationrules/elasticsearch/ArffAttributeValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...tacenter/intelligentauthoring/valuerecommender/associationrules/elasticsearch/EsRule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...nter/intelligentauthoring/valuerecommender/associationrules/elasticsearch/EsRuleItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 1 addition & 36 deletions
37
...datacenter/intelligentauthoring/valuerecommender/domainobjects/RecommendationDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,5 @@ | ||
package org.metadatacenter.intelligentauthoring.valuerecommender.domainobjects; | ||
|
||
public class RecommendationDetails { | ||
public record RecommendationDetails(String rule, Double contextMatchingScore, Double ruleConfidence, Double ruleSupport, RecommendedValue.RecommendationType recommendationType) { | ||
|
||
private final String rule; | ||
private final Double contextMatchingScore; | ||
private final Double ruleConfidence; | ||
private final Double ruleSupport; | ||
private final RecommendedValue.RecommendationType recommendationType; | ||
|
||
public RecommendationDetails(String rule, Double contextMatchingScore, Double ruleConfidence, Double ruleSupport, | ||
RecommendedValue.RecommendationType recommendationType) { | ||
|
||
this.rule = rule; | ||
this.contextMatchingScore = contextMatchingScore; | ||
this.ruleConfidence = ruleConfidence; | ||
this.ruleSupport = ruleSupport; | ||
this.recommendationType = recommendationType; | ||
} | ||
|
||
public String getRule() { | ||
return rule; | ||
} | ||
|
||
public Double getContextMatchingScore() { | ||
return contextMatchingScore; | ||
} | ||
|
||
public Double getRuleConfidence() { | ||
return ruleConfidence; | ||
} | ||
|
||
public Double getRuleSupport() { | ||
return ruleSupport; | ||
} | ||
|
||
public RecommendedValue.RecommendationType getRecommendationType() { | ||
return recommendationType; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...rc/main/java/org/metadatacenter/intelligentauthoring/valuerecommender/util/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters