CGAL 6.0.1 - Classification
Loading...
Searching...
No Matches
Classification/example_deprecated_conversion.cpp
#include <CGAL/Classification/ETHZ/Random_forest_classifier.h>
#include <cstdlib>
#include <fstream>
int main (int argc, char** argv)
{
if (argc != 3)
std::cerr << "Usage: " << argv[0] << " input.gz output.bin" << std::endl;
else
{
std::ifstream ifile (argv[1], std::ios_base::binary);
std::ofstream ofile (argv[2], std::ios_base::binary);
}
return EXIT_SUCCESS;
}
static void convert_deprecated_configuration_to_new_format(std::istream &input, std::ostream &output)
converts a deprecated configuration (in compressed ASCII format) to a new configuration (in binary fo...
Definition: Random_forest_classifier.h:341