Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pradosj/bmrm
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien.Prados committed Feb 14, 2018
2 parents d406623 + d1a8cf2 commit 6c2f2bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bmrm/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: bmrm
Type: Package
Title: Bundle Methods for Regularized Risk Minimization Package
Version: 3.5
Date: 2017-08-16
Version: 3.6
Date: 2018-01-22
Depends:
R (>= 3.0.2)
Imports:
Expand Down
2 changes: 1 addition & 1 deletion bmrm/R/svmLP.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ svmLP <- function(x,y,LAMBDA=1,loss.weights=1) {
#' @export
predict.svmLP <- function(object,x,...) {
f <- x %*% object
y <- y>0
y <- f>0
attr(y,"decision.values") <- f
return(y)
}
Expand Down

0 comments on commit 6c2f2bf

Please sign in to comment.