Selection

Utility function to select data subset based on target, features and auxiliary data (e.g. Soil Taxonomy order)

source

select_y

 select_y (data:tuple, low:float=0.12, high:float=999)

Select data based on the limit values of the target

Type Default Details
data tuple (X, y, X_id, depth_order)
low float 0.12 Lowest limit
high float 999 Highest limit

source

select_tax_order

 select_tax_order (data:tuple, tax_order:int=None)

Select data based on Soil Taxonomy order

Type Default Details
data tuple (X, y, X_id, depth_order)
tax_order int None Value between 0 and 12

source

select_X

 select_X (data:tuple, low:int=0)

Select data based on the limit values (only low) of the features

Type Default Details
data tuple (X, y, X_id, depth_order)
low int 0 Lowest absorbance value

source

get_y_by_order

 get_y_by_order (y, tax_order, tax_lookup)