Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PipeOpUMAP #791

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b1b836b
feat: add init umap implementation
m-muecke Jul 28, 2024
ffdf668
docs: run document
m-muecke Jul 28, 2024
0795fae
docs: more param docs
m-muecke Jul 28, 2024
d1fc20e
docs: more param docs
m-muecke Jul 30, 2024
7fbd496
docs: only run the examples if uwot available
m-muecke Jul 30, 2024
0122c89
docs: more docs
m-muecke Jul 30, 2024
0017c4e
docs: finish param docs
m-muecke Jul 30, 2024
7a17a3a
docs: init docs for state
m-muecke Jul 30, 2024
4188dcd
fix: remove browser call
m-muecke Jul 30, 2024
56e43fe
feat(umap): allow more metrics and remove depend
m-muecke Jul 30, 2024
9ae3780
docs: added most state parameters
advieser Jul 30, 2024
535274d
docs: added states
advieser Jul 30, 2024
8850d83
fixed merge
advieser Jul 30, 2024
18000b3
docs: redocument
m-muecke Jul 30, 2024
341fd1e
docs: added seed state + feat: rm double metric
advieser Jul 30, 2024
d396b6c
Merge branch 'umap' of https://github.com/mlr-org/mlr3pipelines into …
advieser Jul 30, 2024
b6b1437
docs: remaining state params + document
advieser Jul 30, 2024
28adeed
feat: predict takes computing params that are not taken from model by…
advieser Aug 2, 2024
114e33c
feat: target metrics same as metrics
advieser Aug 2, 2024
5e60f6f
feat: custom check for param
advieser Aug 2, 2024
5f86987
feat: removed param options that are incompatible with predict + test…
advieser Aug 6, 2024
b8fa65f
small docs change and change to target_metric for compatibility with …
advieser Aug 6, 2024
7881990
docs: param scale + small corr for scale special vals
advieser Aug 6, 2024
79c7dbc
added tests
advieser Aug 6, 2024
9d29051
docs: run document
advieser Aug 6, 2024
468a6f7
merge master into umap
advieser Aug 6, 2024
8545c79
updated NEWS.md
advieser Aug 6, 2024
97a616a
added packages to initialize
advieser Aug 6, 2024
ccdb4ae
docs: added ref to paper
advieser Aug 6, 2024
56ba861
docs: fixed non-ASCII char + document
advieser Aug 6, 2024
903c4fc
fix test failures due to crate
advieser Aug 7, 2024
8be8cdd
docs: document + missing changes in master/man
advieser Aug 7, 2024
daf28df
fix: crate workaround
advieser Aug 8, 2024
394eb70
Added depends to params + document
advieser Aug 14, 2024
53ae9a7
Added preproc tests + updated DESRIPTION
advieser Aug 14, 2024
2eef42d
Add deep_clone, currently WIP
advieser Aug 14, 2024
d854eae
added tests for different nn_methods
advieser Aug 20, 2024
e1b113e
feat: params for transform + better param defs + docs
advieser Aug 23, 2024
2867759
changed tests to fit new param scheme
advieser Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ Suggests:
vtreat,
future,
htmlwidgets,
uwot (>= 0.2.1),
RcppAnnoy,
RcppHNSW,
rnndescent,
ranger
ByteCompile: true
Encoding: UTF-8
Expand Down Expand Up @@ -166,6 +170,7 @@ Collate:
'PipeOpThreshold.R'
'PipeOpTrafo.R'
'PipeOpTuneThreshold.R'
'PipeOpUMAP.R'
'PipeOpUnbranch.R'
'PipeOpVtreat.R'
'PipeOpYeoJohnson.R'
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export(PipeOpTaskPreprocSimple)
export(PipeOpTextVectorizer)
export(PipeOpThreshold)
export(PipeOpTuneThreshold)
export(PipeOpUMAP)
export(PipeOpUnbranch)
export(PipeOpVtreat)
export(PipeOpYeoJohnson)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# mlr3pipelines 0.6.1

* New PipeOp `PipeOpRowApply` / `po("rowapply")`
* New PipeOp `PipeOpUMAP` / `po("umap")`

# mlr3pipelines 0.6.0

Expand Down
438 changes: 438 additions & 0 deletions R/PipeOpUMAP.R

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions R/bibentries.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,18 @@ bibentries = c(
author = "Yujun Wu and Dennis D Boos and Leonard A Stefanski",
title = "Controlling Variable Selection by the Addition of Pseudovariables",
journal = "Journal of the American Statistical Association"
),

mcinnes_2018 = bibentry("article",
doi = "10.21105/joss.00861",
year = "2018",
month = "9",
publisher = "The Open Journal",
volume = "3",
number = "29",
author = "Leland McInnes and John Healy and James Melville and Lukas Grossberger",
title = "UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction",
journal = "Journal of Open Source Software"
)
)

1 change: 1 addition & 0 deletions man/PipeOp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/PipeOpEnsemble.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/PipeOpImpute.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/PipeOpTargetTrafo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/PipeOpTaskPreproc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/PipeOpTaskPreprocSimple.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_boxcox.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_branch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_chunk.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_classbalancing.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_classifavg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_classweights.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_colapply.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_collapsefactors.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_colroles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_copy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_datefeatures.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_encode.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_encodeimpact.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_encodelmer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_featureunion.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_filter.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_fixfactors.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_histbin.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_ica.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputeconstant.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputehist.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputelearner.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputemean.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputemedian.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputemode.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputeoor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_imputesample.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_kernelpca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_learner.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_missind.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_modelmatrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_multiplicityexply.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_multiplicityimply.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_pipeops_mutate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_pipeops_nmf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading