com.rapidminer.operator.validation
Class Tools

java.lang.Object
  extended by com.rapidminer.operator.validation.Tools

public class Tools
extends java.lang.Object

Tools class for validation operators. This class provides methods for average building of performance vectors and other average vectors.

Author:
Ingo Mierswa

Constructor Summary
Tools()
           
 
Method Summary
static void buildAverages(InputPort inputPort, OutputPort outputPort)
           
static void buildAverages(PortPairExtender portExtender)
          Iterates buildAverages(InputPort, OutputPort) over pairs generated by this extender.
static PerformanceVector getPerformanceVector(java.util.List<AverageVector> averageVectors)
          Deprecated. This method is no longer needed.
static void handleAverages(IOContainer evalOutput, java.util.List<AverageVector> averageVectors)
          Deprecated. This method is no longer needed.
static void handleAverages(IOContainer evalOutput, java.util.List<AverageVector> averageVectors, boolean onlyPerformanceVectors)
          Deprecated. This method is no longer needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tools

public Tools()
Method Detail

handleAverages

@Deprecated
public static void handleAverages(IOContainer evalOutput,
                                             java.util.List<AverageVector> averageVectors)
                           throws OperatorException
Deprecated. This method is no longer needed.

Searches for the average vectors in the given IOContainer and fills the list if it is empty or build the averages. Only performance vectors are averaged.

Throws:
OperatorException

handleAverages

@Deprecated
public static void handleAverages(IOContainer evalOutput,
                                             java.util.List<AverageVector> averageVectors,
                                             boolean onlyPerformanceVectors)
                           throws OperatorException
Deprecated. This method is no longer needed.

Searches for the average vectors in the given IOContainer and fills the list if it is empty or build the averages. The boolean flag onlyPerformanceVectors indicates if the average should be built from PerformanceVectors only or from other AverageVectors too. Throws a NullPointerException if averageVectors is null.

Throws:
OperatorException

getPerformanceVector

@Deprecated
public static PerformanceVector getPerformanceVector(java.util.List<AverageVector> averageVectors)
Deprecated. This method is no longer needed.

Returns the first performance vector in the given list or null if no performance vectors exist.


buildAverages

public static void buildAverages(PortPairExtender portExtender)
                          throws OperatorException
Iterates buildAverages(InputPort, OutputPort) over pairs generated by this extender.

Throws:
OperatorException

buildAverages

public static void buildAverages(InputPort inputPort,
                                 OutputPort outputPort)
                          throws OperatorException
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I