Skip to content

Commit

Permalink
Update train-with-rate-event.html.md.erb
Browse files Browse the repository at this point in the history
- typo in preparator.scala filename
- focus attention on parameter to be removed when switching to explicit training
  • Loading branch information
cristiancrc committed Oct 1, 2015
1 parent 4519f46 commit 23fbe70
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Modify `readTraining()` function of `DataSource` to read "rate" events (commente

```

### Prepartar.scala
### Preparator.scala

Modify Preparator to pass rateEvents to algorithm as PreparedData (Replace all `ViewEvent` with `RateEvent`. Replace all `viewEvent` with `rateEvent`)

Expand Down Expand Up @@ -124,7 +124,7 @@ class PreparedData(

```

### ALSAlgorithm.scala
### ECommAlgorithm.scala

Modify `train()` method to train with rate event.

Expand Down Expand Up @@ -177,7 +177,7 @@ Change the following from:
iterations = ap.numIterations,
lambda = ap.lambda,
blocks = -1,
alpha = 1.0,
alpha = 1.0, // WILL BE REMOVED
seed = seed)
...

Expand Down

0 comments on commit 23fbe70

Please sign in to comment.