pytorch / captum
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 165 files with 17,643 lines of code.
    • 0 very long files (0 lines of code)
    • 6 long files (3,380 lines of code)
    • 23 medium size files (6,601 lines of codeclsfd_ftr_w_mp_ins)
    • 30 small files (4,180 lines of code)
    • 106 very small files (3,482 lines of code)
0% | 19% | 37% | 23% | 19%
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% | 13% | 42% | 26% | 18%
css0% | 60% | 31% | 0% | 8%
ipynb0% | 100% | 0% | 0% | 0%
js0% | 0% | 28% | 27% | 44%
pt0% | 0% | 92% | 0% | 7%
tsx0% | 0% | 0% | 58% | 41%
ts0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
captum/_utils0% | 54% | 22% | 18% | 4%
website/static0% | 76% | 18% | 0% | 5%
captum/attr0% | 9% | 42% | 31% | 17%
tutorials0% | 100% | 0% | 0% | 0%
captum/influence0% | 0% | 66% | 25% | 7%
captum/insights0% | 0% | 24% | 33% | 41%
captum/robust0% | 0% | 75% | 0% | 24%
captum/concept0% | 0% | 65% | 0% | 34%
website/pages0% | 0% | 65% | 34% | 0%
captum/metrics0% | 0% | 52% | 34% | 13%
tutorials/models0% | 0% | 92% | 0% | 7%
ROOT0% | 0% | 0% | 87% | 12%
website/core0% | 0% | 0% | 43% | 56%
scripts0% | 0% | 0% | 0% | 100%
sphinx/source0% | 0% | 0% | 0% | 100%
website0% | 0% | 0% | 0% | 100%
captum/log0% | 0% | 0% | 0% | 100%
captum0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
deep_lift.py
in captum/attr/_core
634 33
gradient.py
in captum/_utils
593 25
567 -
basic.css
in website/static/css
546 -
alabaster.css
in website/static/css
534 -
common.py
in captum/_utils
506 45
lime.py
in captum/attr/_core
494 16
tracincp_fast_rand_proj.py
in captum/influence/_core
418 18
tcav.py
in captum/concept/_core
384 14
visualization.py
in captum/attr/_utils
334 13
App.module.css
in captum/insights/attr_vis/frontend/src
315 -
tracincp.py
in captum/influence/_core
309 15
app.py
in captum/insights/attr_vis
300 15
common.py
in captum/attr/_utils
300 21
feature_ablation.py
in captum/attr/_core
286 7
noise_tunnel.py
in captum/attr/_core
279 12
index.js
in website/pages/en
274 10
attack_comparator.py
in captum/robust/_core/metrics
273 11
min_param_perturbation.py
in captum/robust/_core/metrics
273 8
shapley_value.py
in captum/attr/_core
269 9
custom.css
in website/static/css
259 -
layer_integrated_gradients.py
in captum/attr/_core/layer
255 10
layer_deep_lift.py
in captum/attr/_core/layer
255 11
lrp.py
in captum/attr/_core
241 21
av.py
in captum/_utils
237 15
train.py
in captum/_utils/models/linear_model
219 6
layer_gradient_shap.py
in captum/attr/_core/layer
210 12
infidelity.py
in captum/metrics/_core
209 7
pt
boston_model.pt
in tutorials/models
208 -
gradient_shap.py
in captum/attr/_core
186 13
layer_conductance.py
in captum/attr/_core/layer
183 7
integrated_gradients.py
in captum/attr/_core
174 7
features.py
in captum/insights/attr_vis
172 16
neuron_conductance.py
in captum/attr/_core/neuron
159 4
batching.py
in captum/attr/_utils
158 8
attribution_calculation.py
in captum/insights/attr_vis
155 6
stat.py
in captum/attr/_utils
154 35
Filter.tsx
in captum/insights/attr_vis/frontend/src/components
152 1
similarity_influence.py
in captum/influence/_core
152 4
model.py
in captum/_utils/models/linear_model
151 26
Feature.tsx
in captum/insights/attr_vis/frontend/src/components
149 4
attribution.py
in captum/attr/_utils
146 12
layer_lrp.py
in captum/attr/_core/layer
145 7
index.js
in website/pages/tutorials
142 1
sensitivity.py
in captum/metrics/_core
137 5
occlusion.py
in captum/attr/_core
137 6
__init__.py
in captum/attr
133 -
setup.py
in root
130 4
common.py
in captum/influence/_utils
125 8
internal_influence.py
in captum/attr/_core/layer
124 3
Files With Most Units (Top 50)
File# lines# units
common.py
in captum/_utils
506 45
stat.py
in captum/attr/_utils
154 35
deep_lift.py
in captum/attr/_core
634 33
model.py
in captum/_utils/models/linear_model
151 26
gradient.py
in captum/_utils
593 25
common.py
in captum/attr/_utils
300 21
lrp.py
in captum/attr/_core
241 21
tracincp_fast_rand_proj.py
in captum/influence/_core
418 18
features.py
in captum/insights/attr_vis
172 16
lime.py
in captum/attr/_core
494 16
av.py
in captum/_utils
237 15
app.py
in captum/insights/attr_vis
300 15
tracincp.py
in captum/influence/_core
309 15
lrp_rules.py
in captum/attr/_utils
87 14
tcav.py
in captum/concept/_core
384 14
visualization.py
in captum/attr/_utils
334 13
gradient_shap.py
in captum/attr/_core
186 13
pytext.py
in captum/attr/_models
122 13
attribution.py
in captum/attr/_utils
146 12
noise_tunnel.py
in captum/attr/_core
279 12
layer_gradient_shap.py
in captum/attr/_core/layer
210 12
sample_gradient.py
in captum/_utils
120 11
progress.py
in captum/_utils
104 11
attack_comparator.py
in captum/robust/_core/metrics
273 11
layer_deep_lift.py
in captum/attr/_core/layer
255 11
index.js
in website/pages/en
274 10
layer_integrated_gradients.py
in captum/attr/_core/layer
255 10
summarizer.py
in captum/attr/_utils
95 9
guided_backprop_deconvnet.py
in captum/attr/_core
109 9
shapley_value.py
in captum/attr/_core
269 9
base.py
in captum/attr/_models
65 9
classifier.py
in captum/concept/_utils
87 9
server.py
in captum/insights/attr_vis
91 8
min_param_perturbation.py
in captum/robust/_core/metrics
273 8
common.py
in captum/influence/_utils
125 8
batching.py
in captum/attr/_utils
158 8
infidelity.py
in captum/metrics/_core
209 7
approximation_methods.py
in captum/attr/_utils
60 7
feature_ablation.py
in captum/attr/_core
286 7
layer_lrp.py
in captum/attr/_core/layer
145 7
layer_conductance.py
in captum/attr/_core/layer
183 7
integrated_gradients.py
in captum/attr/_core
174 7
__init__.py
in captum/log
31 7
train.py
in captum/_utils/models/linear_model
219 6
Widget.js
in captum/insights/attr_vis/frontend/widget/src
91 6
attribution_calculation.py
in captum/insights/attr_vis
155 6
neuron_deep_lift.py
in captum/attr/_core/neuron
105 6
occlusion.py
in captum/attr/_core
137 6
Footer.js
in website/core
117 5
sensitivity.py
in captum/metrics/_core
137 5
Files With Long Lines (Top 7)

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

File# lines# units# long lines
pt
boston_model.pt
in tutorials/models
208 - 82
index.js
in website/pages/tutorials
142 1 38
567 - 18
pt
titanic_model.pt
in tutorials/models
17 - 4
index.js
in website/pages/en
274 10 2
Tutorial.js
in website/core
66 2 1
code_block_buttons.js
in website/static/js
40 4 1
Correlations

File Size vs. Commits (all time): 159 points

captum/influence/_core/tracincp.py x: 7 commits (all time) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 6 commits (all time) y: 418 lines of code captum/influence/_utils/common.py x: 3 commits (all time) y: 125 lines of code captum/_utils/common.py x: 24 commits (all time) y: 506 lines of code captum/_utils/gradient.py x: 22 commits (all time) y: 593 lines of code captum/attr/_core/deep_lift.py x: 106 commits (all time) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 27 commits (all time) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 22 commits (all time) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 38 commits (all time) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 47 commits (all time) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 21 commits (all time) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 29 commits (all time) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 18 commits (all time) y: 112 lines of code captum/attr/_core/layer/layer_gradient_x_activation.py x: 19 commits (all time) y: 72 lines of code captum/attr/_core/layer/layer_lrp.py x: 8 commits (all time) y: 145 lines of code captum/attr/_core/lime.py x: 15 commits (all time) y: 494 lines of code captum/attr/_core/lrp.py x: 10 commits (all time) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 19 commits (all time) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 68 commits (all time) y: 279 lines of code captum/attr/_core/occlusion.py x: 16 commits (all time) y: 137 lines of code captum/attr/_core/saliency.py x: 49 commits (all time) y: 36 lines of code captum/attr/_core/shapley_value.py x: 16 commits (all time) y: 269 lines of code captum/attr/_utils/batching.py x: 28 commits (all time) y: 158 lines of code captum/attr/_utils/common.py x: 81 commits (all time) y: 300 lines of code captum/metrics/_core/infidelity.py x: 15 commits (all time) y: 209 lines of code captum/metrics/_core/sensitivity.py x: 8 commits (all time) y: 137 lines of code captum/robust/_core/fgsm.py x: 3 commits (all time) y: 81 lines of code captum/robust/_core/pgd.py x: 4 commits (all time) y: 79 lines of code captum/attr/_utils/visualization.py x: 54 commits (all time) y: 334 lines of code pyproject.toml x: 2 commits (all time) y: 4 lines of code scripts/parse_sphinx.py x: 4 commits (all time) y: 47 lines of code sphinx/source/conf.py x: 8 commits (all time) y: 60 lines of code website/siteConfig.js x: 17 commits (all time) y: 48 lines of code setup.py x: 28 commits (all time) y: 130 lines of code website/pages/en/index.js x: 20 commits (all time) y: 274 lines of code website/static/css/custom.css x: 7 commits (all time) y: 259 lines of code website/pages/tutorials/index.js x: 24 commits (all time) y: 142 lines of code captum/__init__.py x: 12 commits (all time) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 2 commits (all time) y: 152 lines of code captum/influence/__init__.py x: 2 commits (all time) y: 15 lines of code captum/concept/_core/tcav.py x: 11 commits (all time) y: 384 lines of code captum/concept/_utils/classifier.py x: 4 commits (all time) y: 87 lines of code captum/influence/_core/__init__.py x: 1 commits (all time) y: 1 lines of code captum/influence/_core/influence.py x: 1 commits (all time) y: 16 lines of code captum/influence/_utils/nearest_neighbors.py x: 1 commits (all time) y: 50 lines of code captum/_utils/sample_gradient.py x: 2 commits (all time) y: 120 lines of code captum/attr/_core/neuron/neuron_deep_lift.py x: 21 commits (all time) y: 105 lines of code captum/attr/_core/neuron/neuron_guided_backprop_deconvnet.py x: 18 commits (all time) y: 78 lines of code captum/insights/attr_vis/features.py x: 8 commits (all time) y: 172 lines of code captum/_utils/av.py x: 8 commits (all time) y: 237 lines of code captum/_utils/typing.py x: 3 commits (all time) y: 30 lines of code captum/concept/__init__.py x: 4 commits (all time) y: 4 lines of code captum/concept/_core/cav.py x: 3 commits (all time) y: 61 lines of code captum/concept/_core/concept.py x: 4 commits (all time) y: 24 lines of code captum/attr/_core/gradient_shap.py x: 60 commits (all time) y: 186 lines of code website/core/Footer.js x: 8 commits (all time) y: 117 lines of code scripts/parse_tutorials.py x: 2 commits (all time) y: 65 lines of code website/core/TutorialSidebar.js x: 3 commits (all time) y: 88 lines of code captum/attr/_utils/stat.py x: 8 commits (all time) y: 154 lines of code captum/insights/attr_vis/attribution_calculation.py x: 8 commits (all time) y: 155 lines of code captum/robust/_core/metrics/attack_comparator.py x: 4 commits (all time) y: 273 lines of code captum/_utils/models/linear_model/model.py x: 5 commits (all time) y: 151 lines of code captum/_utils/models/linear_model/train.py x: 6 commits (all time) y: 219 lines of code captum/_utils/models/model.py x: 3 commits (all time) y: 23 lines of code captum/attr/_core/feature_permutation.py x: 14 commits (all time) y: 71 lines of code captum/attr/_core/integrated_gradients.py x: 74 commits (all time) y: 174 lines of code captum/attr/_core/kernel_shap.py x: 8 commits (all time) y: 92 lines of code captum/attr/_core/layer/internal_influence.py x: 17 commits (all time) y: 124 lines of code captum/attr/_core/layer/layer_activation.py x: 16 commits (all time) y: 46 lines of code captum/attr/_core/layer/layer_conductance.py x: 19 commits (all time) y: 183 lines of code captum/attr/_core/layer/layer_gradient_shap.py x: 20 commits (all time) y: 210 lines of code captum/attr/_core/layer/layer_integrated_gradients.py x: 22 commits (all time) y: 255 lines of code captum/attr/_core/neuron/neuron_conductance.py x: 21 commits (all time) y: 159 lines of code captum/attr/_core/neuron/neuron_feature_ablation.py x: 17 commits (all time) y: 51 lines of code captum/attr/_core/neuron/neuron_gradient_shap.py x: 19 commits (all time) y: 52 lines of code captum/attr/_utils/attribution.py x: 82 commits (all time) y: 146 lines of code captum/attr/_utils/class_summarizer.py x: 8 commits (all time) y: 56 lines of code captum/attr/_utils/summarizer.py x: 11 commits (all time) y: 95 lines of code captum/robust/_core/metrics/min_param_perturbation.py x: 3 commits (all time) y: 273 lines of code captum/insights/attr_vis/app.py x: 13 commits (all time) y: 300 lines of code captum/insights/attr_vis/server.py x: 5 commits (all time) y: 91 lines of code captum/insights/attr_vis/widget/widget.py x: 5 commits (all time) y: 45 lines of code captum/attr/_utils/approximation_methods.py x: 17 commits (all time) y: 60 lines of code captum/concept/_utils/common.py x: 1 commits (all time) y: 5 lines of code captum/concept/_utils/data_iterator.py x: 1 commits (all time) y: 23 lines of code captum/robust/__init__.py x: 3 commits (all time) y: 7 lines of code captum/robust/_core/perturbation.py x: 2 commits (all time) y: 7 lines of code captum/_utils/progress.py x: 1 commits (all time) y: 104 lines of code captum/insights/attr_vis/frontend/widget/src/Widget.js x: 2 commits (all time) y: 91 lines of code captum/insights/attr_vis/frontend/src/components/Feature.tsx x: 3 commits (all time) y: 149 lines of code captum/insights/attr_vis/frontend/src/components/Visualization.tsx x: 3 commits (all time) y: 119 lines of code captum/attr/_models/pytext.py x: 7 commits (all time) y: 122 lines of code captum/attr/_utils/input_layer_wrapper.py x: 1 commits (all time) y: 26 lines of code captum/attr/_models/base.py x: 25 commits (all time) y: 65 lines of code captum/insights/attr_vis/frontend/src/App.module.css x: 4 commits (all time) y: 315 lines of code captum/insights/attr_vis/frontend/src/WebApp.tsx x: 2 commits (all time) y: 72 lines of code captum/insights/attr_vis/frontend/src/components/ClassFilter.tsx x: 2 commits (all time) y: 26 lines of code captum/insights/attr_vis/frontend/src/components/Contributions.tsx x: 2 commits (all time) y: 30 lines of code captum/insights/attr_vis/frontend/src/components/FilterContainer.tsx x: 2 commits (all time) y: 108 lines of code captum/insights/attr_vis/frontend/src/components/VisualizationGroup.tsx x: 1 commits (all time) y: 35 lines of code captum/insights/attr_vis/frontend/src/models/filter.ts x: 2 commits (all time) y: 10 lines of code captum/insights/attr_vis/frontend/src/models/typeHelpers.ts x: 2 commits (all time) y: 1 lines of code captum/insights/attr_vis/frontend/src/models/visualizationOutput.ts x: 2 commits (all time) y: 35 lines of code captum/attr/__init__.py x: 37 commits (all time) y: 133 lines of code captum/insights/attr_vis/widget/__init__.py x: 3 commits (all time) y: 11 lines of code captum/_utils/models/__init__.py x: 2 commits (all time) y: 24 lines of code captum/_utils/models/linear_model/__init__.py x: 1 commits (all time) y: 22 lines of code captum/insights/__init__.py x: 5 commits (all time) y: 1 lines of code captum/insights/example.py x: 19 commits (all time) y: 6 lines of code captum/metrics/__init__.py x: 4 commits (all time) y: 5 lines of code captum/_utils/__init__.py x: 3 commits (all time) y: 1 lines of code captum/insights/attr_vis/_utils/transforms.py x: 1 commits (all time) y: 9 lines of code captum/insights/attr_vis/config.py x: 1 commits (all time) y: 70 lines of code captum/insights/attr_vis/frontend/public/index.html x: 1 commits (all time) y: 12 lines of code captum/insights/attr_vis/frontend/src/App.css x: 1 commits (all time) y: 99 lines of code captum/insights/attr_vis/frontend/src/components/Arguments.tsx x: 1 commits (all time) y: 57 lines of code captum/insights/attr_vis/frontend/src/components/Spinner.tsx x: 1 commits (all time) y: 4 lines of code scripts/update_versions_html.py x: 2 commits (all time) y: 54 lines of code tutorials/Distributed_Attribution.ipynb x: 1 commits (all time) y: 567 lines of code tutorials/models/boston_model.pt x: 1 commits (all time) y: 208 lines of code scripts/versions.js x: 2 commits (all time) y: 73 lines of code tutorials/models/titanic_model.pt x: 3 commits (all time) y: 17 lines of code
634.0
lines of code
  min: 1.0
  average: 103.62
  25th percentile: 12.0
  median: 65.0
  75th percentile: 146.0
  max: 634.0
