Create regression dataset (from table with target and feature fields)

Create a regression dataset from attribute table rows and store the result as a pickle file.

Usage:

  1. Open the algorithm from the processing toolbox.

  2. Select a table containing your data as well as the fields containing the dependent and independent variables, then click run.

    ../../../../_images/regtable.png
  3. The output classification dataset will be listed under Models in your Data Sources panel.

Parameters

Table [vector]

Table with feature data X and target data y.

Fields with features [field]

Fields used as features. Values may be given as strings, but must be castable to float.

Fields with targets [field]

Fields used as targets. Values may be given as strings, but must be castable to float.

Outputs

Output dataset [fileDestination]

Pickle file destination.

Command-line usage

>qgis_process help enmapbox:CreateRegressionDatasetFromTableWithTargetAndFeatureFields:

----------------
Arguments
----------------

table: Table
    Argument type:  vector
    Acceptable values:
            - Path to a vector layer
featureFields: Fields with features
    Argument type:  field
    Acceptable values:
            - The name of an existing field
            - ; delimited list of existing field names
targetFields: Fields with targets
    Argument type:  field
    Acceptable values:
            - The name of an existing field
            - ; delimited list of existing field names
outputRegressionDataset: Output dataset
    Argument type:  fileDestination
    Acceptable values:
            - Path for new file

----------------
Outputs
----------------

outputRegressionDataset: <outputFile>
    Output dataset