in Medical_Text_Analysis_Resources/docker_containers/model_container/model_scripts/hosted_model.py [0:0]
def run_null(self,null_location='null_hypothesis.txt',score=None):
'''run null hypothesis to get pvalue'''
f_in=open(null_location,'r')
hist_dists_null=json.load(f_in)
#next, create the kernel density estimation (kde) for the null hypothesis
kde= gaussian_kde(hist_dists_null)
pvalue=self.get_pvalue(kde,score)
return(pvalue)