Class FeatureOutputMetadata
Object
org.anchoranalysis.feature.io.results.FeatureOutputMetadata
public class FeatureOutputMetadata extends Object
Information needed for the outputting differnt types of feature-table CSV files.
e.g. headers, the output-name etc.
Two types of CSV files may be written:
- non-aggregated (using the features directly on the underlying entities)
- aggregated (aggregating the results from the above)
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FeatureOutputMetadata(LabelHeaders labelHeaders, FeatureNameList featureNamesNonAggregated, FeatureOutputNames outputNames) -
Method Summary
Modifier and Type Method Description Optional<FeatureCSVMetadataForOutput>csvAggregated(FeatureNameList featureNamesAggregated)Specific metadata for writing an aggregated CSV file.FeatureCSVMetadataForOutputcsvNonAggregated()Specific metadata for writing a non-aggregated CSV file.FeatureNameListfeatureNamesNonAggregated()Names of each feature in the feature columns, for non-aggregated features.LabelHeaderslabelHeaders()Headers for the CSV File.FeatureOutputNamesoutputNames()Names for any outputs produced byLabelledResultsCollector.
-
Constructor Details
-
FeatureOutputMetadata
public FeatureOutputMetadata(LabelHeaders labelHeaders, FeatureNameList featureNamesNonAggregated, FeatureOutputNames outputNames)
-
-
Method Details
-
csvNonAggregated
Specific metadata for writing a non-aggregated CSV file.- Returns:
- a newly created
FeatureCSVMetadataForOutput.
-
csvAggregated
Specific metadata for writing an aggregated CSV file.- Parameters:
featureNamesAggregated- the feature-names to use for the aggregated CSV file (which usually differ fromfeatureNamesNonAggregate.- Returns:
- a newly created
FeatureCSVMetadataForOutput.
-
labelHeaders
Headers for the CSV File. -
featureNamesNonAggregated
Names of each feature in the feature columns, for non-aggregated features. -
outputNames
Names for any outputs produced byLabelledResultsCollector.
-