Class FeatureOutputMetadata
Object
FeatureOutputMetadata
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
ConstructorsConstructorDescriptionFeatureOutputMetadata
(LabelHeaders labelHeaders, FeatureNameList featureNamesNonAggregated, FeatureOutputNames outputNames) Creates a newFeatureOutputMetadata
instance. -
Method Summary
Modifier and TypeMethodDescriptioncsvAggregated
(FeatureNameList featureNamesAggregated) Specific metadata for writing an aggregated CSV file.Specific metadata for writing a non-aggregated CSV file.Names of each feature in the feature columns, for non-aggregated features.Headers for the CSV File.Names for any outputs produced byLabelledResultsCollector
.
-
Constructor Details
-
FeatureOutputMetadata
public FeatureOutputMetadata(LabelHeaders labelHeaders, FeatureNameList featureNamesNonAggregated, FeatureOutputNames outputNames) Creates a newFeatureOutputMetadata
instance.- Parameters:
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
.
-
-
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
.
-