The membership in these two classes-and thus prediction of the subject 's gait improvement trajectory over time-could be determined by the subject 's maximum voluntary torque at the ankle under both plantar-and dorsi-flexion contractions determined prior to any training .