rime.ExperimentResult
- class rime.ExperimentResult(dual: bool, online: bool, _k1: int, _c1: int, _kmax: int, _cmax: int, item_ppl_baseline: float = None, user_ppl_baseline: float = None, item_ppl: float = None, user_ppl: float = None, item_rec: Dict[str, Dict[str, float]] = <factory>, user_rec: Dict[str, Dict[str, float]] = <factory>, mtch_: Dict[str, List[Dict[str, float]]] = <factory>)[source]
Bases:
object- __init__(dual: bool, online: bool, _k1: int, _c1: int, _kmax: int, _cmax: int, item_ppl_baseline: ~typing.Optional[float] = None, user_ppl_baseline: ~typing.Optional[float] = None, item_ppl: ~typing.Optional[float] = None, user_ppl: ~typing.Optional[float] = None, item_rec: ~typing.Dict[str, ~typing.Dict[str, float]] = <factory>, user_rec: ~typing.Dict[str, ~typing.Dict[str, float]] = <factory>, mtch_: ~typing.Dict[str, ~typing.List[~typing.Dict[str, float]]] = <factory>) None
Methods
__init__(dual, online, _k1, _c1, _kmax, _cmax)get_mtch_([k, c, name])print_results()save_results(fn)Attributes
item_pplitem_ppl_baselineuser_ppluser_ppl_baselinedualonlineitem_recuser_recmtch_