(
self, Xnew: InputData, full_cov: bool = False, full_output_cov: bool = False
)
| 144 | |
| 145 | @inherit_check_shapes |
| 146 | def predict_f( |
| 147 | self, Xnew: InputData, full_cov: bool = False, full_output_cov: bool = False |
| 148 | ) -> MeanAndVariance: |
| 149 | assert_params_false(self.predict_f, full_output_cov=full_output_cov) |
| 150 | |
| 151 | X_data, _Y_data = self.data |
| 152 | mu, var = conditional( |
| 153 | Xnew, |
| 154 | X_data, |
| 155 | self.kernel, |
| 156 | self.q_mu, |
| 157 | q_sqrt=self.q_sqrt, |
| 158 | full_cov=full_cov, |
| 159 | white=True, |
| 160 | ) |
| 161 | return mu + self.mean_function(Xnew), var |
| 162 | |
| 163 | |
| 164 | class VGP_with_posterior(VGP_deprecated): |
no test coverage detected