feature_store_py.fs_model¶
- class feature_store_py.fs_model.FeatureStoreModel(api_client, project_id, project_name, model_id, model_name, train_set, train_set_table_name, deploy_config, model_features=None, feature_view_partitions_dict=None, summary=None)¶
基类:
FsModelApi
,FeatureStore
Build FeatureStoreModel.
- apply_and_get_fg_json(fg_json)¶
- create_train_set_table()¶
- export_train_set(label_input_config, feature_view_config_list, train_set_output_config)¶
- property feature_view_partitions_dict¶
- get_easyrec_config_input_names(output_config_file_name='easyrec_config_input_names.config')¶
Turn fg.json to easyrec config input_names, write config to config_file_name.
- get_fg_features()¶
return @fg_json: fg.json for current model @fg_features: all fg features for fg.json @model_features: all model features for current model
- property model_features¶
- property model_id¶
- property model_name¶
- print_online_features_by_main_key(joinids=None, feature_entity=None, max_print=5)¶
- joinids: dict
feature_entity_join_id: [the value of main key]
- feature_entity: str
only print all features belongs to this entity
- process_feature(feature, root_name='')¶
- property project_id¶
- property project_name¶
- to_str()¶
- property train_set¶
- property train_set_table_name¶