Code Monkey home page Code Monkey logo

Comments (6)

jipeifeng avatar jipeifeng commented on August 27, 2024

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.

huidongchen avatar huidongchen commented on August 27, 2024

Thanks for the important feedback! I will try to fix it in the next update.

from stream.

huidongchen avatar huidongchen commented on August 27, 2024

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.

huidongchen avatar huidongchen commented on August 27, 2024

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.

jipeifeng avatar jipeifeng commented on August 27, 2024

Ok, got it ! I'll use available methods. Thank for the reply.

from stream.

ccshao avatar ccshao commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.