Skip to content

Commit

Permalink
Documentation & literal expressions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jan 27, 2015
1 parent 2b22684 commit ea98ea1
Show file tree
Hide file tree
Showing 8 changed files with 910 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ class ALSModel private[ml] (
.as(map(predictionCol))
val outputColumns = inputColumns.map(f => $"$instanceTable.$f".as(f)) :+ prediction
instances
.join(users, "left", Column(map(userCol)) === $"$userTable.id")
.join(items, "left", Column(map(itemCol)) === $"$itemTable.id")
.join(users, Column(map(userCol)) === $"$userTable.id", "left")
.join(items, Column(map(itemCol)) === $"$itemTable.id", "left")
.select(outputColumns: _*)
}

Expand Down
Loading

0 comments on commit ea98ea1

Please sign in to comment.