This repository was archived by the owner on Aug 25, 2024. It is now read-only.
File tree 2 files changed +3
-2
lines changed
model/tensorflow/dffml_model_tensorflow 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
83
83
- JSON source now has ` entry_point ` decoration
84
84
- Strict flag in df.memory is now on by default
85
85
- Dynamically created scikit models get config args correctly
86
+ - Renamed ` DNNClassifierModelContext ` first init arg from ` config ` to ` features `
86
87
### Removed
87
88
- Repo objects are no longer classification specific. Their ` classify ` ,
88
89
` classified ` , and ` classification ` methods were removed.
Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ class DNNClassifierModelContext(TensorflowModelContext):
107
107
columns for real valued, string, and list of real valued features.
108
108
"""
109
109
110
- def __init__ (self , config , parent ) -> None :
111
- super ().__init__ (config , parent )
110
+ def __init__ (self , features , parent ) -> None :
111
+ super ().__init__ (features , parent )
112
112
self .cids = self ._mkcids (self .parent .config .classifications )
113
113
self .classifications = self ._classifications (self .cids )
114
114
self .model_dir_path = self ._model_dir_path ()
You can’t perform that action at this time.
0 commit comments