Skip to content

Commit

Permalink
fix typo (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz committed Dec 25, 2019
1 parent 899798b commit b1416ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ func (model *Base) Fit(trainSet core.DataSet, options *base.RuntimeOptions) {

// Init the Base model. The method must be called at the beginning of Fit.
func (model *Base) Init(trainSet core.DataSetInterface) {
// Check Base.GetParams() called
// Check Base.SetParams() called
if model.isSetParamsCalled == false {
panic("Base.GetParams() not called")
panic("Base.SetParams() not called")
}
// Setup ID set
model.UserIndexer = trainSet.UserIndexer()
Expand Down

0 comments on commit b1416ec

Please sign in to comment.