Skip to content

Commit 39c58ee

Browse files
authored
Merge pull request #13 from gautam-e/main
initialised normalize in pipeline docs
2 parents a1cd73c + bb8a5c4 commit 39c58ee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

nbs/index.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,9 @@
301301
],
302302
"source": [
303303
"class FS(float):\n",
304-
" def __repr__(self): return f'FS({float(self)})'\n",
304+
" def __repr__(self): return f'FS({float(self)})'\n",
305305
" \n",
306+
"\n",
306307
"f1 = float(1)\n",
307308
"FS2 = FS(2)\n",
308309
"\n",
@@ -457,6 +458,8 @@
457458
" def decodes(self, x):\n",
458459
" return x * self.std + self.mean\n",
459460
"\n",
461+
"normalize = NormalizeMean()\n",
462+
"normalize.setup([1, 2, 3, 4, 5])\n",
460463
"\n",
461464
"p = Pipeline((dt, normalize))\n",
462465
"\n",

0 commit comments

Comments
 (0)