Skip to content

Commit

Permalink
changed the docs to reflect that non-Euclidean inputs cannot be sets …
Browse files Browse the repository at this point in the history
…because sets have no order; they have to be a list of tuples
  • Loading branch information
MarcusMNoack committed Nov 22, 2023
1 parent 5997d54 commit effd45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fvgp/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class GP():
----------
input_space_dim : int
Dimensionality of the input space (D). If the input is non-Euclidean, the input dimensionality will be ignored.
x_data : np.ndarray or set or list
x_data : np.ndarray or list of tuples
The input point positions. Shape (V x D), where D is the `input_space_dim`. If dealing with non-Euclidean inputs
x_data should be a set or iterable, not a numpy array.
x_data should be an iterable, not a numpy array.
y_data : np.ndarray
The values of the data points. Shape (V,1) or (V).
init_hyperparameters : np.ndarray, optional
Expand Down

0 comments on commit effd45e

Please sign in to comment.