-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
11,710 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
############################################################################################ | ||
#Copyright 2021 Google LLC | ||
|
||
#Licensed under the Apache License, Version 2.0 (the "License"); | ||
#you may not use this file except in compliance with the License. | ||
#You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
#Unless required by applicable law or agreed to in writing, software | ||
#distributed under the License is distributed on an "AS IS" BASIS, | ||
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
#See the License for the specific language governing permissions and | ||
#limitations under the License. | ||
############################################################################################ | ||
# -*- coding: utf-8 -*- | ||
################################################################################ | ||
# deep_auto_viml - build and test multiple Tensorflow 2.0 models and pipelines | ||
# Python v3.6+ tensorflow v2.4.1+ | ||
# Created by Ram Seshadri | ||
# Licensed under Apache License v2 | ||
################################################################################ | ||
# Version | ||
from .__version__ import __version__ | ||
__all__ = ['data_load', 'models', 'modeling', 'preprocessing', 'utilities'] | ||
import pdb | ||
|
||
from .deep_autoviml import fit | ||
from deep_autoviml.modeling.predict_model import load_test_data, predict, predict_images, predict_text | ||
from deep_autoviml.utilities.utilities import print_one_row_from_tf_dataset, print_one_row_from_tf_label | ||
from deep_autoviml.utilities.utilities import print_classification_metrics, print_regression_model_stats | ||
from deep_autoviml.utilities.utilities import print_classification_model_stats, plot_history, plot_classification_results | ||
################################################################################ | ||
if __name__ == "__main__": | ||
module_type = 'Running' | ||
else: | ||
module_type = 'Imported' | ||
version_number = __version__ | ||
print(""" | ||
%s deep_auto_viml. version=%s | ||
from deep_autoviml import deep_autoviml as deepauto | ||
------------------- | ||
model, cat_vocab_dict = deepauto.fit(train, target, keras_model_type="fast", | ||
project_name="deep_autoviml", keras_options=keras_options, | ||
model_options=model_options, save_model_flag=True, use_my_model='', | ||
model_use_case='', verbose=0) | ||
predictions = deepauto.predict(model, project_name, test_dataset=test, | ||
keras_model_type=keras_model_type, | ||
cat_vocab_dict=cat_vocab_dict) | ||
""" %(module_type, version_number)) | ||
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
############################################################################################ | ||
#Copyright 2021 Google LLC | ||
|
||
#Licensed under the Apache License, Version 2.0 (the "License"); | ||
#you may not use this file except in compliance with the License. | ||
#You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
#Unless required by applicable law or agreed to in writing, software | ||
#distributed under the License is distributed on an "AS IS" BASIS, | ||
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
#See the License for the specific language governing permissions and | ||
#limitations under the License. | ||
############################################################################################ | ||
# -*- coding: utf-8 -*- | ||
"""Specifies the version of the deep_autoviml package.""" | ||
|
||
__title__ = "deep_autoviml" | ||
__author__ = "Ram Seshadri" | ||
__description__ = "deep_autoviml - build and test multiple Tensorflow 2.0 models and pipelines" | ||
__url__ = "https://github.com/Auto_ViML/deep_autoviml.git" | ||
__version__ = "0.0.82" | ||
__license__ = "Apache License 2.0" | ||
__copyright__ = "2020-21 Google" |
Oops, something went wrong.