固执己见的机器学习组织与配置
microcosm-sagemaker的Python项目详细描述
微观圣哲制造者
使用Sagemaker进行固执己见的机器学习
用法
有关最佳实践,请参见
^{
分析
确保安装了pyinstrument
,可以使用pip install pyinstrument
,也可以使用profiling
附加依赖项安装microcosm-sagemaker
。
pip install -e '.[profiling]'
要启用应用程序的分析,请将--profile
标志与runserver
:
runserver --profile
服务将记录它处于分析模式,并宣布它要导出到的目录。对端点的每个调用都将被分析,其结果将存储在分析目录中带有时间标记的html文件中。