aws-samples / amazon-sagemaker-examples-jp
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 37 files with 2,718 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (468 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,037 lines of code)
    • 28 very small files (1,213 lines of code)
0% | 0% | 17% | 38% | 44%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 20% | 40% | 39%
h0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
meta0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
distributed_training0% | 0% | 72% | 0% | 27%
autogluon0% | 0% | 0% | 81% | 18%
hpo_pytorch_mnist0% | 0% | 0% | 72% | 27%
sagemaker-experiments0% | 0% | 0% | 84% | 15%
nlp_amazon_review0% | 0% | 0% | 63% | 36%
edge_inference0% | 0% | 0% | 25% | 74%
amazon_forecast_tutorial0% | 0% | 0% | 76% | 23%
workshop0% | 0% | 0% | 0% | 100%
mlops0% | 0% | 0% | 0% | 100%
sagemaker_processing0% | 0% | 0% | 0% | 100%
tensorflow2_training_and_serving0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
train_pytorch_single_maskrcnn.py
in distributed_training
235 5
train_pytorch_smdataparallel_maskrcnn.py
in distributed_training
233 5
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6
mnist.py
in hpo_pytorch_mnist
153 9
mnist_train.py
in sagemaker-experiments/pytorch_mnist/src
153 9
train_and_deploy.py
in nlp_amazon_review/GluonNLP_BERT/src
121 2
dlr.h
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1/classifier
115 -
fcst_utils.py
in amazon_forecast_tutorial/common/util
104 7
cnn_mnist_after.py
in workshop/lab_bring-your-own-model/tensorflow
92 4
inference.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
91 5
classifier_train.py
in edge_inference/greengrass-ml-inference/src
73 4
cnn_mnist_before.py
in workshop/lab_bring-your-own-model/tensorflow
72 2
preprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/preprocess
64 1
input.html
in hpo_pytorch_mnist
58 -
postprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/postprocess
53 2
preprocess.py
in sagemaker_processing/processing_with_bring_your_own_container_for_beginner/preprocess_script
51 1
subscriber.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Subscriber/1.0.0
49 4
mnist.py
in tensorflow2_training_and_serving
48 3
IoTPublisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.0
46 1
e2e_mask_rcnn_R_50_FPN_1x_64GPU_4bs.yaml
in distributed_training
45 -
e2e_mask_rcnn_R_50_FPN_1x_16GPU_4bs.yaml
in distributed_training
45 -
e2e_mask_rcnn_R_50_FPN_1x_32GPU_4bs.yaml
in distributed_training
45 -
e2e_mask_rcnn_R_50_FPN_1x_8GPU_4bs.yaml
in distributed_training
45 -
IoTPublisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1
45 1
preprocess.py
in sagemaker_processing/processing_with_bring_your_own_container_for_beginner/container/preprocess_code
43 1
publisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Publisher/1.0.0
41 -
transform.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/data
36 2
meta
compiled.meta
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1/classifier
33 -
classification.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/model
32 4
notebook_utils.py
in amazon_forecast_tutorial/common/util
30 4
mnist_deploy.py
in sagemaker-experiments/pytorch_mnist/src
28 3
com.example.Publisher-1.0.0.yaml
in edge_inference/greengrass-ml-inference/src/ggv2/components/recipes
22 -
com.example.Subscriber-1.0.0.yaml
in edge_inference/greengrass-ml-inference/src/ggv2/components/recipes
22 -
__init__.py
in amazon_forecast_tutorial/common/util
2 -
__init__.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/model
1 -
__init__.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/data
1 -
Files With Most Units (Top 20)
File# lines# units
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14
mnist.py
in hpo_pytorch_mnist
153 9
mnist_train.py
in sagemaker-experiments/pytorch_mnist/src
153 9
fcst_utils.py
in amazon_forecast_tutorial/common/util
104 7
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6
train_pytorch_single_maskrcnn.py
in distributed_training
235 5
train_pytorch_smdataparallel_maskrcnn.py
in distributed_training
233 5
inference.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
91 5
classification.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/model
32 4
notebook_utils.py
in amazon_forecast_tutorial/common/util
30 4
cnn_mnist_after.py
in workshop/lab_bring-your-own-model/tensorflow
92 4
classifier_train.py
in edge_inference/greengrass-ml-inference/src
73 4
subscriber.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Subscriber/1.0.0
49 4
mnist.py
in tensorflow2_training_and_serving
48 3
mnist_deploy.py
in sagemaker-experiments/pytorch_mnist/src
28 3
train_and_deploy.py
in nlp_amazon_review/GluonNLP_BERT/src
121 2
transform.py
in nlp_amazon_review/GluonNLP_BERT/src/bert/data
36 2
postprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/postprocess
53 2
cnn_mnist_before.py
in workshop/lab_bring-your-own-model/tensorflow
72 2
preprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/preprocess
64 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 9 long lines.

File# lines# units# long lines
train.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/container-training
191 6 3
preprocess.py
in mlops/sagemaker-pipelines/sagemaker-pipelines-sample/preprocess
64 1 1
ag_utils.py
in autogluon/tabular-prediction/AutoGluon-Tabular-with-SageMaker/utils
200 14 1
classifier_train.py
in edge_inference/greengrass-ml-inference/src
73 4 1
IoTPublisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.0
46 1 1
IoTPublisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.IoTPublisher/1.0.1
45 1 1
publisher.py
in edge_inference/greengrass-ml-inference/src/ggv2/components/artifacts/com.example.Publisher/1.0.0
41 - 1