From dcbcc1d8f1b4ca75a6b313ecc1163208b307d452 Mon Sep 17 00:00:00 2001 From: Jack Tang Date: Thu, 22 Apr 2021 12:29:40 +0800 Subject: [PATCH] Release 0.1.1 --- docs/theindex.html | 22 +++++++++++++++- docs/xgboost.html | 63 +++++++++++++++++++++++++++++++++++++++++++++- docs/xgboost.idx | 5 ++++ xgboost.nimble | 2 +- 4 files changed, 89 insertions(+), 3 deletions(-) diff --git a/docs/theindex.html b/docs/theindex.html index c650238..fbe3582 100644 --- a/docs/theindex.html +++ b/docs/theindex.html @@ -96,10 +96,22 @@

Index

  • xgboost: finalize(b: XGBooster)
  • +
    getAttr:
    +
    getAttrNames:
    libxgboost:
    +
    loadModel:
    nCol:
    +
    saveModel:
    +
    setAttr:
    setParam:
    + + + + +
    + +
    proc saveModel(b: XGBooster; fname: string) {...}{.raises: [XGError], tags: [].}
    +
    + + + +
    + +
    proc loadModel(b: XGBooster; fname: string) {...}{.raises: [XGError], tags: [].}
    +
    + + + +
    + +
    proc getAttr(b: XGBooster; key: string): Option[string] {...}{.raises: [XGError],
    +    tags: [].}
    +
    + + + +
    + +
    proc setAttr(b: XGBooster; key, value: string) {...}{.raises: [XGError], tags: [].}
    +
    + +Set or delete string attribute. + +
    + +
    proc getAttrNames(b: XGBooster): seq[string] {...}{.raises: [XGError], tags: [].}
    +
    + +Get the names of all attribute from Booster. +
    @@ -445,7 +506,7 @@

    Exports

    diff --git a/docs/xgboost.idx b/docs/xgboost.idx index 2325f1f..c3bb572 100644 --- a/docs/xgboost.idx +++ b/docs/xgboost.idx @@ -22,3 +22,8 @@ update xgboost.html#update,XGBooster,int,XGDMatrix xgboost: update(b: XGBooster; eval xgboost.html#eval,XGBooster,int,openArray[] xgboost: eval(b: XGBooster; iter: int; dmats: openArray[(string, XGDMatrix)]): string train xgboost.html#train,openArray[],XGDMatrix,int,openArray[] xgboost: train(params: openArray[(string, string)]; dtrain: XGDMatrix;\n num_boost_round: int = 10; evals: openArray[(string, XGDMatrix)] = []): XGBooster predict xgboost.html#predict,XGBooster,XGDMatrix xgboost: predict(b: XGBooster; m: XGDMatrix): seq[float32] +saveModel xgboost.html#saveModel,XGBooster,string xgboost: saveModel(b: XGBooster; fname: string) +loadModel xgboost.html#loadModel,XGBooster,string xgboost: loadModel(b: XGBooster; fname: string) +getAttr xgboost.html#getAttr,XGBooster,string xgboost: getAttr(b: XGBooster; key: string): Option[string] +setAttr xgboost.html#setAttr,XGBooster,string,string xgboost: setAttr(b: XGBooster; key, value: string) +getAttrNames xgboost.html#getAttrNames,XGBooster xgboost: getAttrNames(b: XGBooster): seq[string] diff --git a/xgboost.nimble b/xgboost.nimble index 1b179e1..3e474d4 100644 --- a/xgboost.nimble +++ b/xgboost.nimble @@ -1,6 +1,6 @@ # Package -version = "0.1.0" +version = "0.1.1" author = "Jack Tang" description = "Nim wrapper for libxgboost" license = "MIT"