aws / sagemaker-xgboost-container
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 44 files with 3,472 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,775 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (602 lines of code)
    • 34 very small files (1,095 lines of code)
0% | 0% | 51% | 17% | 31%
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% | 52% | 17% | 30%
java0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/sagemaker_xgboost_container/algorithm_mode0% | 0% | 65% | 14% | 19%
src/sagemaker_xgboost_container/dmlc_patch0% | 0% | 99% | 0% | <1%
src/sagemaker_xgboost_container0% | 0% | 31% | 31% | 36%
src/sagemaker_algorithm_toolkit0% | 0% | 61% | 0% | 38%
src/sagemaker_xgboost_container/mms_patch0% | 0% | 0% | 72% | 27%
src/sagemaker_xgboost_container/constants0% | 0% | 0% | 0% | 100%
docker/1.3-1/resources/mms0% | 0% | 0% | 0% | 100%
src/sagemaker_xgboost_container/metrics0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
tracker.py
in src/sagemaker_xgboost_container/dmlc_patch
410 31
data_utils.py
in src/sagemaker_xgboost_container
335 22
hyperparameter_validation.py
in src/sagemaker_algorithm_toolkit
312 54
serve_utils.py
in src/sagemaker_xgboost_container/algorithm_mode
269 17
train.py
in src/sagemaker_xgboost_container/algorithm_mode
238 6
hyperparameter_validation.py
in src/sagemaker_xgboost_container/algorithm_mode
211 1
checkpointing.py
in src/sagemaker_xgboost_container
179 20
serve.py
in src/sagemaker_xgboost_container/algorithm_mode
160 17
distributed.py
in src/sagemaker_xgboost_container
151 11
model_server.py
in src/sagemaker_xgboost_container/mms_patch
112 10
serving_mms.py
in src/sagemaker_xgboost_container
77 7
serving.py
in src/sagemaker_xgboost_container
76 8
metadata.py
in src/sagemaker_algorithm_toolkit
74 8
encoder.py
in src/sagemaker_xgboost_container
71 6
prediction_utils.py
in src/sagemaker_xgboost_container
71 6
xgb_constants.py
in src/sagemaker_xgboost_container/constants
68 -
ExecutionParameters.java
in docker/1.3-1/resources/mms
65 8
custom_metrics.py
in src/sagemaker_xgboost_container/metrics
61 14
channel_validation.py
in src/sagemaker_algorithm_toolkit
56 8
train_utils.py
in src/sagemaker_xgboost_container/algorithm_mode
54 6
handler_service.py
in src/sagemaker_xgboost_container/algorithm_mode
51 5
training.py
in src/sagemaker_xgboost_container
45 3
mms_transformer.py
in src/sagemaker_xgboost_container/mms_patch
42 1
metrics.py
in src/sagemaker_algorithm_toolkit
37 9
setup.py
in root
37 1
integration.py
in src/sagemaker_xgboost_container/algorithm_mode
35 1
exceptions.py
in src/sagemaker_algorithm_toolkit
31 5
handler_service.py
in src/sagemaker_xgboost_container
25 5
channel_validation.py
in src/sagemaker_xgboost_container/algorithm_mode
22 1
inference_errors.py
in src/sagemaker_xgboost_container/algorithm_mode
20 4
callback.py
in src/sagemaker_xgboost_container
16 1
metrics.py
in src/sagemaker_xgboost_container/algorithm_mode
15 1
metadata.py
in src/sagemaker_xgboost_container/algorithm_mode
14 1
sm_env_constants.py
in src/sagemaker_xgboost_container/constants
13 -
__init__.py
in src/sagemaker_xgboost_container/algorithm_mode
5 -
xgb_content_types.py
in src/sagemaker_xgboost_container/constants
4 -
cfg
setup.cfg
in root
3 -
__init__.py
in src/sagemaker_algorithm_toolkit
1 -
__init__.py
in src/sagemaker_xgboost_container/dmlc_patch
1 -
__init__.py
in src/sagemaker_xgboost_container
1 -
__init__.py
in src/sagemaker_xgboost_container/mms_patch
1 -
__init__.py
in src/sagemaker_xgboost_container/constants
1 -
__init__.py
in src/sagemaker_xgboost_container/metrics
1 -
in
MANIFEST.in
in root
1 -
Files With Most Units (Top 20)
File# lines# units
hyperparameter_validation.py
in src/sagemaker_algorithm_toolkit
312 54
tracker.py
in src/sagemaker_xgboost_container/dmlc_patch
410 31
data_utils.py
in src/sagemaker_xgboost_container
335 22
checkpointing.py
in src/sagemaker_xgboost_container
179 20
serve_utils.py
in src/sagemaker_xgboost_container/algorithm_mode
269 17
serve.py
in src/sagemaker_xgboost_container/algorithm_mode
160 17
custom_metrics.py
in src/sagemaker_xgboost_container/metrics
61 14
distributed.py
in src/sagemaker_xgboost_container
151 11
model_server.py
in src/sagemaker_xgboost_container/mms_patch
112 10
metrics.py
in src/sagemaker_algorithm_toolkit
37 9
channel_validation.py
in src/sagemaker_algorithm_toolkit
56 8
metadata.py
in src/sagemaker_algorithm_toolkit
74 8
serving.py
in src/sagemaker_xgboost_container
76 8
ExecutionParameters.java
in docker/1.3-1/resources/mms
65 8
serving_mms.py
in src/sagemaker_xgboost_container
77 7
encoder.py
in src/sagemaker_xgboost_container
71 6
prediction_utils.py
in src/sagemaker_xgboost_container
71 6
train.py
in src/sagemaker_xgboost_container/algorithm_mode
238 6
train_utils.py
in src/sagemaker_xgboost_container/algorithm_mode
54 6
exceptions.py
in src/sagemaker_algorithm_toolkit
31 5
Files With Long Lines (Top 0)

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

File# lines# units# long lines