cellrank.ul.models.GAMR.predict
- GAMR.predict(x_test=None, key_added='_x_test', level=None, **kwargs)[source]
Run the prediction. This method can also compute the confidence interval.
- Parameters
x_test (
Optional
[ndarray
]) – Array of shape (n_samples,) used for prediction. If None, usex_test
.key_added (
str
) – Attribute name where to save thex_test
for later use. If None, don’t save it.kwargs – Keyword arguments for underlying
model
’s prediction method.level (
Optional
[float
]) – Confidence level for confidence interval calculation. If None, don’t compute the confidence interval. Must be in the interval [0, 1].
- Return type
- Returns
Updates and returns the following field: