Comments (6)
I believe that the issue should be caused by a bug. I have looked into the code in core.py and found that the 'SpectralEmbedding' only have 'fit' and 'fit_transform' function. But, which function should I choose?
PS: I have chose fit_transform to run, it works.
from stream.
Thanks for the important feedback! I will try to fix it in the next update.
from stream.
Hi Peifeng,
I was looking into the issue and just realized that the spectral embedding method se
currently doesn't have the method transform
supported in scikit-learn yet. Unless we write the projection function ourselves (this may take a long time), currently in STREAM, to map new data, you might have to use other available methods (e.g. mlle
or umap
. but you need to use the same method during the dimension reduction step)
from stream.
I believe that the issue should be caused by a bug. I have looked into the code in core.py and found that the 'SpectralEmbedding' only have 'fit' and 'fit_transform' function. But, which function should I choose?
PS: I have chose fit_transform to run, it works.
fit_transform
will generate a new embedding space instead of projecting new points into the same embedding space used for the reference data. The result (generate a new embedding space for new points) might be similar to using transform
(projecting new points to the same reference space) but like I said, it's not a mapping process any more. so you might need to be cautious about the final result.
from stream.
Ok, got it ! I'll use available methods. Thank for the reply.
from stream.
We found the "se" projection provides better trajectories than the "mlle", which is influenced by extream points when the data is small. Hope to see the "se" mapping strategy available soon.
from stream.
Related Issues (20)
- `uns_key` has no default` HOT 1
- value of the legend HOT 1
- st.add_cell_labels error: ValueError: Length mismatch HOT 10
- import stream as st st.__version__ HOT 4
- Stream remove label ? HOT 11
- same notebook gives different stream plots HOT 9
- AttributeError: 'Graph' object has no attribute 'node' HOT 2
- Issue with selecting cell types in the STREAM HOT 2
- Stream 1.1 Error HOT 6
- Error in st.cal_qc
- st.plot_stream error HOT 1
- mapping scATAC-seq data with precomputated UMAP
- The first label is missing while plotting HOT 2
- Color palette in plot_flat_tree
- STREAM2 not found in conda channel
- dimension_reduction jupyter kernel dies HOT 1
- Error when runing extend_elastic_principal_graph HOT 1
- TypeError: cannot unpack non-iterable int object
- A known bug related to `select_variable_genes`
- Error in glue(.Internal(R.home()), "library", "base", "R", "base", sep = .Platform$file.sep)
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 stream.