mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
Fixed transformation plotting bug and added test that demonstrates the problem.
This commit is contained in:
parent
775ce9e64c
commit
14aced457f
1 changed files with 10 additions and 0 deletions
10
ib_tests/test_transformation_plot.py
Normal file
10
ib_tests/test_transformation_plot.py
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
# Make sure we load the GP that is here
|
||||||
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||||
|
import GPy
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
|
||||||
|
f = GPy.constraints.Logexp()
|
||||||
|
f.plot()
|
||||||
|
plt.show(block=True)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue