Browse Source

[MNT] Modify details in JobSelectorReuser

tags/v0.3.2
Gene 3 years ago
parent
commit
598ca8e06a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      learnware/learnware/reuse.py

+ 2
- 2
learnware/learnware/reuse.py View File

@@ -47,7 +47,7 @@ class JobSelectorReuser(BaseReuser):
np.ndarray
Prediction given by job-selector method
"""
select_result = self._job_selector(user_data)
select_result = self.job_selector(user_data)
pred_y_list = []
data_idxs_list = []

@@ -75,7 +75,7 @@ class JobSelectorReuser(BaseReuser):

return selector_pred_y

def _job_selector(self, user_data: np.ndarray):
def job_selector(self, user_data: np.ndarray):
"""Train job selector based on user's data, which predicts which learnware in the pool should be selected

Parameters


Loading…
Cancel
Save