GithubHelp home page GithubHelp logo

opengeohub / spatial-sampling-ml Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 6.0 79.9 MB

Rmarkdown tutorial on how to generate spatial sampling and how to use resampling methods for ML

Home Page: https://opengeohub.github.io/spatial-sampling-ml/

License: Other

HTML 0.29% CSS 0.19% R 9.39% TeX 90.12%
r spatial-analysis machine-learning-algorithms sampling-methods

spatial-sampling-ml's People

Contributors

abdelkrim-bsr avatar thengl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spatial-sampling-ml's Issues

trail.spLearner blocking factor

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)?

Prepare a wrapper function for plotting predictions / maps

The current tutorial has longer code to plot maps, add title and customize plots. It would be nicer to use a wrapper function with plotting specifications e.g.:

plot.map <- function(x, y, mtext, ...){
}

where x is the grid, y are the points. For plotting comparison e.g. 2 maps next to each other we would need e.g.:

compare.map <- function(x.left, y.left, x.right, y.right, mtext, ...){
}

@abdelkrim-bsr can you please add this function and systematically adjust in the text?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.