View all files | ||||
Python package with a class that allows pipeline-like specification and execution of regression workflows.
Extensive guide is given in the Jupyter notebook "Rapid-specification-of-regression-workflows.ipynb" and the corresponding Markdown document "Rapid-specification-of-regression-workflows.md".
The class Regressionizer facilitates rapid specifications of regressions workflows.
Regressionizer works with data frames, numpy arrays, lists of numbers, and lists of numeric pairs.
The curves computed with Quantile Regression are called regression quantiles.
Regressionizer has three regression methods:
The regression quantiles computed with the methods quantile_regression and quantile_regression_fit correspond to probabilities specified with the argument probs.
The methodquantile_regression computes fits using a B-spline functions basis.
The methods quantile_regession_fit and least_squares_fit use lists of basis functions to fit with specified with the argument funcs.
The following flowchart summarizes the workflows that are supported by Regressionizer:
Import libraries:
Generate random data:
Compute quantile regression for probabilities [0.2, 0.5, 0.8] and make the corresponding plot:
Show the plot obtained above:
[RK1] Roger Koenker, Quantile Regression, Cambridge University Press, 2005.
[RK2] Roger Koenker, "Quantile Regression in R: a vignette", (2006), CRAN.
[AA1] Anton Antonov, "A monad for Quantile Regression workflows", (2018), MathematicaForPrediction at GitHub.
[RKp1] Roger Koenker, quantreg, CRAN.
[AAp1] Anton Antonov, Quantile Regression WL paclet, (2014-2023), GitHub/antononcube.
[AAp2] Anton Antonov, Monadic Quantile Regression WL paclet, (2018-2024), GitHub/antononcube.
[AAp3] Anton Antonov, QuantileRegression, (2019), Wolfram Function Repository.
[AAr1] Anton Antonov, DSL::English::QuantileRegressionWorkflows in Raku, (2020), GitHub/antononcube.
[AAv1] Anton Antonov, "Boston useR! QuantileRegression Workflows 2019-04-18", (2019), Anton Antonov at YouTube.
[AAv2] Anton Antonov, "useR! 2020: How to simplify Machine Learning workflows specifications", (2020), R Consortium at YouTube.