Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tidymodels/tidymodels
Easily install and load the tidymodels packages
https://github.com/tidymodels/tidymodels
Last synced: 5 days ago
JSON representation
Easily install and load the tidymodels packages
- Host: GitHub
- URL: https://github.com/tidymodels/tidymodels
- Owner: tidymodels
- License: other
- Created: 2018-07-05T19:38:29.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T17:30:11.000Z (about 2 months ago)
- Last Synced: 2024-10-31T22:03:17.413Z (about 1 month ago)
- Language: R
- Homepage: https://tidymodels.tidymodels.org
- Size: 6.67 MB
- Stars: 770
- Watchers: 29
- Forks: 64
- Open Issues: 8
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- jimsghstars - tidymodels/tidymodels - Easily install and load the tidymodels packages (R)
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```[![R-CMD-check](https://github.com/tidymodels/tidymodels/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidymodels/tidymodels/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/tidymodels/tidymodels/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidymodels/tidymodels?branch=main)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/tidymodels)](https://CRAN.r-project.org/package=tidymodels)
[![Downloads](https://cranlogs.r-pkg.org/badges/tidymodels)](https://CRAN.r-project.org/package=tidymodels)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)## Overview
[tidymodels](https://www.tidymodels.org/) is a "meta-package" for modeling and statistical analysis that shares the underlying design philosophy, grammar, and data structures of the [tidyverse](https://www.tidyverse.org/).
It includes a core set of packages that are loaded on startup:
* [`broom`](https://broom.tidymodels.org/) takes the messy output of built-in functions in R, such as `lm`, `nls`, or `t.test`, and turns them into tidy data frames.
* [`dials`](https://dials.tidymodels.org) has tools to create and manage values of tuning parameters.
* [`dplyr`](https://dplyr.tidyverse.org) contains a grammar for data manipulation.
* [`ggplot2`](https://ggplot2.tidyverse.org) implements a grammar of graphics.
* [`infer`](https://infer.tidymodels.org) is a modern approach to statistical inference.
* [`parsnip`](https://parsnip.tidymodels.org) is a tidy, unified interface to creating models.
* [`purrr`](https://purrr.tidyverse.org) is a functional programming toolkit.
* [`recipes`](https://recipes.tidymodels.org) is a general data preprocessor with a modern interface. It can create model matrices that incorporate feature engineering, imputation, and other help tools.
* [`rsample`](https://rsample.tidymodels.org) has infrastructure for _resampling_ data so that models can be assessed and empirically validated.
* [`tibble`](https://tibble.tidyverse.org) has a modern re-imagining of the data frame.
* [`tune`](https://tune.tidymodels.org) contains the functions to optimize model hyper-parameters.
* [`workflows`](https://workflows.tidymodels.org) has methods to combine pre-processing steps and models into a single object.
* [`yardstick`](https://yardstick.tidymodels.org) contains tools for evaluating models (e.g. accuracy, RMSE, etc.).
A list of all tidymodels functions across different CRAN packages can be found at .
You can install the released version of tidymodels from [CRAN](https://CRAN.r-project.org) with:
``` r
install.packages("tidymodels")
```Install the development version from GitHub with:
``` r
# install.packages("pak")
pak::pak("tidymodels/tidymodels")
```When loading the package, the versions and conflicts are listed:
```{r}
library(tidymodels)
```## Contributing
This project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on RStudio Community](https://forum.posit.co/new-topic?category_id=15&tags=tidymodels,question).
- Most issues will likely belong on the GitHub repo of an individual package. If you think you have encountered a bug with the tidymodels metapackage itself, please [submit an issue](https://github.com/tidymodels/tidymodels/issues).
- Either way, learn how to create and share a [reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html) (a minimal, reproducible example), to clearly communicate about your code.
- Check out further details on [contributing guidelines for tidymodels packages](https://www.tidymodels.org/contribute/) and [how to get help](https://www.tidymodels.org/help/).