Class MaxEntScorer


  • public class MaxEntScorer
    extends de.julielab.geneexpbase.scoring.Scorer
    • Constructor Detail

      • MaxEntScorer

        public MaxEntScorer​(InputStream is)
      • MaxEntScorer

        public MaxEntScorer​(File modelFile)
    • Method Detail

      • getScore

        public double getScore​(String term1,
                               String term2)
                        throws RuntimeException
        get the score for an unlabeled pair
        Specified by:
        getScore in class de.julielab.geneexpbase.scoring.Scorer
        Parameters:
        term1 - term 1 (needs to be normalized!)
        term2 - term 2 (needs to be normalized!)
        Returns:
        Throws:
        Exception
        RuntimeException
      • main

        public static void main​(String[] args)
      • info

        public String info()
        Specified by:
        info in class de.julielab.geneexpbase.scoring.Scorer
      • getScorerType

        public int getScorerType()
        Specified by:
        getScorerType in class de.julielab.geneexpbase.scoring.Scorer