You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm writing to enquire about two use cases of deep GP.
1.
When I was using the two-layer deep GP to make predictions, when I pass batch_size to the function model.predict(), it seems that it only returns the predicted mean (f_mean) without f_var. However, as in your example below(https://secondmind-labs.github.io/GPflux/notebooks/gpflux_features.html:
When no batch_size is passed, deep_gp.as_prediction_model() returns both f_mean and f_var. Could you please let me know how I can get both f_mean and f_var when passing batch_size to prediction_model.predict() ?
On this webpage, https://secondmind-labs.github.io/GPflux/notebooks/deep_gp_samples.html, you have given an example of making deep GP samples. However, I cannot see the model fitting part on the webpage. If want to make samples from each layer after model fitting , i.e., after model.compile(tf.optimizers.Adam(0.01)) and history = model.fit({"inputs": X, "targets": Y}, epochs=int(1e3), verbose=0), could you please let me know how I can achieve this?
Many thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I'm writing to enquire about two use cases of deep GP.
1.
When I was using the two-layer deep GP to make predictions, when I pass batch_size to the function model.predict(), it seems that it only returns the predicted mean (f_mean) without f_var. However, as in your example below(https://secondmind-labs.github.io/GPflux/notebooks/gpflux_features.html:
When no batch_size is passed, deep_gp.as_prediction_model() returns both f_mean and f_var. Could you please let me know how I can get both f_mean and f_var when passing batch_size to prediction_model.predict() ?
Many thanks.
The text was updated successfully, but these errors were encountered: