Coder Social home page Coder Social logo

gfz / localplsr Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 41 KB

Quantification of soil parameters e.g. organic carbon, in field soil samples using spectrally similar soil samples from a large scale soil spectral database.

License: GNU General Public License v2.0

R 100.00%

localplsr's Introduction

LocalPLSR

Summary of the local PLSR methodology: Quantification of soil parameters e.g. organic carbon, in field soil samples using spectrally similar soil samples from a large scale soil spectral database. For this purpose, Laboratory spectra measured from the field soil samples are required and compared with the laboratory spectra from the soil spectral database. The most similar soil samples from the soil spectral database are then used to train a separate PLSR model for each field sample. Each model is applied to the respective field sample to quantify the soil parameter. The localPLSR thus represents an alternative to the conventional quantification (in the chemical laboratory) of spectrally active soil parameters. For this purpose, laboratory spectra of the field samples need to be measured with laboratory spectrometers.

Overview Script

  • Data preparation including soil spectral library (calibration) and field samples (validation)
    • Examples for smoothing and frist derivative
    • Examples of PCA and Mahalanobis distance
  • LocalPLSR function
  • Application example of localPLSR function

How to run this script

  • Open and run this script in R
  • Ensure to install the required R libraries prior to running the script
  • Further user specific adaptations of the script might be necessary of which some are indicated by comments
  • The examples given for data preparation and application of the localPLSR function should be adapted to your data

How to cite this script

localplsr's People

Contributors

kathrinward avatar

Stargazers

 avatar Chenhui Zhang avatar K. Arthur Endsley avatar  avatar Jeff Carpenter avatar

Watchers

James Cloos avatar Martin Hammitzsch avatar Robert Kornmesser avatar Leonardo Ramirez-Lopez avatar  avatar

Forkers

rabindranp

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.