Giter Site home page Giter Site logo

drsstl's Introduction

drsstl: Divide and Recombined for Spatial Seasonal Trend Loess

Build Status

This is an R package that provide a way to analyze spatial-temporal data based on SSTL (Spatial Seasonal Trend decomposition using Loess) routine under the divide and recombined framework.

Installation

# from github
devtools::install_github("XiaosuTong/drsstl")

Fitting

The main function to call in the package is drsstl function, which is a wrapper function of sstl_mr and sstl_local two functions. drsstl can be used to carry out SSTL routine on the dataset either in the memory or on the HDFS.

Prediction

The function for prediction is predNewLocs function, which is a wrapper function of predNew_mr and predNew_local two functions. Depends on where the original fitting results are saved, the prediction at new locations will be conducted either in local memory or on HDFS using MapReduce.

Data

In the data subdirectory, tmax.RData inlcudes a data.frame named tmax_all which can be used as example to illustrate the usage of drsstl in local memory. station_info.RData contains a data.frame which includes all stations information. It is usefual for both local and mapreduce situation of drsstl. User has to copy the station_info.RData to HDFS if the mapreduce is chosen.

In inst subdirectory, tmax.txt is the raw data file contains the maximum temperature data. User can copy it to HDFS and conduct drsstl under divide and recombined framework.

Acknowledgment

drsstl development is depended on

  • stlplus package by Ryan Hafen
  • datadr package by Ryan Hafen
  • Rhipe package by Saptarshi Guha
  • Spaloess package by Xiaosu Tong
  • loess function in base R by R core Team

drsstl's People

Contributors

xiaosutong avatar schloerke avatar

Watchers

James Cloos avatar

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.