DeepImmuno icon indicating copy to clipboard operation
DeepImmuno copied to clipboard

A typo in the paper supplementary regarding the beta prior

Open frankligy opened this issue 1 year ago • 0 comments

Dear users,

It has been brought to my attention that there's a typo in my paper supplementary regarding the beta prior, so in the supplementary, it said:

Screen Shot 2023-05-19 at 9 23 47 AM

But actually, Beta(32,1) is used for positive-high, Beta(30,1) is used for positive-intermediate and positive, it can be seen from the code:

https://github.com/frankligy/DeepImmuno/blob/main/src/immuno3_3.py#L17-L43

def assign_prior(label):
    if label == 'Positive-High':
        return (32,1)   # beta(15,1)   mean=0.93, std = 0.05
    elif label == 'Positive' or label == 'Positive-Intermediate':
        return (30,1)   # beta(10,1)   mean = 0.90  std = 0.08
    elif label == 'Positive-Low':
        return (28,1)    # beta(5,1)   mean = 0.83, std = 0.14
    elif label == 'Negative':
        return (3,3)    # beta(3,4)   mean = 0.42, std = 0.17

I apologize for any confusion caused by that, and please feel free to reach out for any questions!

Sincerely, Frank

frankligy avatar May 19 '23 13:05 frankligy