0 106.0
commits (all time)
min: 1.0 | average: 11.0 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 16.0 | max: 106.0

File Size vs. Contributors (all time): 159 points

captum/influence/_core/tracincp.py x: 3 contributors (all time) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 2 contributors (all time) y: 418 lines of code captum/influence/_utils/common.py x: 2 contributors (all time) y: 125 lines of code captum/_utils/common.py x: 8 contributors (all time) y: 506 lines of code captum/_utils/gradient.py x: 7 contributors (all time) y: 593 lines of code captum/attr/_core/deep_lift.py x: 14 contributors (all time) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 7 contributors (all time) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 8 contributors (all time) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 10 contributors (all time) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 11 contributors (all time) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 6 contributors (all time) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 6 contributors (all time) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 5 contributors (all time) y: 112 lines of code captum/attr/_core/layer/layer_gradient_x_activation.py x: 6 contributors (all time) y: 72 lines of code captum/attr/_core/layer/layer_lrp.py x: 5 contributors (all time) y: 145 lines of code captum/attr/_core/lime.py x: 3 contributors (all time) y: 494 lines of code captum/attr/_core/lrp.py x: 5 contributors (all time) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 7 contributors (all time) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 10 contributors (all time) y: 279 lines of code captum/attr/_core/occlusion.py x: 6 contributors (all time) y: 137 lines of code captum/attr/_core/saliency.py x: 10 contributors (all time) y: 36 lines of code captum/attr/_core/shapley_value.py x: 6 contributors (all time) y: 269 lines of code captum/attr/_utils/batching.py x: 7 contributors (all time) y: 158 lines of code captum/attr/_utils/common.py x: 10 contributors (all time) y: 300 lines of code captum/metrics/_core/infidelity.py x: 3 contributors (all time) y: 209 lines of code captum/metrics/_core/sensitivity.py x: 2 contributors (all time) y: 137 lines of code captum/robust/_core/fgsm.py x: 2 contributors (all time) y: 81 lines of code captum/robust/_core/pgd.py x: 3 contributors (all time) y: 79 lines of code captum/attr/_utils/visualization.py x: 14 contributors (all time) y: 334 lines of code pyproject.toml x: 2 contributors (all time) y: 4 lines of code scripts/parse_sphinx.py x: 2 contributors (all time) y: 47 lines of code sphinx/source/conf.py x: 3 contributors (all time) y: 60 lines of code website/siteConfig.js x: 8 contributors (all time) y: 48 lines of code setup.py x: 10 contributors (all time) y: 130 lines of code website/pages/en/index.js x: 8 contributors (all time) y: 274 lines of code website/static/css/custom.css x: 5 contributors (all time) y: 259 lines of code website/pages/tutorials/index.js x: 10 contributors (all time) y: 142 lines of code captum/__init__.py x: 4 contributors (all time) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 2 contributors (all time) y: 152 lines of code captum/influence/__init__.py x: 2 contributors (all time) y: 15 lines of code captum/concept/_core/tcav.py x: 4 contributors (all time) y: 384 lines of code captum/concept/_utils/classifier.py x: 2 contributors (all time) y: 87 lines of code captum/influence/_core/__init__.py x: 1 contributors (all time) y: 1 lines of code captum/influence/_core/influence.py x: 1 contributors (all time) y: 16 lines of code captum/influence/_utils/nearest_neighbors.py x: 1 contributors (all time) y: 50 lines of code captum/_utils/sample_gradient.py x: 1 contributors (all time) y: 120 lines of code captum/attr/_core/neuron/neuron_deep_lift.py x: 8 contributors (all time) y: 105 lines of code captum/attr/_core/neuron/neuron_guided_backprop_deconvnet.py x: 7 contributors (all time) y: 78 lines of code captum/insights/attr_vis/features.py x: 7 contributors (all time) y: 172 lines of code captum/_utils/av.py x: 3 contributors (all time) y: 237 lines of code captum/_utils/typing.py x: 3 contributors (all time) y: 30 lines of code captum/concept/__init__.py x: 3 contributors (all time) y: 4 lines of code captum/concept/_core/cav.py x: 2 contributors (all time) y: 61 lines of code captum/concept/_core/concept.py x: 2 contributors (all time) y: 24 lines of code captum/attr/_core/gradient_shap.py x: 9 contributors (all time) y: 186 lines of code website/core/Footer.js x: 6 contributors (all time) y: 117 lines of code scripts/parse_tutorials.py x: 2 contributors (all time) y: 65 lines of code website/core/TutorialSidebar.js x: 2 contributors (all time) y: 88 lines of code captum/attr/_utils/stat.py x: 5 contributors (all time) y: 154 lines of code captum/insights/attr_vis/attribution_calculation.py x: 6 contributors (all time) y: 155 lines of code captum/robust/_core/metrics/attack_comparator.py x: 2 contributors (all time) y: 273 lines of code captum/_utils/models/linear_model/model.py x: 4 contributors (all time) y: 151 lines of code captum/_utils/models/linear_model/train.py x: 4 contributors (all time) y: 219 lines of code captum/attr/_core/feature_permutation.py x: 7 contributors (all time) y: 71 lines of code captum/attr/_core/integrated_gradients.py x: 9 contributors (all time) y: 174 lines of code captum/attr/_core/kernel_shap.py x: 3 contributors (all time) y: 92 lines of code captum/attr/_core/layer/internal_influence.py x: 6 contributors (all time) y: 124 lines of code captum/attr/_core/layer/layer_activation.py x: 5 contributors (all time) y: 46 lines of code captum/attr/_core/layer/layer_conductance.py x: 6 contributors (all time) y: 183 lines of code captum/attr/_core/layer/layer_gradient_shap.py x: 6 contributors (all time) y: 210 lines of code captum/attr/_core/neuron/neuron_conductance.py x: 6 contributors (all time) y: 159 lines of code captum/attr/_core/neuron/neuron_feature_ablation.py x: 6 contributors (all time) y: 51 lines of code captum/attr/_core/neuron/neuron_gradient_shap.py x: 7 contributors (all time) y: 52 lines of code captum/attr/_utils/attribution.py x: 12 contributors (all time) y: 146 lines of code captum/attr/_utils/class_summarizer.py x: 4 contributors (all time) y: 56 lines of code captum/attr/_utils/summarizer.py x: 5 contributors (all time) y: 95 lines of code captum/robust/_core/metrics/min_param_perturbation.py x: 1 contributors (all time) y: 273 lines of code captum/insights/attr_vis/app.py x: 8 contributors (all time) y: 300 lines of code captum/insights/attr_vis/example.py x: 3 contributors (all time) y: 81 lines of code captum/insights/attr_vis/server.py x: 4 contributors (all time) y: 91 lines of code captum/insights/attr_vis/widget/widget.py x: 4 contributors (all time) y: 45 lines of code captum/attr/_utils/approximation_methods.py x: 6 contributors (all time) y: 60 lines of code captum/concept/_utils/common.py x: 1 contributors (all time) y: 5 lines of code captum/concept/_utils/data_iterator.py x: 1 contributors (all time) y: 23 lines of code captum/attr/_utils/lrp_rules.py x: 3 contributors (all time) y: 87 lines of code captum/_utils/progress.py x: 1 contributors (all time) y: 104 lines of code captum/insights/attr_vis/frontend/widget/src/Widget.js x: 2 contributors (all time) y: 91 lines of code captum/insights/attr_vis/frontend/src/components/Feature.tsx x: 2 contributors (all time) y: 149 lines of code captum/insights/attr_vis/frontend/src/components/Visualization.tsx x: 2 contributors (all time) y: 119 lines of code captum/attr/_models/pytext.py x: 3 contributors (all time) y: 122 lines of code captum/attr/_utils/input_layer_wrapper.py x: 1 contributors (all time) y: 26 lines of code captum/attr/_models/base.py x: 7 contributors (all time) y: 65 lines of code captum/attr/_utils/custom_modules.py x: 2 contributors (all time) y: 6 lines of code captum/insights/attr_vis/frontend/src/App.module.css x: 3 contributors (all time) y: 315 lines of code captum/insights/attr_vis/frontend/src/WebApp.tsx x: 2 contributors (all time) y: 72 lines of code captum/insights/attr_vis/frontend/src/components/ClassFilter.tsx x: 2 contributors (all time) y: 26 lines of code captum/insights/attr_vis/frontend/src/components/Contributions.tsx x: 2 contributors (all time) y: 30 lines of code captum/insights/attr_vis/frontend/src/components/FilterContainer.tsx x: 2 contributors (all time) y: 108 lines of code captum/insights/attr_vis/frontend/src/components/VisualizationGroup.tsx x: 1 contributors (all time) y: 35 lines of code captum/insights/attr_vis/frontend/src/models/filter.ts x: 2 contributors (all time) y: 10 lines of code captum/insights/attr_vis/frontend/src/models/typeHelpers.ts x: 2 contributors (all time) y: 1 lines of code captum/insights/attr_vis/frontend/src/models/visualizationOutput.ts x: 2 contributors (all time) y: 35 lines of code captum/attr/__init__.py x: 10 contributors (all time) y: 133 lines of code captum/insights/attr_vis/widget/__init__.py x: 3 contributors (all time) y: 11 lines of code captum/_utils/models/linear_model/__init__.py x: 1 contributors (all time) y: 22 lines of code captum/insights/example.py x: 8 contributors (all time) y: 6 lines of code captum/attr/_core/__init__.py x: 3 contributors (all time) y: 1 lines of code captum/insights/attr_vis/_utils/transforms.py x: 1 contributors (all time) y: 9 lines of code captum/insights/attr_vis/config.py x: 1 contributors (all time) y: 70 lines of code captum/insights/attr_vis/frontend/public/index.html x: 1 contributors (all time) y: 12 lines of code captum/insights/attr_vis/frontend/src/App.css x: 1 contributors (all time) y: 99 lines of code captum/insights/attr_vis/frontend/src/components/Arguments.tsx x: 1 contributors (all time) y: 57 lines of code captum/insights/attr_vis/frontend/src/components/Spinner.tsx x: 1 contributors (all time) y: 4 lines of code scripts/update_versions_html.py x: 2 contributors (all time) y: 54 lines of code tutorials/Distributed_Attribution.ipynb x: 1 contributors (all time) y: 567 lines of code tutorials/models/boston_model.pt x: 1 contributors (all time) y: 208 lines of code scripts/versions.js x: 1 contributors (all time) y: 73 lines of code website/core/Tutorial.js x: 1 contributors (all time) y: 66 lines of code
634.0
lines of code
  min: 1.0
  average: 103.62
  25th percentile: 12.0
  median: 65.0
  75th percentile: 146.0
  max: 634.0
