edu.washington.cs.knowitall.extractor.conf.classifier
Class LogisticRegression<E>

java.lang.Object
  extended by edu.washington.cs.knowitall.extractor.conf.classifier.LogisticRegression<E>

public class LogisticRegression<E>
extends Object


Constructor Summary
LogisticRegression(FeatureSet<E> featureSet, InputStream input)
           
LogisticRegression(FeatureSet<E> featureSet, Map<String,Double> weights)
           
 
Method Summary
static Map<String,Double> buildFeatureWeightMap(InputStream input)
           
 double confidence(E extraction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogisticRegression

public LogisticRegression(FeatureSet<E> featureSet,
                          Map<String,Double> weights)

LogisticRegression

public LogisticRegression(FeatureSet<E> featureSet,
                          InputStream input)
                   throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

buildFeatureWeightMap

public static Map<String,Double> buildFeatureWeightMap(InputStream input)
                                                throws FileNotFoundException
Throws:
FileNotFoundException

confidence

public double confidence(E extraction)


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