pkiage commited on
Commit
0776bc7
1 Parent(s): 05b53a3

docs: add call graphs and dependency graphs

Browse files
docs/call-graph/call-graph-logistic_train_model.gv ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_6051d5ab [label="29: coeff_dict_to_sorted_df()" name="logistic_train_model::coeff_dict_to_sorted_df" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
18
+ node_1834bf82 [label="12: create_clf_logistic_model()" name="logistic_train_model::create_clf_logistic_model" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
19
+ node_d3039e8b [label="18: create_coeff_dict_logistic_model()" name="logistic_train_model::create_coeff_dict_logistic_model" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
20
+ node_cecef7ce [label="40: interpret_clf_logistic_model()" name="logistic_train_model::interpret_clf_logistic_model" shape="rect" style="rounded,filled" fillcolor="#cccccc" ];
21
+ node_cf98c9bd [label="60: logistic_train_model()" name="logistic_train_model::logistic_train_model" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
22
+ node_cecef7ce -> node_6051d5ab [color="#D55E00" penwidth="2"];
23
+ node_cecef7ce -> node_d3039e8b [color="#D55E00" penwidth="2"];
24
+ node_cf98c9bd -> node_1834bf82 [color="#0072B2" penwidth="2"];
25
+ node_cf98c9bd -> node_cecef7ce [color="#0072B2" penwidth="2"];
26
+ subgraph cluster_44c834c8 {
27
+ node_1834bf82 node_d3039e8b node_6051d5ab node_cecef7ce node_cf98c9bd;
28
+ label="File: logistic_train_model";
29
+ name="logistic_train_model";
30
+ style="filled";
31
+ graph[style=dotted];
32
+ };
33
+ }
docs/call-graph/call-graph-logistic_train_model.svg ADDED
docs/call-graph/call-graph-util_predict_model.gv ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_f7d6803b [label="40: make_prediction_view()" name="util_predict_model::make_prediction_view" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
18
+ node_55e3ab95 [label="23: probability_threshold_explainer()" name="util_predict_model::probability_threshold_explainer" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
19
+ node_f7d6803b -> node_55e3ab95 [color="#009E73" penwidth="2"];
20
+ subgraph cluster_3c83f67a {
21
+ node_55e3ab95 node_f7d6803b;
22
+ label="File: util_predict_model";
23
+ name="util_predict_model";
24
+ style="filled";
25
+ graph[style=dotted];
26
+ };
27
+ }
docs/call-graph/call-graph-util_predict_model.svg ADDED
docs/call-graph/call-graph-util_predict_model_threshold.gv ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_1f9151c4 [label="148: J_statistic_driven_probability_threshold()" name="util_predict_model_threshold::J_statistic_driven_probability_threshold" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
18
+ node_724f6ba5 [label="274: acceptance_rate_driven_threshold()" name="util_predict_model_threshold::acceptance_rate_driven_threshold" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
19
+ node_490d9b0f [label="76: apply_threshold_to_probability_values()" name="util_predict_model_threshold::apply_threshold_to_probability_values" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
20
+ node_b4aaa6d8 [label="34: classification_report_per_threshold()" name="util_predict_model_threshold::classification_report_per_threshold" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
21
+ node_9d1be9bc [label="165: create_tradeoff_graph()" name="util_predict_model_threshold::create_tradeoff_graph" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
22
+ node_31401d8a [label="93: default_status_per_threshold()" name="util_predict_model_threshold::default_status_per_threshold" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
23
+ node_db982914 [label="85: find_best_threshold_J_statistic()" name="util_predict_model_threshold::find_best_threshold_J_statistic" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
24
+ node_5d83fede [label="18: model_probability_values_df()" name="util_predict_model_threshold::model_probability_values_df" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
25
+ node_e309a559 [label="52: thresh_classification_report_recall_accuracy()" name="util_predict_model_threshold::thresh_classification_report_recall_accuracy" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
26
+ node_46bf610a [label="103: threshold_and_predictions()" name="util_predict_model_threshold::threshold_and_predictions" shape="rect" style="rounded,filled" fillcolor="#cccccc" ];
27
+ node_4f2d20d8 [label="182: tradeoff_threshold()" name="util_predict_model_threshold::tradeoff_threshold" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
28
+ node_16176513 [label="131: user_defined_probability_threshold()" name="util_predict_model_threshold::user_defined_probability_threshold" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
29
+ node_1f9151c4 -> node_db982914 [color="#F0E442" penwidth="2"];
30
+ node_1f9151c4 -> node_46bf610a [color="#F0E442" penwidth="2"];
31
+ node_724f6ba5 -> node_490d9b0f [color="#0072B2" penwidth="2"];
32
+ node_46bf610a -> node_490d9b0f [color="#56B4E9" penwidth="2"];
33
+ node_46bf610a -> node_5d83fede [color="#56B4E9" penwidth="2"];
34
+ node_4f2d20d8 -> node_b4aaa6d8 [color="#000000" penwidth="2"];
35
+ node_4f2d20d8 -> node_9d1be9bc [color="#000000" penwidth="2"];
36
+ node_4f2d20d8 -> node_31401d8a [color="#000000" penwidth="2"];
37
+ node_4f2d20d8 -> node_e309a559 [color="#000000" penwidth="2"];
38
+ node_16176513 -> node_46bf610a [color="#009E73" penwidth="2"];
39
+ subgraph cluster_8a2f3df1 {
40
+ node_5d83fede node_b4aaa6d8 node_e309a559 node_490d9b0f node_db982914 node_31401d8a node_46bf610a node_16176513 node_1f9151c4 node_9d1be9bc node_4f2d20d8 node_724f6ba5;
41
+ label="File: util_predict_model_threshold";
42
+ name="util_predict_model_threshold";
43
+ style="filled";
44
+ graph[style=dotted];
45
+ };
46
+ }
docs/call-graph/call-graph-util_predict_model_threshold.svg ADDED
docs/call-graph/call-graph-util_test.gv ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_e9042304 [label="448: create_accept_rate_list()" name="util_test::create_accept_rate_list" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
18
+ node_0bcad99f [label="422: create_cross_validation_df()" name="util_test::create_cross_validation_df" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
19
+ node_40856e5d [label="452: create_strategyTable_df()" name="util_test::create_strategyTable_df" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
20
+ node_f4893327 [label="411: cross_validation_scores()" name="util_test::cross_validation_scores" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
21
+ node_af158153 [label="541: get_df_trueStatus_probabilityDefault_threshStatus_loanAmount()" name="util_test::get_df_trueStatus_probabilityDefault_threshStatus_loanAmount" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
22
+ node_ce02c529 [label="24: make_tests_view()" name="util_test::make_tests_view" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
23
+ node_40856e5d -> node_e9042304 [color="#0072B2" penwidth="2"];
24
+ node_ce02c529 -> node_0bcad99f [color="#E69F00" penwidth="2"];
25
+ node_ce02c529 -> node_0bcad99f [color="#E69F00" penwidth="2"];
26
+ node_ce02c529 -> node_f4893327 [color="#E69F00" penwidth="2"];
27
+ node_ce02c529 -> node_af158153 [color="#E69F00" penwidth="2"];
28
+ subgraph cluster_746707bf {
29
+ node_ce02c529 node_f4893327 node_0bcad99f node_e9042304 node_40856e5d node_af158153;
30
+ label="File: util_test";
31
+ name="util_test";
32
+ style="filled";
33
+ graph[style=dotted];
34
+ };
35
+ }
docs/call-graph/call-graph-util_test.svg ADDED
docs/call-graph/call-graph-xgboost_train_model.gv ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_93fbfacf [label="20: create_clf_xgbt_model()" name="xgboost_train_model::create_clf_xgbt_model" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
18
+ node_5dffb92a [label="30: interpret_clf_xgbt_model()" name="xgboost_train_model::interpret_clf_xgbt_model" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
19
+ node_bb023570 [label="59: xgboost_train_model()" name="xgboost_train_model::xgboost_train_model" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
20
+ node_bb023570 -> node_93fbfacf [color="#000000" penwidth="2"];
21
+ node_bb023570 -> node_5dffb92a [color="#000000" penwidth="2"];
22
+ subgraph cluster_4d7ce8f1 {
23
+ node_93fbfacf node_5dffb92a node_bb023570;
24
+ label="File: xgboost_train_model";
25
+ name="xgboost_train_model";
26
+ style="filled";
27
+ graph[style=dotted];
28
+ };
29
+ }
docs/call-graph/call-graph-xgboost_train_model.svg ADDED
docs/call-graph/util_model_comparison.gv ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ digraph G {
2
+ concentrate=true;
3
+ splines="ortho";
4
+ rankdir="LR";
5
+ subgraph legend{
6
+ rank = min;
7
+ label = "legend";
8
+ Legend [shape=none, margin=0, label = <
9
+ <table cellspacing="0" cellpadding="0" border="1"><tr><td>Code2flow Legend</td></tr><tr><td>
10
+ <table cellspacing="0">
11
+ <tr><td>Regular function</td><td width="50px" bgcolor='#cccccc'></td></tr>
12
+ <tr><td>Trunk function (nothing calls this)</td><td bgcolor='#966F33'></td></tr>
13
+ <tr><td>Leaf function (this calls nothing else)</td><td bgcolor='#6db33f'></td></tr>
14
+ <tr><td>Function call</td><td><font color='black'>&#8594;</font></td></tr>
15
+ </table></td></tr></table>
16
+ >];
17
+ }node_6ad6335e [label="37: model_comparison_view()" name="util_model_comparison::model_comparison_view" shape="rect" style="rounded,filled" fillcolor="#966F33" ];
18
+ node_27f474e2 [label="18: roc_auc_for_model()" name="util_model_comparison::roc_auc_for_model" shape="rect" style="rounded,filled" fillcolor="#6db33f" ];
19
+ node_6ad6335e -> node_27f474e2 [color="#D55E00" penwidth="2"];
20
+ subgraph cluster_d897af93 {
21
+ node_27f474e2 node_6ad6335e;
22
+ label="File: util_model_comparison";
23
+ name="util_model_comparison";
24
+ style="filled";
25
+ graph[style=dotted];
26
+ };
27
+ }
docs/call-graph/util_model_comparison.svg ADDED
docs/module-dependency-graph/src.svg ADDED