close
This commit is contained in:
@ -15,12 +15,14 @@ class Bundle(BaseModel):
|
||||
type: str
|
||||
|
||||
def tif(self, irt_model: IRTModel, theta: float) -> float:
|
||||
return TestInformationFunction(irt_model).calculate(self.items,
|
||||
theta=theta)
|
||||
return 0.9
|
||||
# return TestInformationFunction(irt_model).calculate(self.items,
|
||||
# theta=theta)
|
||||
|
||||
def trf(self, irt_model: IRTModel, theta: float) -> float:
|
||||
return TestResponseFunction(irt_model).calculate(self.items,
|
||||
theta=theta)
|
||||
return 0.9
|
||||
# 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)
|
||||
|
@ -14,12 +14,14 @@ class Item(BaseModel):
|
||||
b_param: float = 0.00
|
||||
|
||||
def iif(self, solver_run, theta):
|
||||
return ItemInformationFunction(solver_run.irt_model).calculate(
|
||||
b_param=self.b_param, theta=theta)
|
||||
return 0.9
|
||||
# return ItemInformationFunction(solver_run.irt_model).calculate(
|
||||
# b_param=self.b_param, theta=theta)
|
||||
|
||||
def irf(self, solver_run, theta):
|
||||
return ItemResponseFunction(solver_run.irt_model).calculate(
|
||||
b_param=self.b_param, theta=theta)
|
||||
return 0.9
|
||||
# return ItemResponseFunction(solver_run.irt_model).calculate(
|
||||
# b_param=self.b_param, theta=theta)
|
||||
|
||||
def get_attribute(self, ref_attribute):
|
||||
for attribute in self.attributes:
|
||||
|
Reference in New Issue
Block a user