Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
allentran authored Jun 23, 2019
1 parent 576f237 commit 7eef1c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ pip install ppca
Load in the data which should be arranged as `n_samples` by `features`. As usual, you should make sure your data is stationary (take first differences if possible) and standardized.
```
from ppca import PPCA
ppca = PPCA(data)
ppca = PPCA()
```
Fit the model with parameter `d` specifying the number of components and verbose printing convergence output if required.
```
ppca.fit(d=100, verbose=True)
ppca.fit(data=data, d=100, verbose=True)
```
The model parameters and components will be attached to the ppca object.
```
Expand Down

0 comments on commit 7eef1c0

Please sign in to comment.