HAlphaAnomalyzer._cell_range_calculator

Module Contents

Functions

_calculate_cell_wise_ranges(images_data[, grid_size, ...])

Calculate candidate upper and lower percentage values for each grid cell

HAlphaAnomalyzer._cell_range_calculator._calculate_cell_wise_ranges(images_data, grid_size=8, lower_range_end=20, upper_range_start=80, step_size=2)[source]

Calculate candidate upper and lower percentage values for each grid cell of the training images data for the One-way ANOVA F-test.

Parameters

images_datapd.DataFrame

The DataFrame containing the training images data.

grid_sizeint, optional

The number of rows and columns to divide each image into, by default 8.

lower_range_endint, optional

The end of candidate lower ranges, by default 20.

upper_range_startint, optional

The start of candidate upper ranges, by default 80.

step_sizeint, optional

The step size for candidate ranges, by default 2.

Returns

df_all_rangespd.DataFrame

A DataFrame with candidate ranges for each grid cell of the training images data.