path_constants.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # Copyright 2016 Google Inc. All Rights Reserved.
  15. #
  16. # Licensed under the Apache License, Version 2.0 (the "License");
  17. # you may not use this file except in compliance with the License.
  18. # You may obtain a copy of the License at
  19. #
  20. # http://www.apache.org/licenses/LICENSE-2.0
  21. #
  22. # Unless required by applicable law or agreed to in writing, software
  23. # distributed under the License is distributed on an "AS IS" BASIS,
  24. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  25. # See the License for the specific language governing permissions and
  26. # limitations under the License.
  27. """File paths for the Criteo Classification pipeline.
  28. """
  29. from __future__ import absolute_import
  30. from __future__ import division
  31. from __future__ import print_function
  32. TEMP_DIR = 'tmp'
  33. TRANSFORM_FN_DIR = 'transform_fn'
  34. RAW_METADATA_DIR = 'raw_metadata'
  35. TRANSFORMED_METADATA_DIR = 'transformed_metadata'
  36. TRANSFORMED_TRAIN_DATA_FILE_PREFIX = 'features_train'
  37. TRANSFORMED_EVAL_DATA_FILE_PREFIX = 'features_eval'
  38. TRANSFORMED_PREDICT_DATA_FILE_PREFIX = 'features_predict'
  39. TRAIN_RESULTS_FILE = 'train_results'
  40. DEPLOY_SAVED_MODEL_DIR = 'saved_model'
  41. MODEL_EVALUATIONS_FILE = 'model_evaluations'
  42. BATCH_PREDICTION_RESULTS_FILE = 'batch_prediction_results'