Header menu logo FSharp.Stats

Binning Module

Functions and values

Function or value Description

bin bandwidth data

Full Usage: bin bandwidth data

Parameters:
    bandwidth : float - Bandwidth of the resulting bins.
    data : float seq - float data

Returns: Map<float, float seq>

Sorts the data into bins with given bandwidth. Bin intervals are half open excluding the upper border: [lower,upper)

bandwidth : float

Bandwidth of the resulting bins.

data : float seq

float data

Returns: Map<float, float seq>
OverflowException Thrown when the input sequence contains nan.
DivideByZeroException Thrown when the bandwidth is set to 0.

binBy projection bandwidth data

Full Usage: binBy projection bandwidth data

Parameters:
    projection : 'a -> float - Function to isolate the feature to bin by.
    bandwidth : float - Bandwidth of the resulting bins.
    data : 'a seq - Data of type a with a float field to bin by.

Returns: Map<float, 'a seq>

Sorts the data into bins with given bandwidth. Bin intervals are half open excluding the upper border: [lower,upper)

projection : 'a -> float

Function to isolate the feature to bin by.

bandwidth : float

Bandwidth of the resulting bins.

data : 'a seq

Data of type a with a float field to bin by.

Returns: Map<float, 'a seq>
OverflowException Thrown when the input sequence contains nan.
DivideByZeroException Thrown when the bandwidth is set to 0.

Type something to start searching.