GithubHelp home page GithubHelp logo

Comments (1)

ruochiz avatar ruochiz commented on August 16, 2024

Hi,

The NaN loss is "expected", that's just an intermediate information and doesn't represent that it's actually NaN. I think the problem might occur from the "reordering" of the cells. (I mean you can see that there are three clusters in the UMAP, they just not correspond to the cell types) In Fast-Higashi, cells with better qualities are ordered automatically in front of the cells with bad qualities.

To fix that, load the "reorder.npy" under the input2cache_dir, and use that to reorder the label info by label = label[reorder].

Or... use the label_info loaded in the model instead (mode.label_info['cell type'] for instance.)

See details in the final visualization part here: https://github.com/ma-compbio/Fast-Higashi/blob/main/PFC%20tutorial.ipynb

That being said, I recognize how this can be confusing, and will release a fix to this problem such that the order is corrected automatically by parsing an option to the fetch_cell_embedding() function

from higashi.

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.