Open zxl777 opened 5 months ago
Yah this is fine, predictRecall
is returning log-probability. For real probability, pass in logDomain=False
:
print([
ebisu.predictRecall(model, timeSinceLastReview), # what you have
ebisu.predictRecall(model, timeSinceLastReview, logDomain=False), # ask for linear domain
2**ebisu.predictRecall(model, timeSinceLastReview) # do the exponential yourself
])
# -1.5234768228692503 0.34784661272006395 0.34784661272006395
Thank you.
Looking forward to the new IPython Notebook crash course for 3.0.
Output: probabilityRecall = -1.5234768228692503 28.509940322512662 8.099971706104066
Source: