Coder Social home page Coder Social logo

nlscompare's Introduction

nlsCompare

R-CMD-check

An R package to compare different packages' functions for nonlinear least squares (nls)

This package grew out as a product of the Google Summer of Code (2021) project Improvements to nls() by Arkajyoti Bhattacharjee and mentored by Dr. John C Nash and Dr. Heather Turner.

Current Workflow

  1. Get a one-line machine summary using machineId().
  2. Select directory to save outputs of program using setup_dir().
  3. Create dataframe to store the database of problems, algorithms and controls associated with nls() like functions using create_db().
  4. Create dataframe to store the error log. This shows which "solver" fails in "which problem" and "why?". This shows limitations, improvements and areas of potential imporovements. Use create_elog().
  5. Check if the final output csv-s - "nlsDatabase.csv" and "nlsErrorLog.csv" exists in the directory chosen in step 2.
  6. Run the main program - comparison-testing and corresponding editing of the dataframes - using run().
  7. Write the dataframes into "nlsDatabase.csv" and "nlsErrorLog.csv" using write_csvs().
  8. Finally, remove the global variables created in the above steps using rm_nls().

Documentation

A vignette to demonstrate the above workflow is nlsCompare: How to use it?.

For more detals about the package, please refer to nlsCompareArticle.

Installation

Warning: As of 2021-08-23, the package is still in the development stage!

To install this development repo via devtools in R, use:

# install.packages("devtools")
devtools::install_github("ArkaB-DS/nlsCompare")

nlscompare's People

Contributors

arkab-ds avatar nashjc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

nashjc

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.