Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the interpretation of mod2 in Algorithm SM-5?

ALGORITHM interpretation sm-5
0
Posted

What is the interpretation of mod2 in Algorithm SM-5?

0

(#14257) (Joseph Michael Galero, Jul 03, 2008, 20:46:40) Question: I am trying to understand Algorithm SM-5 (as described in http://www.supermemo.com/english/ol/sm5.htm). mod5 and mod2 are described to be values proposed for the modifier when q is equal to 5 and 2 respectively. In the code, mod5 is used when q > 4, consistent with the description. But, mod2 is used in the computation of the modifier in the else condition. Doesn’t that mean mod2 represents q’s 0 to 3 (with 4 left out because q=4 doesn’t change the OF)? Answer: Yes. mod2 is used for a range of values. The name and the description come from the fact that for Quality=2 you get modifier=mod2 (because modifier:=1-(1-mod2)/2*(4-quality)).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123