Browse Source

bug fixes

ogert 3 years ago
parent
commit
55eb6df553
3 changed files with 14 additions and 2 deletions
  1. 1 0
      Pipfile
  2. 12 1
      Pipfile.lock
  3. 1 1
      cdplib/ml_validation/cross_validate_with_fine_tuning.py

+ 1 - 0
Pipfile

@@ -13,6 +13,7 @@ jsonref = "*"
 simplejson = "*"
 hyperopt = "*"
 influxdb = "*"
+xgboost = "*"
 
 [requires]
 python_version = "3"

+ 12 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "237faaa1e3672de23cc6edb4fe296ab4062aad08fd95d686703a6c5c2d9c60fa"
+            "sha256": "ff0c927e4372cea857e9cb7fe2dae1b52bd4eb56084e77b7951531e424cb4a18"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -461,6 +461,17 @@
             ],
             "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'",
             "version": "==1.26.4"
+        },
+        "xgboost": {
+            "hashes": [
+                "sha256:15dd5987827030b3f68e741490a8b3a4ead7c6064bd911e36235b84e0a9d0765",
+                "sha256:5a364c152095824445ac56a83fb7f7e75913b4bb128c2fcd99b85877c9f4f8fe",
+                "sha256:7c8973204b2c2362012850605e81de5a180513fc08db36d0da9befb77c3d57c8",
+                "sha256:e8f1a366a403784afd30a56eb99a429cefc45d906943cd362025ccf942208e13",
+                "sha256:ec3f60d53dcd23273a5c7a495ba0f8205656ce750eb2ce7798726a4b2ef4955a"
+            ],
+            "index": "pypi",
+            "version": "==1.4.2"
         }
     },
     "develop": {}

+ 1 - 1
cdplib/ml_validation/cross_validate_with_fine_tuning.py

@@ -177,7 +177,7 @@ from cdplib.log import Log
 
 from cdplib.ml_validation.CVComposer import CVComposer
 
-from cdplib.fine_tuning import get_optimal_proba_threshold
+from cdplib.ml_validation,fine_tuning import get_optimal_proba_threshold
 
 
 def cross_validate_with_optimal_threshold(