计算给定前一个训练集的渐进性超负荷的下一个训练集。
progressive-overload的Python项目详细描述
累进过载
计算上一个给定的渐进性超负荷的下一个训练集 一个。
安装
$ pip install progressive-overload
使用
fromprogressive_overloadimport*progressive_overload([(8,10),(8,10),(8,10)],# weight x reps for each setmax_reps=12,# maximum number of reps per set in the outputweight_increment=2,# the amount the weight can increase by)guess_max_reps([12,10,10])# the already performed repsguess_weight_increment([Decimal(10),Decimal(8),Decimal(8)])# the already performed weights
运行
$ progressive-overload --max-reps 10 --increment 2'8 x 10''8 x 10''8 x 10'
测试
$ pipenv install --dev
$ pipenv run python setup.py test