使用Stata/Python的机器学习
Machine Learning using Stata/Python
摘要:
我们提出了两个相关的Stata模块,r_ml_stata和c_ml_stata,用于在回归和分类设置中拟合流行的机器学习(ML)方法。使用Stata 16的最新Stata/Python集成平台(sfi),这些命令通过使用贪婪搜索的K-fold交叉验证提供超参数的最佳调整。更具体地说,他们使用Python Scikit-learn API来执行交叉验证和结果/标签预测。
英文摘要:
We present two related Stata modules, r_ml_stata and c_ml_stata, for fitting popular Machine Learning (ML) methods both in regression and classification settings. Using the recent Stata/Python integration platform (sfi) of Stata 16, these commands provide hyper-parameters' optimal tuning via K-fold cross-validation using greed search. More specifically, they make use of the Python Scikit-learn API to carry out both cross-validation and outcome/label prediction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。