benmiroglio / pymatch

MIT License
276 stars 129 forks source link

Meaning of `nmodels` unclear #59

Open buhtz opened 2 years ago

buhtz commented 2 years ago

I am sorry for asking but after reading README.md and help() it is still unclear for me what the nmodels argument of fit_score() means.

Can you explain it another way?

I get an IndexError no matter which value I set for nmodels or if I leave it empty.

    m.predict_scores()
  File "C:\Users\buhtzch\AppData\Roaming\Python\Python39\site-packages\pymatch\Matcher.py", line 140, in predict_scores
    m = self.models[i]
IndexError: list index out of range