facebookresearch / Context-Aware-Representation-Crop-Yield-Prediction
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 87 files with 5,795 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,490 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,847 lines of code)
    • 69 very small files (2,458 lines of code)
0% | 0% | 25% | 31% | 42%
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% | 25% | 31% | 42%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
crop_yield_prediction0% | 0% | 59% | 39% | <1%
crop_yield_prediction/models0% | 0% | 26% | 24% | 49%
data_preprocessing/sample_quadruplets0% | 0% | 58% | 40% | <1%
data_preprocessing/postprocess0% | 0% | 50% | 47% | 1%
ROOT0% | 0% | 24% | 53% | 22%
data_preprocessing/preprocess0% | 0% | 0% | 44% | 55%
crop_yield_prediction/plot0% | 0% | 0% | 44% | 55%
data_preprocessing/rescaling0% | 0% | 0% | 0% | 100%
crop_yield_prediction/dataloader0% | 0% | 0% | 0% | 100%
crop_yield_prediction/utils0% | 0% | 0% | 0% | 100%
data_preprocessing/plot0% | 0% | 0% | 0% | 100%
data_preprocessing/utils0% | 0% | 0% | 0% | 100%
data_preprocessing/merge0% | 0% | 0% | 0% | 100%
data_preprocessing0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
base.py
in crop_yield_prediction/models/deep_gaussian_process
303 9
train_semi_transformer.py
in crop_yield_prediction
271 8
train_cross_location.py
in crop_yield_prediction
253 8
sample_for_counties.py
in data_preprocessing/sample_quadruplets
251 9
prism.py
in data_preprocessing/postprocess
211 6
crop_yield_train_cross_location.py
in root
201 1
combine_multi_vars.py
in data_preprocessing/postprocess
198 5
crop_yield_train_semi_transformer.py
in root
188 1
sample_for_pretrained.py
in data_preprocessing/sample_quadruplets
176 8
train_c3d.py
in crop_yield_prediction
173 7
train_cnn_lstm.py
in crop_yield_prediction
173 7
crop_yield.py
in data_preprocessing/preprocess
170 8
no_spatial.py
in crop_yield_prediction/models
164 5
crop_yield_train_cnn_lstm.py
in root
131 1
crop_yield_train_c3d.py
in root
124 1
county_locations.py
in data_preprocessing/preprocess
124 7
plot_loss.py
in crop_yield_prediction/plot
113 1
convnet.py
in crop_yield_prediction/models/deep_gaussian_process
113 9
cdl_upscale.py
in data_preprocessing/rescaling
97 2
train_utils.py
in crop_yield_prediction/utils
93 9
lst.py
in data_preprocessing/preprocess
85 2
TileNet.py
in crop_yield_prediction/models/semi_transformer
81 9
plot_crop_yield_prediction_error.py
in crop_yield_prediction/plot
79 3
counties_plot.py
in data_preprocessing/plot
77 3
nws_precip.py
in data_preprocessing/rescaling
73 4
rnn.py
in crop_yield_prediction/models/deep_gaussian_process
72 5
SubLayers.py
in crop_yield_prediction/models/semi_transformer
72 4
lai.py
in data_preprocessing/preprocess
65 2
lst.py
in data_preprocessing/rescaling
65 2
landcover.py
in data_preprocessing/preprocess
64 3
us_counties.py
in data_preprocessing/rescaling
61 1
conv3d.py
in crop_yield_prediction/models/c3d
60 3
plot_crop_yield.py
in crop_yield_prediction/plot
58 2
generate_for_deep_gaussian.py
in root
57 2
prism_downscale.py
in data_preprocessing/rescaling
57 2
landsat.py
in data_preprocessing/preprocess
56 2
soil_fraction.py
in data_preprocessing/rescaling
56 2
soil_moisture.py
in data_preprocessing/rescaling
56 2
plot_local.py
in data_preprocessing/plot
51 2
merge_various_days.py
in data_preprocessing/merge
51 1
SemiTransformer.py
in crop_yield_prediction/models/semi_transformer
48 2
feature_engineering.py
in crop_yield_prediction/models/deep_gaussian_process
44 2
elevation.py
in data_preprocessing/rescaling
44 1
crop_yield_deep_gaussian.py
in root
43 2
AttentionModels.py
in crop_yield_prediction/models/semi_transformer
42 4
c3d_dataloader.py
in crop_yield_prediction/dataloader
41 4
cnn_lstm_dataloader.py
in crop_yield_prediction/dataloader
40 4
prism.py
in data_preprocessing/preprocess
40 2
semi_cropyield_dataloader.py
in crop_yield_prediction/dataloader
39 4
subset.py
in data_preprocessing/preprocess
39 1
Files With Most Units (Top 20)
File# lines# units
train_utils.py
in crop_yield_prediction/utils
93 9
convnet.py
in crop_yield_prediction/models/deep_gaussian_process
113 9
base.py
in crop_yield_prediction/models/deep_gaussian_process
303 9
TileNet.py
in crop_yield_prediction/models/semi_transformer
81 9
sample_for_counties.py
in data_preprocessing/sample_quadruplets
251 9
train_cross_location.py
in crop_yield_prediction
253 8
train_semi_transformer.py
in crop_yield_prediction
271 8
sample_for_pretrained.py
in data_preprocessing/sample_quadruplets
176 8
crop_yield.py
in data_preprocessing/preprocess
170 8
train_c3d.py
in crop_yield_prediction
173 7
train_cnn_lstm.py
in crop_yield_prediction
173 7
county_locations.py
in data_preprocessing/preprocess
124 7
prism.py
in data_preprocessing/postprocess
211 6
timing.py
in crop_yield_prediction/utils
26 5
rnn.py
in crop_yield_prediction/models/deep_gaussian_process
72 5
Optim.py
in crop_yield_prediction/models/semi_transformer
27 5
no_spatial.py
in crop_yield_prediction/models
164 5
timing.py
in data_preprocessing/utils
26 5
generate_doy.py
in data_preprocessing/utils
32 5
combine_multi_vars.py
in data_preprocessing/postprocess
198 5
Files With Long Lines (Top 20)

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

File# lines# units# long lines
train_cross_location.py
in crop_yield_prediction
253 8 13
train_semi_transformer.py
in crop_yield_prediction
271 8 13
prism.py
in data_preprocessing/postprocess
211 6 7
sample_for_counties.py
in data_preprocessing/sample_quadruplets
251 9 6
sample_for_pretrained.py
in data_preprocessing/sample_quadruplets
176 8 4
plot_loss.py
in crop_yield_prediction/plot
113 1 3
train_c3d.py
in crop_yield_prediction
173 7 3
train_cnn_lstm.py
in crop_yield_prediction
173 7 3
generate_for_deep_gaussian.py
in root
57 2 2
base.py
in crop_yield_prediction/models/deep_gaussian_process
303 9 2
no_spatial.py
in crop_yield_prediction/models
164 5 2
crop_yield.py
in data_preprocessing/preprocess
170 8 2
combine_multi_vars.py
in data_preprocessing/postprocess
198 5 2
generate_experiment_data.py
in root
39 - 2
crop_yield_train_semi_transformer.py
in root
188 1 1
crop_yield_train_cnn_lstm.py
in root
131 1 1
plot_crop_yield_prediction_error.py
in crop_yield_prediction/plot
79 3 1
feature_engineering.py
in crop_yield_prediction/models/deep_gaussian_process
44 2 1
lst.py
in data_preprocessing/preprocess
85 2 1
nws_precip.py
in data_preprocessing/rescaling
73 4 1