// ============================================================================= // FILE: StdString.h // AUTHOR: Joe O'Leary (with outside help noted in comments) // // If you find any bugs in this code, please let me know: // // jmoleary@earthlink.
水管工模型
有助于将经过训练的模型部署到生产的最小代码的软件包。 它使用带有几个有用端点的plumber包创建一个API。
library( tidyverse )
library( caret )
library( plumberModel )
model % select( - Species ), iris $ Species )
api <- PlumberModel $ new( model )
api $ run( port = 8000 )
1.可用端点
GET / mo