gov.llnl.ontology.mains
Class NetworkConfluency
java.lang.Object
gov.llnl.ontology.mains.NetworkConfluency
public class NetworkConfluency
- extends Object
- Author:
- Keith Stevens
Constructor Summary |
NetworkConfluency(edu.ucla.sspace.matrix.SparseMatrix matrix1,
edu.ucla.sspace.matrix.SparseMatrix matrix2)
|
NetworkConfluency(String matrixFile1,
String matrixFile2,
edu.ucla.sspace.matrix.MatrixIO.Format format)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkConfluency
public NetworkConfluency(String matrixFile1,
String matrixFile2,
edu.ucla.sspace.matrix.MatrixIO.Format format)
throws IOException
- Throws:
IOException
NetworkConfluency
public NetworkConfluency(edu.ucla.sspace.matrix.SparseMatrix matrix1,
edu.ucla.sspace.matrix.SparseMatrix matrix2)
computeInitialAgreement
public double computeInitialAgreement()
computeExtendedAgreement
public double computeExtendedAgreement()
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
computeKappaScore
public static double computeKappaScore(Set<edu.stanford.nlp.util.IntPair> edges1,
Set<edu.stanford.nlp.util.IntPair> edges2,
int numNodes)
multiply
public static edu.ucla.sspace.matrix.Matrix multiply(edu.ucla.sspace.matrix.SparseMatrix a,
edu.ucla.sspace.matrix.SparseMatrix b)
Copyright © 2010-2011. All Rights Reserved.