0 14.0
contributors (all time)
min: 1.0 | average: 3.73 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.0 | max: 14.0

File Size vs. Commits (30 days): 39 points

captum/influence/_core/tracincp.py x: 5 commits (30d) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 5 commits (30d) y: 418 lines of code captum/influence/_utils/common.py x: 2 commits (30d) y: 125 lines of code captum/_utils/common.py x: 1 commits (30d) y: 506 lines of code captum/_utils/gradient.py x: 1 commits (30d) y: 593 lines of code captum/attr/_core/deep_lift.py x: 1 commits (30d) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 1 commits (30d) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 1 commits (30d) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 1 commits (30d) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 1 commits (30d) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 1 commits (30d) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 1 commits (30d) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 1 commits (30d) y: 112 lines of code captum/attr/_core/layer/layer_lrp.py x: 1 commits (30d) y: 145 lines of code captum/attr/_core/lime.py x: 2 commits (30d) y: 494 lines of code captum/attr/_core/lrp.py x: 1 commits (30d) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 1 commits (30d) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 1 commits (30d) y: 279 lines of code captum/attr/_core/occlusion.py x: 1 commits (30d) y: 137 lines of code captum/attr/_core/shapley_value.py x: 1 commits (30d) y: 269 lines of code captum/attr/_utils/batching.py x: 2 commits (30d) y: 158 lines of code captum/attr/_utils/common.py x: 1 commits (30d) y: 300 lines of code captum/metrics/_core/infidelity.py x: 1 commits (30d) y: 209 lines of code captum/robust/_core/fgsm.py x: 1 commits (30d) y: 81 lines of code captum/robust/_core/pgd.py x: 1 commits (30d) y: 79 lines of code captum/attr/_utils/visualization.py x: 1 commits (30d) y: 334 lines of code pyproject.toml x: 1 commits (30d) y: 4 lines of code scripts/parse_sphinx.py x: 1 commits (30d) y: 47 lines of code sphinx/source/conf.py x: 1 commits (30d) y: 60 lines of code website/siteConfig.js x: 1 commits (30d) y: 48 lines of code setup.py x: 2 commits (30d) y: 130 lines of code website/pages/en/index.js x: 1 commits (30d) y: 274 lines of code website/static/css/custom.css x: 1 commits (30d) y: 259 lines of code website/pages/tutorials/index.js x: 1 commits (30d) y: 142 lines of code captum/__init__.py x: 1 commits (30d) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 1 commits (30d) y: 152 lines of code
634.0
lines of code
  min: 1.0
  average: 196.41
  25th percentile: 71.0
  median: 142.0
  75th percentile: 279.0
  max: 634.0
