Skip to content

Commit 0a452a0

Browse files
authored
Merge pull request #512 from Timoniche/patch-1
train -> fit update in the new KAN version
2 parents f871c26 + 406d890 commit 0a452a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/intro.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
],
209209
"source": [
210210
"# train the model\n",
211-
"model.train(dataset, opt=\"LBFGS\", steps=20, lamb=0.01, lamb_entropy=10.);"
211+
"model.fit(dataset, opt=\"LBFGS\", steps=20, lamb=0.01, lamb_entropy=10.);"
212212
]
213213
},
214214
{
@@ -324,7 +324,7 @@
324324
}
325325
],
326326
"source": [
327-
"model.train(dataset, opt=\"LBFGS\", steps=50);"
327+
"model.fit(dataset, opt=\"LBFGS\", steps=50);"
328328
]
329329
},
330330
{
@@ -409,7 +409,7 @@
409409
}
410410
],
411411
"source": [
412-
"model.train(dataset, opt=\"LBFGS\", steps=50);"
412+
"model.fit(dataset, opt=\"LBFGS\", steps=50);"
413413
]
414414
},
415415
{

0 commit comments

Comments
 (0)