Example usage for weka.core CapabilitiesHandler getCapabilities

List of usage examples for weka.core CapabilitiesHandler getCapabilities

Introduction

In this page you can find the example usage for weka.core CapabilitiesHandler getCapabilities.

Prototype

public Capabilities getCapabilities();

Source Link

Document

Returns the capabilities of this object.

Usage

From source file:adams.flow.transformer.WekaGetCapabilities.java

License:Open Source License

/**
 * Executes the flow item.//from  ww  w .  jav  a  2  s. c  o  m
 *
 * @return      null if everything is fine, otherwise error message
 */
@Override
protected String doExecute() {
    CapabilitiesHandler handler;

    handler = (CapabilitiesHandler) m_InputToken.getPayload();
    m_OutputToken = new Token(handler.getCapabilities());

    return null;
}