adams.data.instances
Class HeatmapArffUtils
java.lang.Object
adams.data.weka.ArffUtils
adams.data.instances.HeatmapArffUtils
public class HeatmapArffUtils
- extends ArffUtils
A helper class for turning heatmap data into ARFF files and vice versa.
- Version:
- $Revision: 6027 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX_INTENSITY
public static final String PREFIX_INTENSITY
- the prefix for intensity values.
- See Also:
- Constant Field Values
HeatmapArffUtils
public HeatmapArffUtils()
getIntensityName
public static String getIntensityName(int row,
int col)
- Generates the attribute name for an intensity value.
- Parameters:
row - the row of the intensitycol - the column of the intensity
- Returns:
- the attribute name
getRemoveFilter
public static Remove getRemoveFilter(Instances data)
- Initializes the Remove filter for removing all IDs from the dataset.
- Parameters:
data - the data to use for the analysis
- Returns:
- the configured filter, null if no filtering required
- Throws:
Exception - if filter setup fails
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.