edu.berkeley.compbio.jlibsvm
Class SvmParameter<L>

java.lang.Object
  extended by edu.berkeley.compbio.jlibsvm.SvmParameter<L>

public class SvmParameter<L>
extends java.lang.Object

I do not like it

Version:
$Id$
Author:
David Soergel

Field Summary
 MultiClassModel.AllVsAllMode allVsAllMode
           
 float C
           
 float cache_size
           
 float eps
           
 int falseClassSVlimit
           
 double minVoteProportion
           
 boolean normalizeL2
           
 float nu
           
 MultiClassModel.OneVsAllMode oneVsAllMode
           
 double oneVsAllThreshold
           
 float p
           
 boolean probability
           
 boolean redistributeUnbalancedC
          For unbalanced data, redistribute the misclassification cost C according to the numbers of examples in each class, so that each class has the same total misclassification weight assigned to it and the average is param.C
 boolean scaleBinaryMachinesIndependently
           
 int scalingExamples
          When learning scaling, only bother with this many examples, assuming they're in random order.
 boolean shrinking
           
 
Constructor Summary
SvmParameter()
           
SvmParameter(SvmParameter copyFrom)
           
 
Method Summary
 int getCacheRows()
           
 java.lang.Float getWeight(L key)
           
 java.util.Map<L,java.lang.Float> getWeights()
           
 void putWeight(L key, java.lang.Float weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache_size

public float cache_size

eps

public float eps

C

public float C

nu

public float nu

p

public float p

shrinking

public boolean shrinking

probability

public boolean probability

oneVsAllThreshold

public double oneVsAllThreshold

oneVsAllMode

public MultiClassModel.OneVsAllMode oneVsAllMode

allVsAllMode

public MultiClassModel.AllVsAllMode allVsAllMode

minVoteProportion

public double minVoteProportion

falseClassSVlimit

public int falseClassSVlimit

redistributeUnbalancedC

public boolean redistributeUnbalancedC
For unbalanced data, redistribute the misclassification cost C according to the numbers of examples in each class, so that each class has the same total misclassification weight assigned to it and the average is param.C


scaleBinaryMachinesIndependently

public boolean scaleBinaryMachinesIndependently

normalizeL2

public boolean normalizeL2

scalingExamples

public int scalingExamples
When learning scaling, only bother with this many examples, assuming they're in random order.

Constructor Detail

SvmParameter

public SvmParameter()

SvmParameter

public SvmParameter(SvmParameter copyFrom)
Method Detail

getWeights

public java.util.Map<L,java.lang.Float> getWeights()

getCacheRows

public int getCacheRows()

getWeight

public java.lang.Float getWeight(L key)

putWeight

public void putWeight(L key,
                      java.lang.Float weight)


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