All Packages   Class Hierarchy Index of Fields and Methods
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addElement(Classification). Method in class jsvm.ClassificationSet
Adds a Classification item to the set.
addExample(boolean, FeatureSet). Method in class jsvm.TrainingType
Adds an example to this training class.
addExample(String, boolean, FeatureSet). Method in class jsvm.TrainingSet
Adds an example to the class, type.
addFeature(long, double). Method in class jsvm.FeatureSet
Adds a feature/value pair to the set.
addType(TrainingType). Method in class jsvm.TrainingSet
Adds a set of training data for a particular class.

B

buildModels(TrainingSet). Method in interface jsvm.server.ClassificationProxy
buildModels(TrainingSet). Method in class jsvm.Svm
Builds a set of models based on the training data in C.
buildModels(TrainingSet). Method in class jsvm.server.SvmProxy
buildTwice(String, String). Method in class jsvm.SvmTest
  1. Loads a training data file
  2. Builds models based on the data
  3. Loads another training data file
  4. Builds models based on the new set of data
Result: Exception will be thrown because after building the first set of models, the data structure must be cleared before building another set of models.
buildTwiceCorrect(String, String, String, String). Method in class jsvm.SvmTest
  1. Loads a training data file
  2. Builds models
  3. Writes models to file
  4. Removes data structure
  5. Loads another training data file
  6. Builds models
  7. Writes models to file
Result: Successfully writes the two sets of models to files m1 and m2.

C

Classification(String, double). Constructor for class jsvm.Classification
Creates an instance with type type and confidence value confidence.
ClassificationSet(). Constructor for class jsvm.ClassificationSet
Class constructor.
classify(FeatureSet). Method in interface jsvm.server.ClassificationProxy
classify(FeatureSet). Method in class jsvm.Svm
Classifies this feature set based on the current model.
classify(FeatureSet). Method in class jsvm.server.SvmProxy
classify(TrainingSet). Method in interface jsvm.server.ClassificationProxy
classify(TrainingSet). Method in class jsvm.Svm
Classifies test examples, returns the predictions, and calculates the accuracy of the classification.
classify(TrainingSet). Method in class jsvm.server.SvmProxy
classify(TrainingType). Method in interface jsvm.server.ClassificationProxy
classify(TrainingType). Method in class jsvm.Svm
Classifies test examples, returns the predictions, and calculates the accuracy of the classification.
classify(TrainingType). Method in class jsvm.server.SvmProxy
classify(Vector). Method in interface jsvm.server.ClassificationProxy
classify(Vector). Method in class jsvm.Svm
Classifies test examples and returns the predictions.
classify(Vector). Method in class jsvm.server.SvmProxy
classifyFromFile(String, String, String). Method in class jsvm.SvmTest
  1. Loads a model file
  2. Classifies a data file
  3. Writes predictions to a file
classifyOneExample(String). Method in class jsvm.SvmTest
  1. Loads a training data file
  2. Builds models
  3. Generates an example
  4. Classifies the example
  5. Prints confidence values to standard out
Result: Successfully classifies the example and prints out a list of distribution values.
classifyWithoutModels(). Method in class jsvm.SvmTest
  1. Generates an example
  2. Classifies the example
  3. Prints a list of confidence values
Result: Exception thrown because models do not exist.
connect(). Method in interface jsvm.server.ClassificationServer
connect(). Method in class jsvm.server.SvmServer

D

DEBUG_MESSAGES. Static variable in class jsvm.Svm
SVM-Light kernel prints full debug information.

E

elements(). Method in class jsvm.ClassificationSet

F

FeatureSet(). Constructor for class jsvm.FeatureSet

G

getClassification(String). Method in class jsvm.ClassificationSet
getConfidence(). Method in class jsvm.Classification
getHighest(). Method in class jsvm.ClassificationSet
getID(). Method in interface jsvm.server.ClassificationProxy
getID(). Method in class jsvm.Svm
Gets the ID for this Svm object.
getID(). Method in class jsvm.server.SvmProxy
getIds(). Method in class jsvm.FeatureSet
getName(). Method in class jsvm.TrainingType
getType(). Method in class jsvm.Classification
getType(String). Method in class jsvm.TrainingSet
getValues(). Method in class jsvm.FeatureSet
getVerbosityLevel(). Method in class jsvm.Svm
Gets the current verbosity level.

