prakharg24 commited on
Commit
7180765
·
verified ·
1 Parent(s): 2960027

Update my_pages/ica.py

Browse files
Files changed (1) hide show
  1. my_pages/ica.py +9 -3
my_pages/ica.py CHANGED
@@ -91,11 +91,17 @@ def render():
91
  # (x, y, text)
92
  locations = [
93
  (0.9, 0.1, "Random Seeds", "Random Seeds are highly arbitrary, without any convention or intentionality.", "left", "bottom"),
94
- (0.3, 0.1, "Neural networks for Tabular Data", "Using neural networks of some arbitrary size (hidden layers) for a setting where \
95
  they are not needed is highly conventional, a bit arbitrary, and has very low intentionality.", "right", "bottom"),
96
- (0.35, 0.6, "Pre-trained LLM for a Complex Task", "Using a high performing LLM for a complex task is intentional, however, it also has \
97
  conventionality to it, as a specialized model could have worked, depending on context.\
98
  No arbitrariness.", "right", "bottom"),
 
 
 
 
 
 
99
  ]
100
 
101
  torch_radius = 0.177 # how far the "torch" illuminates
@@ -118,5 +124,5 @@ def render():
118
  if len(explanations) > 0:
119
  text_to_show = ""
120
  for label, labeltext in explanations:
121
- text_to_show += "**" + label + ":** " + labeltext + "<br>"
122
  add_red_text(text_to_show)
 
91
  # (x, y, text)
92
  locations = [
93
  (0.9, 0.1, "Random Seeds", "Random Seeds are highly arbitrary, without any convention or intentionality.", "left", "bottom"),
94
+ (0.35, 0.06, "Neural networks for Tabular Data", "Using neural networks of some arbitrary size (hidden layers) for a setting where \
95
  they are not needed is highly conventional, a bit arbitrary, and has very low intentionality.", "right", "bottom"),
96
+ (0.4, 0.5, "Pre-trained LLM for a Complex Task", "Using a high performing LLM for a complex task is intentional, however, it also has \
97
  conventionality to it, as a specialized model could have worked, depending on context.\
98
  No arbitrariness.", "right", "bottom"),
99
+ (0.5, 0.7, "Best Bias Mitigation for a Particular Setup", "Choosing the most appropriate bias mitigation technique,\
100
+ specialized for the particular context, is highly intentional", "center", "bottom"),
101
+ (0.7, 0.5, "Randomly chosen Regularization Technique", "Adding regularization to improve robustness, but choosing the regularization technique randomly,\
102
+ creates a decision that is intentional and arbitrary, while avoiding conventionality.", "left", "bottom"),
103
+ (0.1, 0.1, "ReLU Activation as Default", "Choosing ReLU activation without testing what other activations might also work,\
104
+ is a highly conventional decision.", "right", "bottom"),
105
  ]
106
 
107
  torch_radius = 0.177 # how far the "torch" illuminates
 
124
  if len(explanations) > 0:
125
  text_to_show = ""
126
  for label, labeltext in explanations:
127
+ text_to_show += "<b>" + label + ":</b> " + labeltext + "<br>"
128
  add_red_text(text_to_show)