Skip to content

xgboost-predictor ,java使用python训练的模型文件

Notifications You must be signed in to change notification settings

geek-jiaxu/xgboost-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xgboost-predictor

xgboost-predictor ,java使用python训练的xgboost模型文件,模型文件须是dump出的文本文件

eg

public static void main(String[] args) {
  XgBooster xgb = new XgBooster("./data/dump.model");
  System.out.println(xgb.score("1:1 2:1 3:0.223 33:22 7:3"));
}

About

xgboost-predictor ,java使用python训练的模型文件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages