dont round off the targets
This commit is contained in:
@ -15,14 +15,10 @@ class Bundle(BaseModel):
|
||||
type: str
|
||||
|
||||
def tif(self, irt_model: IRTModel, theta: float) -> float:
|
||||
val = TestInformationFunction(irt_model).calculate(self.items, theta=theta)
|
||||
|
||||
return round(val, 2)
|
||||
return TestInformationFunction(irt_model).calculate(self.items, theta=theta)
|
||||
|
||||
def trf(self, irt_model: IRTModel, theta: float) -> float:
|
||||
val = TestResponseFunction(irt_model).calculate(self.items, theta=theta)
|
||||
|
||||
return round(val, 2)
|
||||
return TestResponseFunction(irt_model).calculate(self.items, theta=theta)
|
||||
|
||||
def tif_trf_sum(self, solver_run):
|
||||
return self.__trf_sum(solver_run) + self.__tif_sum(solver_run)
|
||||
|
Reference in New Issue
Block a user