35 {
36 std::string config_file = "ccrf_type_fusion.pb.txt";
37 if (!options.config_file.empty()) {
38 config_file = options.config_file;
39 }
40 config_file =
GetConfigFile(options.config_path, config_file);
41 CcrfTypeFusionConfig config;
43 std::string classifiers_property_file_path =
45 options.config_path, config.classifiers_property_file_path());
48
51 pair.second.transposeInPlace();
52 AINFO <<
"Source: " << pair.first;
53 AINFO << std::endl << pair.second;
54 }
55
61 }
62 AINFO <<
"Confidence: ";
64
65 return true;
66}
Matrixd confidence_smooth_matrix_
apollo::common::EigenMap< std::string, Matrixd > smooth_matrices_
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...
bool LoadMultipleMatricesFile(const std::string &filename, EigenMap< std::string, Matrixd > *matrices)
void NormalizeRow(Matrixd *prob)
Compute normalize row of Matrixd
std::string GetConfigFile(const std::string &config_path, const std::string &config_file)