semvec/pypi-packages huggingface dataset:
variable 0.0.4
Forward and Backward Variable Selection

# variable.method_select

forward(y,X)

back (y,X)

This package executes the forward and backward selection procedures to aid in selecting variables for inclusion in an OLS regression model.  

The forward selection procedure starts with an equation containing no predictor varaibles, only a constant that must be added by the user.  To identify the first variable to include in the equation, the independent variable with the highest simple correlation to the response variable is selected and included in an OLS regression.  If An evaluation of the independent variable's p-value is completed, and if the variable proves significantly different from zero, it is retained in the equation and a review for a second variable is initiated.  To identify a second variable, a correlation with the remaining variables is completed against the residuals from the previous OLS regression.  The independent variable with the highest correlation to the residuals is selected as the second variable, which is included in a subsequent OLS regression.  If the p-value of this second variable proves significant from zero, this second variable is retained and the search for a third variable is initiated.  This process continues for all available variables.  

The backward selection procedure starts with all variables including a constant that must be added by the user, and systematically removes the variable with the smallest t-value in each iteration.

To initiate the function, the user must specify the target variable (y) and the independent variable(s) (X).

The output of this package is a table showing the order in which the variables were evaluated, as well as validation factors used for evaluating variables for inclusion in a model.  The user should review the table and make determinations based on their preferences.

This variable selection package was developed based on the procedure as described in Chatterjee, Samprit and Hadi, Ali S (2012). *Regression Analysis by Example (5th ed.)*. Hoboken, New Jersey: John Wiley & Sons, Inc.
terraref-stereo-rgb 1.1.0
TERRA-REF stereo RGB camera science package
Keywords: field crop,phenomics,computer vision,remote sensing

# stereo_rgb science package

This repository contains utilities for scientific operations on Stereo RGB camera data.

### stereo_rgb.py

**get_image_shape(metadata, side)**
Parse LemnaTec metadata JSON for a particular side (left/right) to get image dimensions.

**process_raw(shape, bin_file, out_file=None)**
Convert a raw BIN file to a georeferenced GeoTIFF.

**calculate_canopycover(pxarray)**
Calculate the percentage of given pixel array over greenness threshold to be considered canopy.

### Authors:

* Zongyang Li, Donald Danforth Plant Science Center, St. Louis, MO
* Maxwell Burnette, National Supercomputing Applications, Urbana, Il
* Robert Pless, George Washington University, Washington, DC