mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 08:12:39 +02:00
added some tips to the readme
This commit is contained in:
parent
ea05ba54bf
commit
f9fa378aa0
2 changed files with 26 additions and 0 deletions
|
|
@ -862,6 +862,7 @@ def kern_test(kern, X=None, X2=None, output_ind=None, verbose=False, X_positive=
|
||||||
X = abs(X)
|
X = abs(X)
|
||||||
if output_ind is not None:
|
if output_ind is not None:
|
||||||
X[:, output_ind] = np.random.randint(low=0,high=kern.parts[0].output_dim, size=X.shape[0])
|
X[:, output_ind] = np.random.randint(low=0,high=kern.parts[0].output_dim, size=X.shape[0])
|
||||||
|
import ipdb; ipdb.set_trace()
|
||||||
if X2==None:
|
if X2==None:
|
||||||
X2 = np.random.randn(20, kern.input_dim)
|
X2 = np.random.randn(20, kern.input_dim)
|
||||||
if X_positive:
|
if X_positive:
|
||||||
|
|
|
||||||
25
README.md
25
README.md
|
|
@ -9,6 +9,31 @@ A Gaussian processes framework in Python.
|
||||||
|
|
||||||
Continuous integration status: 
|
Continuous integration status: 
|
||||||
|
|
||||||
|
Getting started
|
||||||
|
===============
|
||||||
|
Installing with pip
|
||||||
|
-------------------
|
||||||
|
The simplest way to install GPy is using pip.
|
||||||
|
pip install gpy
|
||||||
|
|
||||||
|
Ubuntu
|
||||||
|
------
|
||||||
|
For the most part, the developers are using ubuntu. To install the required packages:
|
||||||
|
sudo apt-get install python-numpy python-scipy python-matplotlib
|
||||||
|
|
||||||
|
clone this git repository and add it to your path:
|
||||||
|
git clone git@github.com:SheffieldML/GPy.git \<destination\>
|
||||||
|
echo "PYTHONPATH=$PYTHONPATH:\<detination\> > ~/.bashrc
|
||||||
|
|
||||||
|
Windows
|
||||||
|
-------
|
||||||
|
On windows, we recommend the . We've also had luck with . git clone or unzip the source to a suitable directory, and add a PYTHONPATH environement variable.
|
||||||
|
|
||||||
|
OSX
|
||||||
|
---
|
||||||
|
everything appears to work out-of-the box using  on osx Mavericks.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Compiling documentation:
|
Compiling documentation:
|
||||||
========================
|
========================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue