prfmodel.utils¶
Utility functions.
Exceptions¶
Warning for when a response is undefined and contains NaNs. |
Classes¶
Protocol for model classes. |
|
A dictionary-like object that supports dataframe-style column selection but returns Keras tensors. |
Functions¶
|
Decorate a model prediction function to make batched predictions. |
|
Convert model parameters in a dataframe into a tensor. |
|
Get the (default) dtype. |
|
Normalize a response. |
Module Contents¶
- prfmodel.utils.DTYPES¶
Accepted dtypes for prfmodel.typing.Tensor objects.
Accepted dtypes are: “bfloat16”, “float16”, “float32”, and “float64”.