Comments (6)
@chbeltz, thx a lot!! will check and let you know soon.
from celltypist.
@chbeltz , can I ask why you set the scores of the opposite class to all 0. As I understand, the emulated score matrix can be simply stacked by column-binding the -decision_function
vector with the decision_function
vector.
from celltypist.
@ChuanXu1 Sure, it could. However I did not see any reason to believe that would be superior. In fact I did not see anything in the docs leading me to lean either way, seeing as the relative difference in certainty between predictions would remain the same.
Is there anything making your version preferable in your opinion?
from celltypist.
@chbeltz, in a binary case, even with the 'ovr' mode, the classifier outputs the intercept and coefficients for the second class (.classes_[1]). For the first class, the decision score is not output, but it is actually the negative form of the score in the second class. Activated by the sigmoid further, the probability of the first class will be 1 - probability_of_2nd_class. If you turn the opposite to 0, you will get all probabilities of 0.5. Wdyt?
from celltypist.
@chbeltz, I did not adopt your approach finally, but used the negative scores to make the sum of probabilities in binary cases to 1. Let me know how you think of it? Anyhow, thank you very much for raising the binary cases. cfb3b91
from celltypist.
Ah, makes sense. Did not think of that. Thanks for the fix.
from celltypist.
Related Issues (20)
- codes for harmonizing the cell labels HOT 2
- the question about conf_score HOT 3
- CellTypist_Immune_Reference_v2 question HOT 2
- Immune_All_Low - model training question HOT 4
- Cluster-level label prediction HOT 1
- Running celltypist with concatenated dataset HOT 3
- Running the CellTypist training function celltypist.train on a subset of genes HOT 1
- ValueError in celltypist.annotate HOT 3
- is it available to generate model.pkl file from a marker gene list HOT 1
- Feature: Support Rapids-singlecell HOT 1
- Can not detect a neighborhood graph, will construct one before the over-clustering HOT 1
- multiple models HOT 3
- Question about over_clustering and conf_score? HOT 1
- Conflict with variable genes and model training HOT 1
- www.celltypist.org is down, cannot download models HOT 3
- Can not download the model HOT 2
- Very low confidence score even though labels are correct HOT 2
- celltypist before/after batch correction HOT 4
- Issue accessing www.celltypist.org - 502 Bad Gateway HOT 5
- Organ atlas Citing CellTypist. Automatic cell type harmonization and integr… HOT 1
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 celltypist.