H


I

initTokenizer(StreamTokenizer). Method in class jsvm.OrigSvmParser
Initializes the stream tokenizer.

J


K


L

LabeledTestCaseParser(). Constructor for class jsvm.LabeledTestCaseParser
LINEAR_KERNEL. Static variable in class jsvm.Svm
Basic linear kernel type.
loadAndBuild(String, String). Method in class jsvm.SvmTest
Loads a training data file, builds models, and writes models to a file.
loadBuildClassify(String, String). Method in class jsvm.SvmTest
  1. Loads a training data file
  2. Builds models
  3. Loads a test data file
  4. Classifies
loadModelAndClassify(String). Method in class jsvm.SvmTest
  1. Loads a model file
  2. Creates an example
  3. Classifies the example
Result: prints out the distribution values as the result of classifying the example.
loadModels(InputStream). Method in interface jsvm.server.ClassificationProxy
loadModels(InputStream). Method in class jsvm.Svm
Loads and builds model data structures for classifiers in C.

loadModels(InputStream). Method in class jsvm.server.SvmProxy
loadTrainingData(InputStream, boolean). Static method in class jsvm.Svm
Loads training data.
loadTwoModelFiles(String, String). Method in class jsvm.SvmTest
  1. Loads model file
  2. Loads another model file
Result: Exception thrown because if models already exist, the program cannot load another model file.

M

main(String[]). Static method in class jsvm.server.SvmServer
main(String[]). Static method in class jsvm.SvmTest
maxFeatureId(). Method in class jsvm.FeatureSet
maxFeatureId(). Method in class jsvm.TrainingType
multiLoadAndBuild(String, String, String, String, String, String). Method in class jsvm.SvmTest
Creates 3 Svm instances, loads training data into each, build models, and writes models out to files.
multiLoadBuildClassify(String, String, String, String). Method in class jsvm.SvmTest
Creates 3 Svm instances, loads training data into each, build models, and classifies the test examples.
multiSvm(). Method in class jsvm.SvmTest
Creates 2 Svm instances and sets the verbosity level.

N

negExamples(). Method in class jsvm.TrainingType
NUM_KERNEL_TYPES. Static variable in class jsvm.Svm
The nubmer of kernel types.
NUM_MESSAGE_TYPES. Static variable in class jsvm.Svm
The number of verbosity levels.
numExamples(). Method in class jsvm.TrainingType
numFeatures(). Method in class jsvm.FeatureSet
Gets the number of features in the set
numNegExamples(). Method in class jsvm.TrainingType
numPosExamples(). Method in class jsvm.TrainingType
numTypes(). Method in class jsvm.TrainingSet

O

OrigSvmParser(). Constructor for class jsvm.OrigSvmParser

P

parse(InputStream). Method in class jsvm.LabeledTestCaseParser
Parses a data file containing multiple sets of training examples.
parse(InputStream). Method in class jsvm.OrigSvmParser
Parses a data file containing multiple sets of training examples.
parse(InputStream). Method in class jsvm.SvmParser
Parses a data file containing multiple sets of training examples.
parse(InputStream). Method in class jsvm.TestCaseParser
Parses data file containing test examples.
parseClassBody(StreamTokenizer, String, TrainingSet). Method in class jsvm.OrigSvmParser
Parses the set of examples for type "curType".
parseName(StreamTokenizer). Method in class jsvm.OrigSvmParser
Reads a string up to end-of-line.
POLYNOMIAL_KERNEL. Static variable in class jsvm.Svm
Polynomial kernel: (a*b+1)^d
posExamples(). Method in class jsvm.TrainingType

Q

QUIET_MESSAGES. Static variable in class jsvm.Svm
SVM-Light kernel prints minimal messages.

R

