leet the solver drift

This commit is contained in:
Adrian Manteza
2022-03-16 02:51:39 +00:00
parent cc704d97da
commit 812e7aaad9
4 changed files with 67 additions and 67 deletions

View File

@ -14,14 +14,14 @@ class Item(BaseModel):
b_param: float = 0.00
def iif(self, solver_run, theta):
return 0.9
# return ItemInformationFunction(solver_run.irt_model).calculate(
# b_param=self.b_param, theta=theta)
val = ItemInformationFunction(solver_run.irt_model).calculate(b_param=self.b_param, theta=theta)
return round(val, 2)
def irf(self, solver_run, theta):
return 0.9
# return ItemResponseFunction(solver_run.irt_model).calculate(
# b_param=self.b_param, theta=theta)
val = ItemResponseFunction(solver_run.irt_model).calculate(b_param=self.b_param, theta=theta)
return round(val, 2)
def get_attribute(self, ref_attribute):
for attribute in self.attributes: