Basic Functions¤
stamox.basic
¤
cumprod
¤
cumsum
¤
diff
¤
max
¤
mean
¤
median
¤
min
¤
prod
¤
quantile
¤
sd
¤
sum
¤
var
¤
scale(x: ArrayLike, axis: int = 0, dtype = <class 'jax.numpy.float64'>) -> ArrayLike
¤
Calculate standardized x along axis.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x |
array-like |
Input array. |
required |
axis |
int |
Axis along which to calculate mean and standard deviation. Defaults to 0. |
0 |
dtype |
jnp.dtype |
The dtype of the output. Defaults to jnp.float_. |
<class 'jax.numpy.float64'> |
Returns:
Type | Description |
---|---|
ArrayLike |
Standardized x along axis. |