working TCC (Test response funciton)

This commit is contained in:
Josh Burman
2021-10-29 18:43:56 +00:00
parent 6b1bbda169
commit 258915b08f
7 changed files with 25 additions and 19 deletions

View File

@ -7,7 +7,6 @@ class ThreeParameterLogistic:
self.theta = kwargs['theta']
def result(self):
a = self.model_params.a
c = self.model_params.c
return c + (1 - c) * (1 / (1 + e**(-a * (self.theta - self.b_param))))
a = self.model_params.a_param
c = self.model_params.c_param
return c + (1 - c) * (1 / (1 + self.e**(-a * (self.theta - self.b_param))))