RADIAL_BASIS_KERNEL. Static variable in class jsvm.Svm
Radial basis function: exp(-gamma ||a-b||^2)
readLabeledTestCases(InputStream). Static method in class jsvm.Svm
Reads labeled test cases from input stream.
readOrigLabeledTestCases(InputStream). Static method in class jsvm.Svm
Reads labeled test cases from input stream.
readTestCases(InputStream). Static method in class jsvm.Svm
Reads unlabeled test cases from input stream.
removeAllExamples(). Method in class jsvm.TrainingType
Removes all of the examples from this training class.
removeModels(). Method in interface jsvm.server.ClassificationProxy
removeModels(). Method in class jsvm.Svm
Removes existing model data structures in C.
removeModels(). Method in class jsvm.server.SvmProxy
removeType(String). Method in class jsvm.TrainingSet
Removes the set of training data for class s.

S

setConfidence(double). Method in class jsvm.Classification
Sets the confidence value.
setEpsilon(double). Method in class jsvm.Svm
eps: Allow that error when fitting constraints y [w*x+b] >= 1-eps (default 0.001)
setKernelType(long). Method in class jsvm.Svm
Sets the kernel function type.
setMaxKernelCacheSize(long). Method in class jsvm.Svm
Sets the size of the cache for kernel evaluations (default 1000)
setMaxQPSize(long). Method in class jsvm.Svm
Sets the maximum size of QP-subproblems (default 50)
setName(String). Method in class jsvm.TrainingType
Sets the type of this training class.
setPolyD(double). Method in class jsvm.Svm
Sets the parameter d in polynomial kernel.
setRbfG(double). Method in class jsvm.Svm
Sets the parameter gamma in rbf kernel.
setRemoveInconsistent(boolean). Method in class jsvm.Svm
Removes inconsistent training examples and retrain (default 1)
setSigmoidC(double). Method in class jsvm.Svm
Sets the parameter c in sigmoid kernel.
setSigmoidS(double). Method in class jsvm.Svm
Sets the parameter s in sigmoid kernel.
setTradeOffErrorAndMargin(double). Method in class jsvm.Svm
Sets the trade-off between training error and margin (default 1000)
setType(String). Method in class jsvm.Classification
Sets the name of the classifier.
setUserDefinedKernel(String). Method in class jsvm.Svm
Sets the parameter of user defined kernel.
setVerbosityLevel(int). Method in class jsvm.Svm
Verbosity level.
SIGMOID_KERNEL. Static variable in class jsvm.Svm
Sigmoid kernel: tanh(s a*b + c)
SILENT_MESSAGES. Static variable in class jsvm.Svm
SVM-Light kernel prints no messages at all.
size(). Method in class jsvm.ClassificationSet
Svm(). Constructor for class jsvm.Svm
Class constructor.
SvmException(). Constructor for class jsvm.SvmException
SvmException(String). Constructor for class jsvm.SvmException
SvmParser(). Constructor for class jsvm.SvmParser
SvmProxy(). Constructor for class jsvm.server.SvmProxy
SvmServer(). Constructor for class jsvm.server.SvmServer
SvmTest(). Constructor for class jsvm.SvmTest

T

TestCaseParser(). Constructor for class jsvm.TestCaseParser
testLoadTrainingData(String). Method in class jsvm.SvmTest
Reads and parses a training data file.
toString(). Method in class jsvm.ClassificationSet
toString(). Method in class jsvm.FeatureSet
toString(). Method in class jsvm.TrainingSet
toString(). Method in class jsvm.TrainingType
TrainingSet(). Constructor for class jsvm.TrainingSet
Class constructor.
TrainingType(String). Constructor for class jsvm.TrainingType
Creates a training class instance, name.
types(). Method in class jsvm.TrainingSet

U

USER_KERNEL. Static variable in class jsvm.Svm
User defined kernel from kernel.h

V

VERBOSE_MESSAGES. Static variable in class jsvm.Svm
SVM-Light kernel prints standard messages.

W

writeModels(OutputStream). Method in interface jsvm.server.ClassificationProxy
writeModels(OutputStream). Method in class jsvm.Svm
Writes out model text representation to the output stream.

writeModels(OutputStream). Method in class jsvm.server.SvmProxy
writePredictions(OutputStream, Vector). Static method in class jsvm.Svm
Writes the prediction results to an output stream.

X


Y


Z


_


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
All Packages   Class Hierarchy Index of Fields and Methods