File size: 267 Bytes
9f0036e
 
 
 
 
1
2
3
4
5
6
with open(os.path.join(model_dir, 'README.md'), 'w') as f:
    f.write("# Stacking Model\nThis is a stacking model trained on agricultural yield data.")

with open(os.path.join(model_dir, 'requirements.txt'), 'w') as f:
    f.write("scikit-learn\nxgboost\njoblib\n")