2024-04-21 14:44:35 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
< html lang = "en" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
2024-05-06 15:56:00 +00:00
< title > LCOV - BayesNet Coverage Report - bayesnet/classifiers/Classifier.cc - functions< / title >
2024-04-21 14:44:35 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../gcov.css" >
< / head >
< body >
< table width = "100%" border = 0 cellspacing = 0 cellpadding = 0 >
< tr > < td class = "title" > LCOV - code coverage report< / td > < / tr >
< tr > < td class = "ruler" > < img src = "../../glass.png" width = 3 height = 3 alt = "" > < / td > < / tr >
< tr >
< td width = "100%" >
< table cellpadding = 1 border = 0 width = "100%" >
< tr >
< td width = "10%" class = "headerItem" > Current view:< / td >
2024-05-06 15:56:00 +00:00
< td width = "10%" class = "headerValue" > < a href = "../../index.html" target = "_parent" > top level< / a > - < a href = "index.html" target = "_parent" > bayesnet/classifiers< / a > - Classifier.cc< span style = "font-size: 80%;" > (< a href = "Classifier.cc.gcov.html" > source< / a > / functions)< / span > < / td >
2024-04-21 14:44:35 +00:00
< td width = "5%" > < / td >
< td width = "5%" > < / td >
< td width = "5%" class = "headerCovTableHead" > Coverage< / td >
< td width = "5%" class = "headerCovTableHead" title = "Covered + Uncovered code" > Total< / td >
< td width = "5%" class = "headerCovTableHead" title = "Exercised code only" > Hit< / td >
< / tr >
< tr >
< td class = "headerItem" > Test:< / td >
2024-05-06 15:56:00 +00:00
< td class = "headerValue" > BayesNet Coverage Report< / td >
2024-04-21 14:44:35 +00:00
< td > < / td >
< td class = "headerItem" > Lines:< / td >
< td class = "headerCovTableEntryHi" > 100.0 %< / td >
< td class = "headerCovTableEntry" > 126< / td >
< td class = "headerCovTableEntry" > 126< / td >
< / tr >
< tr >
< td class = "headerItem" > Test Date:< / td >
2024-05-06 15:56:00 +00:00
< td class = "headerValue" > 2024-05-06 17:54:04< / td >
2024-04-21 14:44:35 +00:00
< td > < / td >
< td class = "headerItem" > Functions:< / td >
< td class = "headerCovTableEntryHi" > 100.0 %< / td >
< td class = "headerCovTableEntry" > 24< / td >
< td class = "headerCovTableEntry" > 24< / td >
2024-05-06 15:56:00 +00:00
< / tr >
< tr >
< td class = "headerItem" > Legend:< / td >
< td class = "headerValueLeg" > Lines:
< span class = "coverLegendCov" > hit< / span >
< span class = "coverLegendNoCov" > not hit< / span >
< / td >
< td > < / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr > < td > < img src = "../../glass.png" width = 3 height = 3 alt = "" > < / td > < / tr >
< / table >
< / td >
< / tr >
< tr > < td class = "ruler" > < img src = "../../glass.png" width = 3 height = 3 alt = "" > < / td > < / tr >
< / table >
< center >
< table cellpadding = 1 cellspacing = 1 border = 0 >
< tr > < td > < br > < / td > < / tr >
< tr >
< td class = "tableHead" > Function Name < span title = "Click to sort table by function name" class = "tableHeadSort" > < a href = "Classifier.cc.func.html" > < img src = "../../updown.png" width = 10 height = 14 alt = "Sort by function name" title = "Click to sort table by function name" border = 0 > < / a > < / span > < / td >
< td class = "tableHead" > Hit count < span title = "Click to sort table by function hit count" class = "tableHeadSort" > < img src = "../../glass.png" width = 10 height = 14 alt = "Sort by function hit count" title = "Click to sort table by function hit count" border = 0 > < / span > < / td >
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L182" > bayesnet::Classifier::dump_cpt[abi:cxx11]() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 4< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L178" > bayesnet::Classifier::topological_order[abi:cxx11]()< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 4< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L101" > bayesnet::Classifier::predict(std::vector< std::vector< int, std::allocator< int> > , std::allocator< std::vector< int, std::allocator< int> > > > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 16< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L142" > bayesnet::Classifier::score(std::vector< std::vector< int, std::allocator< int> > , std::allocator< std::vector< int, std::allocator< int> > > > & , std::vector< int, std::allocator< int> > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 16< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L170" > bayesnet::Classifier::getNumberOfStates() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 24< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L149" > bayesnet::Classifier::show[abi:cxx11]() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 24< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L186" > bayesnet::Classifier::setHyperparameters(nlohmann::json_abi_v3_11_3::basic_json< std::map, std::vector, std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector< unsigned char, std::allocator< unsigned char> > , void> const& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 92< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L137" > bayesnet::Classifier::score(at::Tensor& , at::Tensor& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 112< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L47" > bayesnet::Classifier::fit(at::Tensor& , at::Tensor& , std::vector< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::allocator< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > > const& , std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const& , std::map< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::vector< int, std::allocator< int> > , std::less< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > , std::allocator< std::pair< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const, std::vector< int, std::allocator< int> > > > > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 128< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L55" > bayesnet::Classifier::fit(std::vector< std::vector< int, std::allocator< int> > , std::allocator< std::vector< int, std::allocator< int> > > > & , std::vector< int, std::allocator< int> > & , std::vector< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::allocator< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > > const& , std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const& , std::map< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::vector< int, std::allocator< int> > , std::less< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > , std::allocator< std::pair< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const, std::vector< int, std::allocator< int> > > > > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 136< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L166" > bayesnet::Classifier::getNumberOfEdges() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 332< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L161" > bayesnet::Classifier::getNumberOfNodes() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 332< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L28" > bayesnet::Classifier::buildDataset(at::Tensor& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 340< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L174" > bayesnet::Classifier::getClassNumStates() const< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 348< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L122" > bayesnet::Classifier::predict_proba(std::vector< std::vector< int, std::allocator< int> > , std::allocator< std::vector< int, std::allocator< int> > > > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 548< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L72" > bayesnet::Classifier::fit(at::Tensor& , std::vector< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::allocator< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > > const& , std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const& , std::map< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::vector< int, std::allocator< int> > , std::less< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > , std::allocator< std::pair< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const, std::vector< int, std::allocator< int> > > > > & , at::Tensor const& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 660< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L66" > bayesnet::Classifier::fit(at::Tensor& , std::vector< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::allocator< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > > const& , std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const& , std::map< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::vector< int, std::allocator< int> > , std::less< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > , std::allocator< std::pair< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const, std::vector< int, std::allocator< int> > > > > & )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 852< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L115" > bayesnet::Classifier::predict_proba(at::Tensor& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1484< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L153" > bayesnet::Classifier::addNodes()< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1576< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L42" > bayesnet::Classifier::trainModel(at::Tensor const& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1576< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L12" > bayesnet::Classifier::build(std::vector< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::allocator< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > > const& , std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const& , std::map< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > , std::vector< int, std::allocator< int> > , std::less< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > > , std::allocator< std::pair< std::__cxx11::basic_string< char, std::char_traits< char> , std::allocator< char> > const, std::vector< int, std::allocator< int> > > > > & , at::Tensor const& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1760< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-05-06 15:56:00 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L77" > bayesnet::Classifier::checkFitParameters()< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1760< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L94" > bayesnet::Classifier::predict(at::Tensor& )< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 1844< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< tr >
2024-04-30 12:00:24 +00:00
< td class = "coverFn" > < a href = "Classifier.cc.gcov.html#L10" > bayesnet::Classifier::Classifier(bayesnet::Network)< / a > < / td >
2024-04-21 14:44:35 +00:00
2024-05-06 15:56:00 +00:00
< td class = "coverFnHi" > 2240< / td >
2024-04-21 14:44:35 +00:00
< / tr >
< / table >
< br >
< / center >
< table width = "100%" border = 0 cellspacing = 0 cellpadding = 0 >
< tr > < td class = "ruler" > < img src = "../../glass.png" width = 3 height = 3 alt = "" > < / td > < / tr >
< tr > < td class = "versionInfo" > Generated by: < a href = "https://github.com//linux-test-project/lcov" target = "_parent" > LCOV version 2.0-1< / a > < / td > < / tr >
< / table >
< br >
< / body >
< / html >