Comments (6)
That is very strange, I export dimRedMethodList
just as any other function and it isn't even a method.
From your error message I would think that this is unrelated, but try running:
names(completeClassDefinition("dimRedMethod", doExtends = FALSE)@subclasses)
from inside your package. You might need to import the classes dimRedMethod
and all children (or maybe just the methods you are using) separately.
Have you tried calling dimRed::embed(...)
?
from dimred.
I added a print statement for that line and get output before the error:
[1] "DiffusionMaps" "DRR" "FastICA" "KamadaKawai"
[5] "DrL" "FruchtermanReingold" "HLLE" "Isomap"
[9] "kPCA" "LaplacianEigenmaps" "LLE" "MDS"
[13] "nMDS" "PCA" "tSNE"
Error in eval(expr, envir, enclos) :
could not find function "dimRedMethodList"
Calling as dimRed::embed
had the same results.
It is weird... before loading dimRed
I can access it via dimRed::dimRedMethodList
and dimRed:::dimRedMethodList
. Even more, I imported the whole dimRed
package and still get the same error.
I'll figure out how to convert over to non-embed
code. Can .mute
be passed into the @fun
and @apply
functions?
from dimred.
that is strange, I will try this myself when I find some time.
You can look at the implementation of the embed
function and simply copy the code I use for muting: https://github.com/gdkrmr/dimRed/blob/master/R/embed.R#L115
You are trying to use Isomap? I had some problems with the CVST
package I use for the DRR
method and had to import the whole thing because of namespace issues.
Another weird namespace hack I had to do is here, maybe it helps :
https://github.com/gdkrmr/dimRed/blob/master/R/kpca.R#L116
from dimred.
I can reproduce it without a package:
dimRed::embed(dimRed::dimRedData(iris[1:4]),
"Isomap", knn = 25,
ndim = 2, .mute = "")
in a fresh R session gives the same error.
from dimred.
fixed with 36f4975
from dimred.
It works for me. Thanks
from dimred.
Related Issues (20)
- standardize function names
- LandMark ISOMAP HOT 2
- NNLM got removed from CRAN HOT 30
- make embed default to PCA HOT 1
- release schedule HOT 46
- Vignette Contribution HOT 1
- spurious error when testing HOT 2
- DiffusionMaps fails for ndim=1
- HHLE fails for ndim=1 HOT 4
- PCA_L1 fails for ndim=1 HOT 1
- NMF fails again HOT 2
- Huge Sparse Matrix HOT 4
- Changing @stdpars$knn not reflected by UMAP embedding when using "umap-learn" HOT 3
- Sparse matrix error HOT 2
- Inverse function for tsne and umap HOT 1
- Unable to work with dimRed on MNIST dataset HOT 3
- Non-standard parameters not passed through for embed() HOT 2
- Update Tensorflow to new api
- NMF issues
- Argument `.keep.org.data` not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dimred.