prakharg24 commited on
Commit
044431d
·
verified ·
1 Parent(s): 61c745a

Update my_pages/ica.py

Browse files
Files changed (1) hide show
  1. my_pages/ica.py +7 -7
my_pages/ica.py CHANGED
@@ -100,17 +100,17 @@ def render():
100
 
101
  # --- Dummy points ---
102
  locations = [
103
- (0.9, 0.1, "Random Seeds", "Random Seeds are highly arbitrary, without any convention or intentionality.",
104
  "left", "bottom"),
105
- (0.35, 0.06, "Neural networks for Tabular Data", "Using neural networks of some arbitrary size (hidden layers) for a setting where they are not needed is highly conventional, a bit arbitrary, and has very low intentionality.",
106
  "left", "bottom"),
107
- (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 conventionality to it, as a specialized model could have worked, depending on context. No arbitrariness.",
108
  "center", "bottom"),
109
- (0.5, 0.7, "Best Bias Mitigation for a Particular Setup", "Choosing the most appropriate bias mitigation technique, specialized for the particular context, is highly intentional",
110
  "center", "bottom"),
111
- (0.7, 0.5, "Randomly chosen Regularization", "Adding regularization to improve robustness, but choosing the regularization technique randomly, creates a decision that is intentional and arbitrary, while avoiding conventionality.",
112
  "center", "top"),
113
- (0.15, 0.15, "ReLU Activation as Default", "Choosing ReLU activation without testing what other activations might also work, is a highly conventional decision.",
114
  "center", "bottom"),
115
  ]
116
 
@@ -135,5 +135,5 @@ def render():
135
  if len(explanations) > 0:
136
  text_to_show = ""
137
  for label, labeltext in explanations:
138
- text_to_show += "<b>" + label + ":</b> " + labeltext + "<br>"
139
  add_red_text(text_to_show)
 
100
 
101
  # --- Dummy points ---
102
  locations = [
103
+ (0.9, 0.1, "Random Seeds", "Randomness is highly arbitrary, without any convention or intentionality.",
104
  "left", "bottom"),
105
+ (0.35, 0.06, "Neural networks for Tabular Data", "Using an unnecessarily complex AI model for a setting where its not needed is highly conventional, a bit arbitrary, and has very low intentionality.",
106
  "left", "bottom"),
107
+ (0.4, 0.5, "Foundation Model for a Complex Task", "Using a language model for a complex task is intentional, however, it also has conventionality to it, as a specialized model could have worked. Low arbitrariness.",
108
  "center", "bottom"),
109
+ (0.5, 0.7, "Best Bias Mitigation for a Particular Setup", "Choosing the most appropriate bias mitigation technique, specialized for the particular setup, is highly intentional.",
110
  "center", "bottom"),
111
+ (0.7, 0.5, "Randomly chosen Regularization", "Adding regularization, but choosing the regularization method randomly, creates a decision that is intentional and arbitrary, while avoiding conventionality.",
112
  "center", "top"),
113
+ (0.15, 0.15, "ReLU Activation as Default", "Choosing some popular architecture component without testing what other components could have worked, is a highly conventional decision.",
114
  "center", "bottom"),
115
  ]
116
 
 
135
  if len(explanations) > 0:
136
  text_to_show = ""
137
  for label, labeltext in explanations:
138
+ text_to_show += "<b>" + label + ":</b> " + labeltext + "<br><br>"
139
  add_red_text(text_to_show)