Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quoc Bao Bui committed Oct 31, 2020
1 parent 7b13e0c commit 10f0703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ package main
import (
"fmt"

xgb "github.com/Elvenson/xgboost-go"
"github.com/Elvenson/xgboost-go/activation"
"github.com/Elvenson/xgboost-go/mat"
"github.com/Elvenson/xgboost-go/models"
)

func main() {
ensemble, err := models.LoadXGBoostFromJSON("your model path",
ensemble, err := xgb.LoadXGBoostFromJSON("your model path",
"", 1, 4, &activation.Logistic{})
if err != nil {
panic(err)
Expand Down

0 comments on commit 10f0703

Please sign in to comment.