Create regression dataset (from text files)ΒΆ
Create a regression dataset from tabulated text files and store the result as a pickle file. The format matches that of the FORCE Higher Level Sampling Submodule. Example files (force_features.csv and force_labels.csv) can be found in the EnMAP-Box testdata folder).
Parameters
- File with features [file]
- Text file with tabulated feature data X (no headers). Each row represents the feature vector of a sample.
- File with target values [file]
- Text file with tabulated target data y (no headers). Each row represents the target values of a sample.
Outputs
- Output dataset [fileDestination]
- Pickle file destination.
Command-line usage
>qgis_process help enmapbox:CreateRegressionDatasetFromTextFiles
:
----------------
Arguments
----------------
featureFile: File with features
Argument type: file
Acceptable values:
- Path to a file
valueFile: File with target values
Argument type: file
Acceptable values:
- Path to a file
outputRegressionDataset: Output dataset
Argument type: fileDestination
Acceptable values:
- Path for new file
----------------
Outputs
----------------
outputRegressionDataset: <outputFile>
Output dataset