GithubHelp home page GithubHelp logo

Comments (8)

lifan2022 avatar lifan2022 commented on July 28, 2024

Here's the result of my final visualization
e6d4d7bd6ad68dfc96205d3b42aad9f

from tosica.

apologize66 avatar apologize66 commented on July 28, 2024

Hello!
I encountered an error when running the 9th cell, which said "items in new_categories are not the same as in old categories." When I tried to change the order of the celltype defined by the original author to match the new_categories in order to solve this problem, I found that the result was the same as the one you obtained in the running result. Did you encounter the same error as well?
And,if you are also a Chinese student, perhaps we can further communicate .

1
2
3
4

from tosica.

lifan2022 avatar lifan2022 commented on July 28, 2024

Hello! I encountered an error when running the 9th cell, which said "items in new_categories are not the same as in old categories." When I tried to change the order of the celltype defined by the original author to match the new_categories in order to solve this problem, I found that the result was the same as the one you obtained in the running result. Did you encounter the same error as well? And,if you are also a Chinese student, perhaps we can further communicate .

1 2 3 4

Yes, I'm getting the same error

from tosica.

IvyYang00 avatar IvyYang00 commented on July 28, 2024

Hi! I encountered similar error as you guys. Solved as what [apologize66] did, I got a different result but still very different from the original celltype with relatively low accuracy.
image

from tosica.

IvyYang00 avatar IvyYang00 commented on July 28, 2024

Hi! I encountered similar error as you guys. Solved as what [apologize66] did, I got a different result but still very different from the original celltype with relatively low accuracy. image

I tried to useTOSICA to train my own model with human lung scRNA-seq dataset using epoch=20. The validate accuracy is 0.993 when training the model. But when I used the model to predict internal test dataset, the accuracy is only about 0.29. I don't know why.

image
image

from tosica.

JiaweiChenGo avatar JiaweiChenGo commented on July 28, 2024

Here's the result of my final visualization e6d4d7bd6ad68dfc96205d3b42aad9f

Thank you for your interest in TOSICA.
Unfortunately I cannot judge where the problem is from what has been shown here. If I encounter this problem, first, I will check whether the var_names of the ref_adata and query_adata are consistent and in the same order. Then I will check whether the pre-trained model is loaded correctly.
Besides, I noticed that different cell types were correctly separated in the attention space and there is no cell were predict to be alpha cell which is the most abundant cell type and should have the highest prediction accuracy. So I'm worried if there's something wrong with label_dictionary.csv.
If the prediction is still terrible and you are willing to share your demo dataset and code, I would be happy to help you analyze and examine what happened here!

from tosica.

JiaweiChenGo avatar JiaweiChenGo commented on July 28, 2024

Hello! I encountered an error when running the 9th cell, which said "items in new_categories are not the same as in old categories." When I tried to change the order of the celltype defined by the original author to match the new_categories in order to solve this problem, I found that the result was the same as the one you obtained in the running result. Did you encounter the same error as well? And,if you are also a Chinese student, perhaps we can further communicate .

1 2 3 4

Maybe, you masked alpha cells in the traing process, which resulted in the categories of predicted cell types being different from those in the tutorial.ipynb.
I am glad to have more communications, here is my email: [email protected] and wechat: chenjiawei9667

from tosica.

JiaweiChenGo avatar JiaweiChenGo commented on July 28, 2024

Hi! I encountered similar error as you guys. Solved as what [apologize66] did, I got a different result but still very different from the original celltype with relatively low accuracy. image

Thank you for your interest in TOSICA.
Similarly, I noticed that different cell types were correctly separated and there is no cell were predict to be alpha cell which is the most abundant cell type and should have the highest prediction accuracy. perhaps you masked alpha cells in the traing process, but the default cutoff of the predction is 0.1 which will resulte in a low accuracy.
As for the human lung scRNA-seq dataset, I am glad to help you analyze and examine what happened.

from tosica.

Related Issues (19)

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.