(draft; work in progress)
See also:
- Compilers
- Program analysis:
- Dynamic analysis - instrumentation, translation, sanitizers
(draft; work in progress)
See also:
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| def print_confusion_matrix(confusion_matrix, class_names, figsize = (10,7), fontsize=14): | |
| """Prints a confusion matrix, as returned by sklearn.metrics.confusion_matrix, as a heatmap. | |
| Arguments | |
| --------- | |
| confusion_matrix: numpy.ndarray |
| // This source code comes from: | |
| // http://stackoverflow.com/questions/8941711/is-is-possible-to-set-a-gdb-watchpoint-programatically | |
| // with additional tricks from: | |
| // https://code.google.com/p/google-breakpad/source/browse/trunk/src/client/linux/handler/exception_handler.cc?r=1361 | |
| #include <errno.h> | |
| #include <signal.h> | |
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> |
| # Claas Heuer, August 2015 | |
| # | |
| # urls: | |
| # http://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host | |
| # http://www.gnu.org/software/libc/download.html | |
| cd $HOME | |
| mkdir glibc_update | |
| cd glibc_update |