0 5.0
commits (30d)
min: 1.0 | average: 1.31 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0

File Size vs. Contributors (30 days): 39 points

captum/influence/_core/tracincp.py x: 3 contributors (30d) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 2 contributors (30d) y: 418 lines of code captum/influence/_utils/common.py x: 2 contributors (30d) y: 125 lines of code captum/_utils/common.py x: 1 contributors (30d) y: 506 lines of code captum/_utils/gradient.py x: 1 contributors (30d) y: 593 lines of code captum/attr/_core/deep_lift.py x: 1 contributors (30d) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 1 contributors (30d) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 1 contributors (30d) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 1 contributors (30d) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 1 contributors (30d) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 1 contributors (30d) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 1 contributors (30d) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 1 contributors (30d) y: 112 lines of code captum/attr/_core/layer/layer_lrp.py x: 1 contributors (30d) y: 145 lines of code captum/attr/_core/lime.py x: 2 contributors (30d) y: 494 lines of code captum/attr/_core/lrp.py x: 1 contributors (30d) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 1 contributors (30d) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 1 contributors (30d) y: 279 lines of code captum/attr/_core/occlusion.py x: 1 contributors (30d) y: 137 lines of code captum/attr/_core/shapley_value.py x: 1 contributors (30d) y: 269 lines of code captum/attr/_utils/batching.py x: 2 contributors (30d) y: 158 lines of code captum/attr/_utils/common.py x: 1 contributors (30d) y: 300 lines of code captum/metrics/_core/infidelity.py x: 1 contributors (30d) y: 209 lines of code captum/robust/_core/fgsm.py x: 1 contributors (30d) y: 81 lines of code captum/robust/_core/pgd.py x: 1 contributors (30d) y: 79 lines of code captum/attr/_utils/visualization.py x: 1 contributors (30d) y: 334 lines of code pyproject.toml x: 1 contributors (30d) y: 4 lines of code scripts/parse_sphinx.py x: 1 contributors (30d) y: 47 lines of code sphinx/source/conf.py x: 1 contributors (30d) y: 60 lines of code website/siteConfig.js x: 1 contributors (30d) y: 48 lines of code setup.py x: 1 contributors (30d) y: 130 lines of code website/pages/en/index.js x: 1 contributors (30d) y: 274 lines of code website/static/css/custom.css x: 1 contributors (30d) y: 259 lines of code website/pages/tutorials/index.js x: 1 contributors (30d) y: 142 lines of code captum/__init__.py x: 1 contributors (30d) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 1 contributors (30d) y: 152 lines of code
634.0
lines of code
  min: 1.0
  average: 196.41
  25th percentile: 71.0
  median: 142.0
  75th percentile: 279.0
  max: 634.0
