modified:   learning_base.py