net.sf.javaml.filter
Class ClassRemoveFilter

java.lang.Object
  extended by net.sf.javaml.filter.ClassRemoveFilter
All Implemented Interfaces:
DatasetFilter

public class ClassRemoveFilter
extends java.lang.Object
implements DatasetFilter

Removes all instances from a data set that have a specific class value

Version:
0.1.5
Author:
Thomas Abeel (thomas@abeel.be)

Constructor Summary
ClassRemoveFilter()
           
ClassRemoveFilter(java.lang.Object classValue)
           
 
Method Summary
 void build(Dataset data)
          This method can be used if the filter needs some training first
 void filter(Dataset data)
          Applies this filter to an dataset and return the modified dataset.
 void setClass(java.lang.Object classValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassRemoveFilter

public ClassRemoveFilter()

ClassRemoveFilter

public ClassRemoveFilter(java.lang.Object classValue)
Method Detail

setClass

public void setClass(java.lang.Object classValue)

build

public void build(Dataset data)
Description copied from interface: DatasetFilter
This method can be used if the filter needs some training first

Specified by:
build in interface DatasetFilter
Parameters:
data - the data used for training.

filter

public void filter(Dataset data)
Description copied from interface: DatasetFilter
Applies this filter to an dataset and return the modified dataset.

Specified by:
filter in interface DatasetFilter
Parameters:
data - the dataset to apply this filter to


Copyright © 2006-2010 - Thomas Abeel - All Rights Reserved. SourceForge.netLogo