edu.berkeley.compbio.jlibsvm
Interface SvmProblem<L extends java.lang.Comparable,P,R>

All Known Subinterfaces:
BinaryClassificationProblem<L,P>, ExplicitSvmProblem<L,P,R>, MultiClassProblem<L,P>, MutableSvmProblem<L,P,R>, OneClassProblem<L,P>, RegressionProblem<P,R>
All Known Implementing Classes:
AbstractSvmProblem, BinaryClassificationProblemImpl, BooleanClassificationProblemImpl, ExplicitSvmProblemImpl, MultiClassProblemImpl, MutableBinaryClassificationProblemImpl, MutableMultiClassProblemImpl, MutableOneClassProblemImpl, MutableRegressionProblemImpl, OneClassProblemImpl, RegressionProblemImpl

public interface SvmProblem<L extends java.lang.Comparable,P,R>

* An SVM problem consisting of a mapping of training examples to labels. The generic parameters are L, the label type; P, the type of objects to be classified, and R, the concrete type of the problem itself. An SVM problem

Version:
$Id$
Author:
David Soergel

Method Summary
 com.google.common.collect.Multiset<L> getExampleCounts()
           
 java.util.Map<P,java.lang.Integer> getExampleIds()
           
 java.util.Map<P,L> getExamples()
           
 java.util.Set<P> getHeldOutPoints()
           
 int getId(P key)
           
 java.util.List<L> getLabels()
           
 int getNumExamples()
           
 ScalingModel<P> getScalingModel()
           
 L getTargetValue(P point)
           
 java.util.Iterator<R> makeFolds(int numberOfFolds)
           
 

Method Detail

getExampleCounts

com.google.common.collect.Multiset<L> getExampleCounts()

getExampleIds

java.util.Map<P,java.lang.Integer> getExampleIds()

getExamples

java.util.Map<P,L> getExamples()

getId

int getId(P key)

getLabels

java.util.List<L> getLabels()

getNumExamples

int getNumExamples()

getScalingModel

ScalingModel<P> getScalingModel()

getTargetValue

L getTargetValue(P point)

makeFolds

java.util.Iterator<R> makeFolds(int numberOfFolds)

getHeldOutPoints

java.util.Set<P> getHeldOutPoints()


Copyright © 2008-2010 Brenner Lab, UC Berkeley. All Rights Reserved.