Skip to content

Commit a5934d8

Browse files
DevmateMrMediaCqsF405 Botfacebook-github-bot
authored andcommitted
fbcode/openzl/dev/tools/py/zstrong_ml.py
Reviewed By: terrelln Differential Revision: D114197886
1 parent 8765b20 commit a5934d8

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

tools/py/zstrong_ml.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,35 @@
77

88
import pandas as pd
99
import xgboost as xgb
10-
from zstrong_json.ml import *
10+
from zstrong_json.ml import (
11+
BaseFeatureGenerator as BaseFeatureGenerator,
12+
DeltaIntFeatureGenerator as DeltaIntFeatureGenerator,
13+
FeatureGenerator as FeatureGenerator,
14+
GBTModel as GBTModel,
15+
IntFeatureGenerator as IntFeatureGenerator,
16+
MLModel as MLModel,
17+
MLSelector as MLSelector,
18+
MLTrainingSample as MLTrainingSample,
19+
MLTrainingSelector as MLTrainingSelector,
20+
samples_from_json as samples_from_json,
21+
samples_to_json as samples_to_json,
22+
TokenizeIntFeatureGenerator as TokenizeIntFeatureGenerator,
23+
)
24+
25+
_ZSTRONG_JSON_ML_REEXPORTS = (
26+
BaseFeatureGenerator,
27+
DeltaIntFeatureGenerator,
28+
FeatureGenerator,
29+
GBTModel,
30+
IntFeatureGenerator,
31+
MLModel,
32+
MLSelector,
33+
MLTrainingSample,
34+
MLTrainingSelector,
35+
samples_from_json,
36+
samples_to_json,
37+
TokenizeIntFeatureGenerator,
38+
)
1139

1240

1341
class CoreModel(t.NamedTuple):

0 commit comments

Comments
 (0)