Skip to content

trail.spLearner blocking factor #9

Description

@oliviafraserusda

Yes, example is at: https://opengeohub.github.io/spatial-prediction-eml/spatial-interpolation-using-ensemble-ml.html#spatial-prediction-of-soil-types-factor-variable
It works the same way - you just have to prepare the spatial grid for spatial blocking or use the landmap::train.spLearner function.

Originally posted by @thengl in #1 (comment)

How do I add spatial block IDs (blocking = as.factor(rmPF$gid))) to the train.spLearner function for classification (tsk <- mlr::makeClassifTask)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions