文件名称:tvscore:评分申请示例
文件大小:254KB
文件格式:ZIP
更新时间:2024-04-21 12:24:47
JavaScript
部署计分模型 该软件包说明了如何为远程评分/预测部署模型。 # Install in R library(devtools) install_github("opencpu/tvscore") # Score in R library(tvscore) mydata <- data.frame( age=c(24, 54, 32, 75), marital=c("MARRIED", "DIVORCED", "WIDOWED", "NEVER MARRIED") ) tv(input = mydata) # Score remotely curl https://public.opencpu.org/ocpu/github/opencpu/tvscore/R/tv/json \ -H "Content-Type: application/json" \ -d '{"inpu
【文件预览】:
tvscore-master
----.gitignore(40B)
----NAMESPACE(111B)
----R()
--------tv.R(895B)
--------tv_model.R(275B)
--------onLoad.R(218B)
----data()
--------tv_model.rda(118KB)
----.Rbuildignore(28B)
----man()
--------tv.Rd(513B)
--------tv_model.Rd(323B)
----README.md(1003B)
----inst()
--------tv()
--------www()
--------icon.png(10KB)
----DESCRIPTION(291B)