Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Aug 16, 2024
1 parent e039c4a commit c8d214d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,r
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,linux,r

tests/testthat/Rplots.pdf

### Linux ###
*~

Expand Down
1 change: 1 addition & 0 deletions R/LearnerClustCMeans.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ LearnerClustCMeans = R6Class("LearnerClustCMeans",
if (isTRUE(pv$use_weights)) {
pv$weights = task$weights_learner$weight
}
pv$use_weights = NULL

m = invoke(e1071::cmeans, x = task$data(), .args = pv, .opts = allow_partial_matching)
if (self$save_assignments) {
Expand Down
1 change: 1 addition & 0 deletions R/LearnerClustDBSCAN.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ LearnerClustDBSCAN = R6Class("LearnerClustDBSCAN",
if (isTRUE(pv$use_weights)) {
pv$weights = task$weights_learner$weight
}
pv$use_weights = NULL

m = invoke(dbscan::dbscan, x = data, .args = pv)
m = insert_named(m, list(data = data))
Expand Down
Binary file removed tests/testthat/Rplots.pdf
Binary file not shown.

0 comments on commit c8d214d

Please sign in to comment.