0 3.0
contributors (30d)
min: 1.0 | average: 1.15 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

File Size vs. Commits (90 days): 52 points

captum/influence/_core/tracincp.py x: 7 commits (90d) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 6 commits (90d) y: 418 lines of code captum/influence/_utils/common.py x: 3 commits (90d) y: 125 lines of code captum/_utils/common.py x: 3 commits (90d) y: 506 lines of code captum/_utils/gradient.py x: 6 commits (90d) y: 593 lines of code captum/attr/_core/deep_lift.py x: 5 commits (90d) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 1 commits (90d) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 3 commits (90d) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 3 commits (90d) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 1 commits (90d) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 1 commits (90d) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 3 commits (90d) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 1 commits (90d) y: 112 lines of code captum/attr/_core/layer/layer_gradient_x_activation.py x: 1 commits (90d) y: 72 lines of code captum/attr/_core/layer/layer_lrp.py x: 3 commits (90d) y: 145 lines of code captum/attr/_core/lime.py x: 2 commits (90d) y: 494 lines of code captum/attr/_core/lrp.py x: 4 commits (90d) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 1 commits (90d) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 1 commits (90d) y: 279 lines of code captum/attr/_core/occlusion.py x: 1 commits (90d) y: 137 lines of code captum/attr/_core/shapley_value.py x: 1 commits (90d) y: 269 lines of code captum/attr/_utils/batching.py x: 2 commits (90d) y: 158 lines of code captum/attr/_utils/common.py x: 1 commits (90d) y: 300 lines of code captum/metrics/_core/infidelity.py x: 1 commits (90d) y: 209 lines of code captum/robust/_core/fgsm.py x: 1 commits (90d) y: 81 lines of code captum/robust/_core/pgd.py x: 1 commits (90d) y: 79 lines of code captum/attr/_utils/visualization.py x: 1 commits (90d) y: 334 lines of code pyproject.toml x: 1 commits (90d) y: 4 lines of code scripts/parse_sphinx.py x: 1 commits (90d) y: 47 lines of code sphinx/source/conf.py x: 1 commits (90d) y: 60 lines of code website/siteConfig.js x: 1 commits (90d) y: 48 lines of code setup.py x: 3 commits (90d) y: 130 lines of code website/pages/en/index.js x: 2 commits (90d) y: 274 lines of code website/static/css/custom.css x: 1 commits (90d) y: 259 lines of code website/pages/tutorials/index.js x: 1 commits (90d) y: 142 lines of code captum/__init__.py x: 1 commits (90d) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 2 commits (90d) y: 152 lines of code captum/influence/__init__.py x: 2 commits (90d) y: 15 lines of code captum/concept/_core/tcav.py x: 1 commits (90d) y: 384 lines of code captum/concept/_utils/classifier.py x: 1 commits (90d) y: 87 lines of code captum/influence/_core/influence.py x: 1 commits (90d) y: 16 lines of code captum/influence/_utils/nearest_neighbors.py x: 1 commits (90d) y: 50 lines of code captum/_utils/sample_gradient.py x: 2 commits (90d) y: 120 lines of code captum/attr/_core/neuron/neuron_deep_lift.py x: 2 commits (90d) y: 105 lines of code captum/attr/_core/neuron/neuron_guided_backprop_deconvnet.py x: 2 commits (90d) y: 78 lines of code captum/insights/attr_vis/features.py x: 1 commits (90d) y: 172 lines of code captum/_utils/av.py x: 1 commits (90d) y: 237 lines of code captum/_utils/typing.py x: 1 commits (90d) y: 30 lines of code
634.0
lines of code
  min: 1.0
  average: 172.23
  25th percentile: 54.75
  median: 127.5
  75th percentile: 266.5
  max: 634.0
