Java weka.classifiers.functions LinearRegression fields, constructors, methods, implement or subclass

Example usage for Java weka.classifiers.functions LinearRegression fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for weka.classifiers.functions LinearRegression.

The text is from its open source code.

Field

intSELECTION_M5
Attribute selection method: M5 method
intSELECTION_NONE
Attribute selection method: No attribute selection
intSELECTION_GREEDY
Attribute selection method: Greedy method
Tag[]TAGS_SELECTION
Attribute selection methods

Constructor

Method

voidbuildClassifier(Instances data)
Builds a regression model for the given data.
doubleclassifyInstance(Instance instance)
Classifies the given instance using the linear regression function.
double[]coefficients()
Returns the coefficients for this linear model.
voidsetAttributeSelectionMethod(SelectedTag method)
Sets the method used to select attributes for use in the linear regression.
voidsetEliminateColinearAttributes(boolean newEliminateColinearAttributes)
Set the value of EliminateColinearAttributes.
voidsetOptions(String[] options)
Parses a given list of options.
voidsetRidge(double newRidge)
Set the value of Ridge.
StringtoString()
Outputs the linear regression model as a string.