-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from act-org/EBI-item-selection
Ebi item selection
- Loading branch information
Showing
51 changed files
with
1,992 additions
and
1,490 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
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
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
Binary file not shown.
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
96 changes: 48 additions & 48 deletions
96
...java/org/act/cat/ScoringMethodConfig.java → .../act/cat/AbstractScoringMethodConfig.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,48 +1,48 @@ | ||
package org.act.cat; | ||
|
||
import org.act.util.ProbDistribution; | ||
|
||
/** | ||
* This class defines a scoring method configuration. Parameters in the | ||
* configuration are applied to the scoring algorithm. | ||
*/ | ||
public abstract class ScoringMethodConfig { | ||
|
||
private final ProbDistribution priorDistribution; | ||
|
||
/** | ||
* Constructs an empty {@link ScoringMethodConfig}. | ||
*/ | ||
public ScoringMethodConfig() { | ||
this.priorDistribution = null; | ||
} | ||
|
||
/** | ||
* Constructs a new {@link ScoringMethodConfig}. | ||
* | ||
* @param priorDistribution the prior distribution used in the scoring | ||
* method. | ||
* @see ProbDistribution | ||
*/ | ||
public ScoringMethodConfig(ProbDistribution priorDistribution) { | ||
this.priorDistribution = priorDistribution; | ||
} | ||
|
||
/** | ||
* Returns the type of the scoring method related to the configuration. | ||
* | ||
* @return the type of the scoring method | ||
*/ | ||
public abstract ScoringMethod.SUPPORTED_METHODS scoringMethod(); | ||
|
||
/** | ||
* Returns the prior distribution used in the scoring method. | ||
* | ||
* @return the prior distribution | ||
* @see ProbDistribution | ||
*/ | ||
public ProbDistribution getPriorDistribution() { | ||
return priorDistribution; | ||
} | ||
|
||
} | ||
package org.act.cat; | ||
|
||
import org.act.util.ProbDistribution; | ||
|
||
/** | ||
* This class defines a scoring method configuration. Parameters in the | ||
* configuration are applied to the scoring algorithm. | ||
*/ | ||
public abstract class AbstractScoringMethodConfig { | ||
|
||
private final ProbDistribution priorDistribution; | ||
|
||
/** | ||
* Constructs an empty {@link AbstractScoringMethodConfig}. | ||
*/ | ||
public AbstractScoringMethodConfig() { | ||
this.priorDistribution = null; | ||
} | ||
|
||
/** | ||
* Constructs a new {@link AbstractScoringMethodConfig}. | ||
* | ||
* @param priorDistribution the prior distribution used in the scoring | ||
* method. | ||
* @see ProbDistribution | ||
*/ | ||
public AbstractScoringMethodConfig(ProbDistribution priorDistribution) { | ||
this.priorDistribution = priorDistribution; | ||
} | ||
|
||
/** | ||
* Returns the type of the scoring method related to the configuration. | ||
* | ||
* @return the type of the scoring method | ||
*/ | ||
public abstract ScoringMethod.SUPPORTED_METHODS scoringMethod(); | ||
|
||
/** | ||
* Returns the prior distribution used in the scoring method. | ||
* | ||
* @return the prior distribution | ||
* @see ProbDistribution | ||
*/ | ||
public ProbDistribution getPriorDistribution() { | ||
return priorDistribution; | ||
} | ||
|
||
} |
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
Oops, something went wrong.