0 7.0
commits (90d)
min: 1.0 | average: 1.87 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0

File Size vs. Contributors (90 days): 52 points

captum/influence/_core/tracincp.py x: 3 contributors (90d) y: 309 lines of code captum/influence/_core/tracincp_fast_rand_proj.py x: 2 contributors (90d) y: 418 lines of code captum/influence/_utils/common.py x: 2 contributors (90d) y: 125 lines of code captum/_utils/common.py x: 2 contributors (90d) y: 506 lines of code captum/_utils/gradient.py x: 3 contributors (90d) y: 593 lines of code captum/attr/_core/deep_lift.py x: 3 contributors (90d) y: 634 lines of code captum/attr/_core/feature_ablation.py x: 1 contributors (90d) y: 286 lines of code captum/attr/_core/guided_backprop_deconvnet.py x: 2 contributors (90d) y: 109 lines of code captum/attr/_core/guided_grad_cam.py x: 2 contributors (90d) y: 71 lines of code captum/attr/_core/input_x_gradient.py x: 1 contributors (90d) y: 36 lines of code captum/attr/_core/layer/grad_cam.py x: 1 contributors (90d) y: 65 lines of code captum/attr/_core/layer/layer_deep_lift.py x: 2 contributors (90d) y: 255 lines of code captum/attr/_core/layer/layer_feature_ablation.py x: 1 contributors (90d) y: 112 lines of code captum/attr/_core/layer/layer_gradient_x_activation.py x: 1 contributors (90d) y: 72 lines of code captum/attr/_core/layer/layer_lrp.py x: 2 contributors (90d) y: 145 lines of code captum/attr/_core/lime.py x: 2 contributors (90d) y: 494 lines of code captum/attr/_core/lrp.py x: 2 contributors (90d) y: 241 lines of code captum/attr/_core/neuron/neuron_gradient.py x: 1 contributors (90d) y: 53 lines of code captum/attr/_core/noise_tunnel.py x: 1 contributors (90d) y: 279 lines of code captum/attr/_core/occlusion.py x: 1 contributors (90d) y: 137 lines of code captum/attr/_core/shapley_value.py x: 1 contributors (90d) y: 269 lines of code captum/attr/_utils/batching.py x: 2 contributors (90d) y: 158 lines of code captum/attr/_utils/common.py x: 1 contributors (90d) y: 300 lines of code captum/metrics/_core/infidelity.py x: 1 contributors (90d) y: 209 lines of code captum/robust/_core/fgsm.py x: 1 contributors (90d) y: 81 lines of code captum/robust/_core/pgd.py x: 1 contributors (90d) y: 79 lines of code captum/attr/_utils/visualization.py x: 1 contributors (90d) y: 334 lines of code pyproject.toml x: 1 contributors (90d) y: 4 lines of code scripts/parse_sphinx.py x: 1 contributors (90d) y: 47 lines of code sphinx/source/conf.py x: 1 contributors (90d) y: 60 lines of code website/siteConfig.js x: 1 contributors (90d) y: 48 lines of code setup.py x: 2 contributors (90d) y: 130 lines of code website/pages/en/index.js x: 1 contributors (90d) y: 274 lines of code website/static/css/custom.css x: 1 contributors (90d) y: 259 lines of code website/pages/tutorials/index.js x: 1 contributors (90d) y: 142 lines of code captum/__init__.py x: 1 contributors (90d) y: 1 lines of code captum/influence/_core/similarity_influence.py x: 2 contributors (90d) y: 152 lines of code captum/influence/__init__.py x: 2 contributors (90d) y: 15 lines of code captum/concept/_core/tcav.py x: 1 contributors (90d) y: 384 lines of code captum/concept/_utils/classifier.py x: 1 contributors (90d) y: 87 lines of code captum/influence/_core/influence.py x: 1 contributors (90d) y: 16 lines of code captum/influence/_utils/nearest_neighbors.py x: 1 contributors (90d) y: 50 lines of code captum/_utils/sample_gradient.py x: 1 contributors (90d) y: 120 lines of code captum/attr/_core/neuron/neuron_deep_lift.py x: 1 contributors (90d) y: 105 lines of code captum/insights/attr_vis/features.py x: 1 contributors (90d) y: 172 lines of code captum/_utils/av.py x: 1 contributors (90d) y: 237 lines of code captum/_utils/typing.py x: 1 contributors (90d) y: 30 lines of code
634.0
lines of code
  min: 1.0
  average: 172.23
  25th percentile: 54.75
  median: 127.5
  75th percentile: 266.5
  max: 634.0
0 3.0
contributors (90d)
min: 1.0 | average: 1.37 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0