From 7eef1c02194c718c10fb7e33aa31eafca3b8fa74 Mon Sep 17 00:00:00 2001 From: Allen Tran Date: Sat, 22 Jun 2019 20:57:55 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23de75d..70cb104 100644 --- a/README.md +++ b/README.md @@ -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. ```