Ludvig
commited on
Commit
·
b008d2a
1
Parent(s):
889ab6a
Removes some print statements
Browse files
app.py
CHANGED
|
@@ -301,7 +301,6 @@ if st.session_state["step"] >= 2:
|
|
| 301 |
|
| 302 |
# Check the number of classes
|
| 303 |
num_classes = len(st.session_state["classes"])
|
| 304 |
-
print(st.session_state["classes"])
|
| 305 |
if num_classes < 2:
|
| 306 |
# TODO Handle better than throwing error?
|
| 307 |
raise ValueError(
|
|
|
|
| 301 |
|
| 302 |
# Check the number of classes
|
| 303 |
num_classes = len(st.session_state["classes"])
|
|
|
|
| 304 |
if num_classes < 2:
|
| 305 |
# TODO Handle better than throwing error?
|
| 306 |
raise ValueError(
|
plot.R
CHANGED
|
@@ -173,7 +173,6 @@ if (!isTRUE(data_are_counts)) {
|
|
| 173 |
# We remove the unwanted classes from the confusion matrix
|
| 174 |
# (easier - possibly slower in edge cases)
|
| 175 |
family <- ifelse(length(all_present_classes) == 2, "binomial", "multinomial")
|
| 176 |
-
print(df)
|
| 177 |
|
| 178 |
# TODO : use prob_of_class to ensure probabilities are interpreted correctly!!
|
| 179 |
# Might need to invert them to get it to work!
|
|
|
|
| 173 |
# We remove the unwanted classes from the confusion matrix
|
| 174 |
# (easier - possibly slower in edge cases)
|
| 175 |
family <- ifelse(length(all_present_classes) == 2, "binomial", "multinomial")
|
|
|
|
| 176 |
|
| 177 |
# TODO : use prob_of_class to ensure probabilities are interpreted correctly!!
|
| 178 |
# Might need to invert them to get it to work!
|