NSSDNResult.predict#
- NSSDNResult.predict(endog, *, exog=None, time=None)[source]#
One-step conditional predictions over a sample.
Runs the trained network from its learned initial state under teacher forcing and returns, for each
endog[i + 1], the emission built from the realized values the alignment allows: throughendog[i]under both alignments, which under the filtered one is the emission ati. The published holdout protocol isres.predict(np.concatenate([train, holdout]))[-len(holdout):].- Parameters:
- Return type:
- Returns:
(len(endog) - 1,)predictions on the original scale, aligned withendog[1:].