edu.washington.cs.knowitall.argumentidentifier
Class ConfidenceMetric

java.lang.Object
  extended by edu.washington.cs.knowitall.argumentidentifier.ConfidenceMetric
All Implemented Interfaces:
ConfidenceFunction

public class ConfidenceMetric
extends Object
implements ConfidenceFunction

An extraction confidence function that uses a logistic regression classifier. It assigns an extraction a real valued number between 0 and 1 according to the logistic regression model.

Author:
janara

Constructor Summary
ConfidenceMetric()
           
ConfidenceMetric(LogisticRegression<ChunkedBinaryExtraction> logreg)
           
ConfidenceMetric(URL url)
           
 
Method Summary
 double getConf(ChunkedBinaryExtraction extr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfidenceMetric

public ConfidenceMetric()
                 throws IOException
Throws:
IOException

ConfidenceMetric

public ConfidenceMetric(LogisticRegression<ChunkedBinaryExtraction> logreg)
                 throws IOException
Throws:
IOException

ConfidenceMetric

public ConfidenceMetric(URL url)
                 throws IOException
Throws:
IOException
Method Detail

getConf

public double getConf(ChunkedBinaryExtraction extr)
               throws ConfidenceFunctionException
Specified by:
getConf in interface ConfidenceFunction
Throws:
ConfidenceFunctionException


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.