Package owlsmx.similaritymeasures

Examples of owlsmx.similaritymeasures.JensenShannonMeasure


        case 2:
            return new ExtendedJaccardMeasure();
        case 3:
            return new CosineSimilarity();
        case 4:
            return new JensenShannonMeasure();
        default:
            return null;
        }
    }
View Full Code Here


        if (similarity == SimilarityMeasure.SIMILARITY_NONE) {
            SimpleIndex.instanceOf().clear();
            return null;
        }
        else if (similarity == SimilarityMeasure.SIMILARITY_JENSEN_SHANNON)
             return new JensenShannonMeasure(this.sim);
        else if (similarity == SimilarityMeasure.SIMILARITY_COSINE)
            return new CosineSimilarity(this.sim);
         else if (similarity == SimilarityMeasure.SIMILARITY_EXTENDED_JACCARD)
             return new ExtendedJaccardMeasure(this.sim);
         else //(similarity == SimilarityMatchmaker.SIMILARITY_LOI)
View Full Code Here

TOP

Related Classes of owlsmx.similaritymeasures.JensenShannonMeasure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.