working TCC (Test response funciton)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
from models.three_parameter_logitistc import ThreeParameterLogistic
|
||||
from lib.irt.models.three_parameter_logistic import ThreeParameterLogistic
|
||||
|
||||
class ItemResponseFunction():
|
||||
def __init__(self, irt_model):
|
||||
@ -6,7 +6,7 @@ class ItemResponseFunction():
|
||||
|
||||
def calculate(self, **kwargs):
|
||||
if self.model_data.model == '3PL':
|
||||
return ThreeParameterLogistic.new(self.model_data, kwargs).result
|
||||
return ThreeParameterLogistic(self.model_data, kwargs).result()
|
||||
else:
|
||||
# potentially error out
|
||||
return None
|
||||
|
Reference in New Issue
Block a user