Skip to content

Commit 5a188fa

Browse files
authored
Update CreatingSimilarityBasedRecommendationModel.md
1 parent 212b6fa commit 5a188fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/HighValueProjectTutorials/RecommendationSystems/CreatingSimilarityBasedRecommendationModel.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ Before we start training our model, we first need to build our model.
4848

4949
local DataPredict = require(DataPredict)
5050

51-
-- For single data point purposes, set the maximumNumberOfIterations to 1 to avoid overfitting. Additionally, the more number of maximumNumberOfIterations you have, the lower the learningRate it should be to avoid "inf" and "nan" issues.
52-
5351
local RecommendationModel = DataPredict.Models.KNearestNeighboursRegressor.new({useWeightedDistance = true, distanceFunction = "CosineDistance"})
5452

5553
```

0 commit comments

Comments
 (0)