-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp_load_params_gpi.py
46 lines (28 loc) · 1.55 KB
/
temp_load_params_gpi.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 20 15:14:25 2022
@author: mahom
"""
print("lenthscale",model.covar_module.kernels[0].base_kernel.lengthscale[0:3])
print("outputscale",model.covar_module.kernels[0].outputscale[0:3])
print("bias",model.covar_module.kernels[1].bias[0:3])
print("noise",model.likelihood.task_noises[0:3])
print("outputscale_fix",model.covar_module.kernels[0].base_kernel.outputscale)
print("lenthscale",model.covar_module.kernels[0].base_kernel.lengthscale)
print("outputscale",model.covar_module.kernels[0].outputscale)
print("bias",model.covar_module.kernels[1].bias)
print("noise",model.likelihood.task_noises)
model.likelihood.raw_task_noises.grad
model.covar_module.kernels[0].base_kernel.raw_outputscale.grad
for task in range(1,8):
#print("lenthscale",model['task{}'.format(task)].covar_module.kernels[0].base_kernel.lengthscale)
print("outputscale",model['task{}'.format(task)].covar_module.kernels[0].outputscale)
print("bias",model['task{}'.format(task)].covar_module.kernels[1].bias)
print("noise",model['task{}'.format(task)].likelihood.noise)
print("mean",model['task{}'.format(task)].mean_module.constant)
for task in range(1,8):
print("lenthscale",model['task{}'.format(task)].covar_module.base_kernel.lengthscale)
print("outputscale",model['task{}'.format(task)].covar_module.outputscale)
print("bias",model['task{}'.format(task)].covar_module.bias)
print("noise",model['task{}'.format(task)].likelihood.noise)
print("mean",model['task{}'.format(task)].mean_module.constant)