Skip to content

Commit

Permalink
Merge pull request #512 from Timoniche/patch-1
Browse files Browse the repository at this point in the history
train -> fit update in the new KAN version
  • Loading branch information
KindXiaoming authored Jan 12, 2025
2 parents f871c26 + 406d890 commit 0a452a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
],
"source": [
"# train the model\n",
"model.train(dataset, opt=\"LBFGS\", steps=20, lamb=0.01, lamb_entropy=10.);"
"model.fit(dataset, opt=\"LBFGS\", steps=20, lamb=0.01, lamb_entropy=10.);"
]
},
{
Expand Down Expand Up @@ -324,7 +324,7 @@
}
],
"source": [
"model.train(dataset, opt=\"LBFGS\", steps=50);"
"model.fit(dataset, opt=\"LBFGS\", steps=50);"
]
},
{
Expand Down Expand Up @@ -409,7 +409,7 @@
}
],
"source": [
"model.train(dataset, opt=\"LBFGS\", steps=50);"
"model.fit(dataset, opt=\"LBFGS\", steps=50);"
]
},
{
Expand Down

0 comments on commit 0a452a0

Please sign in to comment.