12#include <mva/utility/Utility.h>
14namespace po = boost::program_options;
15using namespace Belle2::MVA;
17int main(
int argc,
char* argv[])
20 std::vector<std::string> filenames;
22 po::options_description description(
"Options");
23 description.add_options()
24 (
"help",
"print this message")
25 (
"identifiers", po::value<std::vector<std::string>>(&filenames)->multitoken(),
"Identifiers of the trained methods");
30 po::parsed_options parsed = po::command_line_parser(argc, argv).options(description).run();
31 po::store(parsed, vm);
33 if (vm.count(
"help")) {
34 std::cout << description << std::endl;
38 }
catch (po::error& err) {
39 std::cerr <<
"Error: " << err.what() <<
"\n";
43 for (
const auto& filename : filenames) {
44 std::cout <<
"Information about " << filename << std::endl;
46 std::cout << std::endl;
static std::string info(const std::string &filename)
Print information about the classifier stored in the given weightfile.