多项Logit模型的快速估计:R包mnlogit
Fast Estimation of Multinomial Logit Models: R Package mnlogit
摘要:
我们提出了R包mnlogit用于训练多项逻辑斯谛回归模型,特别是那些涉及大量类和特征的模型。与现有的软件相比,mnlogit为中等规模的问题提供了10 - 50倍的加速,为更大的问题提供了100倍以上的加速。在多核机器上以并行模式运行mnlogit可以在多达8个处理器内核上提供额外的2 - 4倍加速。通过利用中间计算中出现的矩阵中的结构来大幅加速对数似然函数的Hessian矩阵的计算,从而实现计算效率。
英文摘要:
We present R package mnlogit for training multinomial logistic regression models, particularly those involving a large number of classes and features. Compared to existing software, mnlogit offers speedups of 10x-50x for modestly sized problems and more than 100x for larger problems. Running mnlogit in parallel mode on a multicore machine gives an additional 2x-4x speedup on up to 8 processor cores. Computational efficiency is achieved by drastically speeding up calculation of the log-likelihood function's Hessian matrix by exploiting structure in matrices that arise in intermediate calculations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。