Skip to content

Commit

Permalink
undo #52
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Benoit authored and Kenneth Benoit committed Aug 29, 2022
1 parent a946ccd commit f19e438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# quanteda.textmodels 0.9.5

* Fixes for compatibility with Matrix 1.4.2.
* Minor bug fix for `predict.textmodel_lr()`. (#52)

# quanteda.textmodels 0.9.4

Expand Down
2 changes: 1 addition & 1 deletion R/textmodel_lr.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ textmodel_lr.dfm <- function(x, y, ...) {
)

result <- list(
x = force_conformance(x, rownames(lrfitted[["glmnet.fit"]][["beta"]][["1"]]), TRUE),
x = x,
y = y,
algorithm = paste(family, "logistic regression"),
type = family,
Expand Down

0 comments on commit f19e438

Please sign in to comment.