R/sagang_svmclassification.R
sagang_svmclassification.Rd
QGIS Algorithm provided by SAGA Next Gen Svm classification (sagang:svmclassification). —————- Arguments —————- GRIDS: Grids Argument type: multilayer CLASSES: Classification Argument type: rasterDestination Acceptable values: - Path for new raster layer CLASSES_LUT: Look-up Table Argument type: vectorDestination Acceptable values: - Path for new vector layer SCALING: Scaling Default value: 2 Argument type: enum Available values: - 0: (0) none - 1: (1) normalize (0-1) - 2: (2) standardize Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' MESSAGE: Verbose Messages Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression MODEL_SRC: Model Source Default value: 0 Argument type: enum Available values: - 0: (0) create from training areas - 1: (1) restore from file Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' MODEL_LOAD: Restore Model from File Default value: False Argument type: file Acceptable values: - Path to a file ROI: Training Areas Argument type: source Acceptable values: - Path to a vector layer ROI_ID: Class Identifier Argument type: field Acceptable values: - The name of an existing field - ; delimited list of existing field names MODEL_SAVE: Store Model to File Default value: False Argument type: file Acceptable values: - Path to a file SVM_TYPE: SVM Type Default value: 0 Argument type: enum Available values: - 0: (0) C-SVC - 1: (1) nu-SVC - 2: (2) one-class SVM - 3: (3) epsilon-SVR - 4: (4) nu-SVR Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' KERNEL_TYPE: Kernel Type Default value: 2 Argument type: enum Available values: - 0: (0) linear - 1: (1) polynomial - 2: (2) radial basis function - 3: (3) sigmoid Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' DEGREE: Degree Default value: 3 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression GAMMA: Gamma Default value: 0 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression COEF0: coef0 Default value: 0 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression COST: C Default value: 1 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression NU: nu-SVR Default value: 0.5 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression EPS_SVR: SVR Epsilon Default value: 0.1 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression CACHE_SIZE: Cache Size Default value: 100 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression EPS: Epsilon Default value: 0.001 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression SHRINKING: Shrinking Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression PROBABILITY: Probability Estimates Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression CROSSVAL: Cross Validation Default value: 1 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression
sagang_svmclassification(
GRIDS = qgisprocess:::qgis_default_value(),
CLASSES = qgisprocess:::qgis_default_value(),
CLASSES_LUT = qgisprocess:::qgis_default_value(),
SCALING = qgisprocess:::qgis_default_value(),
MESSAGE = qgisprocess:::qgis_default_value(),
MODEL_SRC = qgisprocess:::qgis_default_value(),
MODEL_LOAD = qgisprocess:::qgis_default_value(),
ROI = qgisprocess:::qgis_default_value(),
ROI_ID = qgisprocess:::qgis_default_value(),
MODEL_SAVE = qgisprocess:::qgis_default_value(),
SVM_TYPE = qgisprocess:::qgis_default_value(),
KERNEL_TYPE = qgisprocess:::qgis_default_value(),
DEGREE = qgisprocess:::qgis_default_value(),
GAMMA = qgisprocess:::qgis_default_value(),
COEF0 = qgisprocess:::qgis_default_value(),
COST = qgisprocess:::qgis_default_value(),
NU = qgisprocess:::qgis_default_value(),
EPS_SVR = qgisprocess:::qgis_default_value(),
CACHE_SIZE = qgisprocess:::qgis_default_value(),
EPS = qgisprocess:::qgis_default_value(),
SHRINKING = qgisprocess:::qgis_default_value(),
PROBABILITY = qgisprocess:::qgis_default_value(),
CROSSVAL = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
multilayer
- Grids. .
rasterDestination
- Classification. Path for new raster layer.
vectorDestination
- Look-up Table. Path for new vector layer.
enum
of ("(0) none", "(1) normalize (0-1)", "(2) standardize")
- Scaling. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
boolean
- Verbose Messages. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
enum
of ("(0) create from training areas", "(1) restore from file")
- Model Source. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
file
- Restore Model from File. Path to a file.
source
- Training Areas. Path to a vector layer.
field
- Class Identifier. The name of an existing field. ; delimited list of existing field names.
file
- Store Model to File. Path to a file.
enum
of ("(0) C-SVC", "(1) nu-SVC", "(2) one-class SVM", "(3) epsilon-SVR", "(4) nu-SVR")
- SVM Type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
enum
of ("(0) linear", "(1) polynomial", "(2) radial basis function", "(3) sigmoid")
- Kernel Type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.
number
- Degree. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- Gamma. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- coef0. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- C. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- nu-SVR. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- SVR Epsilon. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- Cache Size. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- Epsilon. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
boolean
- Shrinking. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
boolean
- Probability Estimates. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
number
- Cross Validation. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm()
should be used (TRUE
) or first output (most likely the main) should read (FALSE
). Default value is TRUE
.
logical specifying if parameter .quiet
for qgisprocess::qgis_run_algorithm()
Default value is TRUE
.
logical specifying if messages from qgisprocess::qgis_run_algorithm()
should be printed (TRUE
) or not (FALSE
). Default value is FALSE
.