I am happy to announce an updated shiny interface to my R package fbroc. Before updating the interface further to include the new features of fbroc, I wanted to update the interface first. Fortunately, there is an excellent package for the creation of dashboard interfaces for shiny: shinydashboard. I had to rewrite parts of the shiny interface. It was very much worth it.
The most difficult part was to get the graphs and boxes to scale correctly. First, I had trouble keeping the correct aspect ratio and then the boxes surrounding them did not scale properly with graph size. For some window sizes, part of the graph was outside the box. Since I had trouble fixing this, I will describe the problem and the solution later in a separate blog post. Maybe it will help someone else.
Comparison of old and new shiny interface
As mentioned, next up is another update of the interface to support the main new feature of fbroc: comparison of two classifiers trying to solve the same prediction task on the same data. Even with very different classification algorithm, there is usually still a significant correlation between the predictions of the two models. Often the two subsets of samples misclassified by the classifiers have a large overlap. To correctly compare the model with bootstrap methods in this case, it is critical to keep the correlation intact. After the first release of fbroc, this feature was my highest priority.