Class FeatureCSVMetadata

Object
FeatureCSVMetadata

public final class FeatureCSVMetadata extends Object
Needed non-result information to output a feature-values CSV file.

i.e. headers, the output-name etc.

Author:
Owen Feehan
  • Constructor Details

    • FeatureCSVMetadata

      public FeatureCSVMetadata(String outputName, String[] nonFeatureHeaders, FeatureNameList featureNamesToConsume)
      Create for a particular output-name.
      Parameters:
      outputName - the output-name.
      nonFeatureHeaders - the headers that don't describe features (positioned left-most).
      featureNamesToConsume - the names of the features that will be outputted (positioned after nonFeatureHeaders. This structure will be modified internally.
    • FeatureCSVMetadata

      public FeatureCSVMetadata(String outputName, List<String> headers)
      Creates a new FeatureCSVMetadata instance.
      Parameters:
      outputName - The output name for the features CSV.
      headers - Headers for the CSV file.
  • Method Details

    • getOutputName

      public String getOutputName()
      The output name for the features CSV.
    • getHeaders

      public List<String> getHeaders()
      Headers for the CSV file.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object