Example usage for weka.classifiers.functions LeastMedSq setSampleSize

List of usage examples for weka.classifiers.functions LeastMedSq setSampleSize

Introduction

In this page you can find the example usage for weka.classifiers.functions LeastMedSq setSampleSize.

Prototype

public void setSampleSize(int samplesize) 

Source Link

Document

sets number of samples

Usage

From source file:gr.ntua.ece.cslab.panic.core.models.LeastSquares.java

License:Apache License

@Override
public void train() throws Exception {
    LeastMedSq castedClassifier = (LeastMedSq) this.classifier;
    castedClassifier.setSampleSize(this.pointsSampled.size());
    super.train();
}