|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> |
|
<html xmlns:gcse="googleCustomSearch"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="shortcut icon" href="dlib-icon.ico"><meta name="verify-v1" content="02MiiaFNVzS5/u0eQhsy3/knioFHsia1X3DXRpHkE6I="><meta name="google-site-verification" content="DGSSJMKDomaDaDTIRJ8jDkv0YMx9Cz7OESbXHjjr6Jw"><title>dlib C++ Library |
|
- Bayesian Networks</title><script type="text/javascript" src="dlib.js"></script><link rel="stylesheet" type="text/css" href="dlib.css"></head><body><a name="top"></a><div id="page_header"><a href="http://dlib.net"><img src="dlib-logo.png"></a></div><div id="top_content"><div id="main_menu" class="menu"><div class="menu_top"><b>The Library</b><ul class="tree"><li><a href="algorithms.html" class="menu">Algorithms</a></li><li><a href="api.html" class="menu">API Wrappers</a></li><li><a href="bayes.html" class="menu">Bayesian Nets</a></li><li><a href="compression.html" class="menu">Compression</a></li><li><a href="containers.html" class="menu">Containers</a></li><li><a href="graph_tools.html" class="menu">Graph Tools</a></li><li><a href="imaging.html" class="menu">Image Processing</a></li><li><a href="linear_algebra.html" class="menu">Linear Algebra</a></li><li><a href="ml.html" class="menu">Machine Learning</a></li><li><a href="metaprogramming.html" class="menu">Metaprogramming</a></li><li><a href="other.html" class="menu">Miscellaneous</a></li><li><a href="network.html" class="menu">Networking</a></li><li><a href="optimization.html" class="menu">Optimization</a></li><li><a href="parsing.html" class="menu">Parsing</a></li></ul><br><b>Help/Info</b><ul class="tree"><li><a href="http://blog.dlib.net" class="menu">Dlib Blog</a></li><li><a onclick="Toggle(this)" class="sub menu"><img src="plus.gif">Examples: C++</a><ul style="display:none;"><li><a href="3d_point_cloud_ex.cpp.html" class="menu">3D Point Cloud</a></li><li><a href="assignment_learning_ex.cpp.html" class="menu">Assignment Learning</a></li><li><a href="file_to_code_ex.cpp.html" class="menu">Base64 Encoder</a></li><li><a href="bayes_net_from_disk_ex.cpp.html" class="menu">Bayesian Network From Disk</a></li><li><a href="bayes_net_gui_ex.cpp.html" class="menu">Bayesian Network GUI</a></li><li><a href="bayes_net_ex.cpp.html" class="menu">Bayesian Network</a></li><li><a href="bridge_ex.cpp.html" class="menu">Bridge</a></li><li><a href="bsp_ex.cpp.html" class="menu">BSP</a></li><li><a href="svm_c_ex.cpp.html" class="menu">C-Support Vector Machine</a></li><li><a href="compress_stream_ex.cpp.html#_top" class="menu">Cmd Line Parser</a></li><li><a href="compress_stream_ex.cpp.html" class="menu">Compress Stream</a></li><li><a href="config_reader_ex.cpp.html" class="menu">Config File Reader</a></li><li><a href="custom_trainer_ex.cpp.html" class="menu">Custom Trainers</a></li><li><a href="dnn_face_recognition_ex.cpp.html" class="menu">Deep Face Recognition</a></li><li><a href="dnn_dcgan_train_ex.cpp.html" class="menu">Deep Learning DCGAN</a></li><li><a href="dnn_mmod_dog_hipsterizer.cpp.html" class="menu">Deep Learning Dog Hipsterizer</a></li><li><a href="dnn_mmod_face_detection_ex.cpp.html" class="menu">Deep Learning Face Detection</a></li><li><a href="dnn_imagenet_ex.cpp.html" class="menu">Deep Learning Imagenet Classifier</a></li><li><a href="dnn_imagenet_train_ex.cpp.html" class="menu">Deep Learning Imagenet Trainer </a></li><li><a href="dnn_inception_ex.cpp.html" class="menu">Deep Learning Inception</a></li><li><a href="dnn_instance_segmentation_train_ex.cpp.html" class="menu">Deep Learning Instance Segmentation Trainer</a></li><li><a href="dnn_instance_segmentation_ex.cpp.html" class="menu">Deep Learning Instance Segmentation</a></li><li><a href="dnn_introduction_ex.cpp.html" class="menu">Deep Learning Introduction Part 1</a></li><li><a href="dnn_introduction2_ex.cpp.html" class="menu">Deep Learning Introduction Part 2</a></li><li><a href="dnn_introduction3_ex.cpp.html" class="menu">Deep Learning Introduction Part 3</a></li><li><a href="dnn_mmod_ex.cpp.html" class="menu">Deep Learning Max-Margin Object Detection</a></li><li><a href="dnn_mmod_find_cars2_ex.cpp.html" class="menu">Deep Learning Multi-Class Vehicle Detection</a></li><li><a href="dnn_semantic_segmentation_train_ex.cpp.html" class="menu">Deep Learning Semantic Segmentation Trainer</a></li><li><a href="dnn_semantic_segmentation_ex.cpp.html" class="menu">Deep Learning Semantic Segmentation</a></li><li><a href="dnn_mmod_train_find_cars_ex.cpp.html" class="menu">Deep Learning Vehicle Detection Trainer</a></li><li><a href="dnn_mmod_find_cars_ex.cpp.html" class="menu">Deep Learning Vehicle Detection</a></li><li><a href="dnn_metric_learning_ex.cpp.html" class="menu">Deep Metric Learning Introduction</a></li><li><a href="dnn_metric_learning_on_images_ex.cpp.html" class="menu">Deep Metric Learning on Images</a></li><li><a href="dir_nav_ex.cpp.html" class="menu">Directory Navigation</a></li><li><a href="empirical_kernel_map_ex.cpp.html" class="menu">Empirical Kernel Map</a></li><li><a href="face_detection_ex.cpp.html" class="menu">Face Detection</a></li><li><a href="face_landmark_detection_ex.cpp.html" class="menu">Face Landmark Detection</a></li><li><a href="fhog_ex.cpp.html" class="menu">FHOG Feature Extraction</a></li><li><a href="fhog_object_detector_ex.cpp.html" class="menu">FHOG Object Detection</a></li><li><a href="graph_labeling_ex.cpp.html" class="menu">Graph Labeling</a></li><li><a href="gui_api_ex.cpp.html" class="menu">GUI</a></li><li><a href="hough_transform_ex.cpp.html" class="menu">Hough Transform</a></li><li><a href="server_http_ex.cpp.html" class="menu">HTTP Server</a></li><li><a href="image_ex.cpp.html" class="menu">Image</a></li><li><a href="iosockstream_ex.cpp.html" class="menu">IO Socket Streams</a></li><li><a href="server_iostream_ex.cpp.html" class="menu">IO Streams Server</a></li><li><a href="kcentroid_ex.cpp.html" class="menu">Kernel Centroid</a></li><li><a href="kkmeans_ex.cpp.html" class="menu">Kernel K-Means Clustering</a></li><li><a href="krr_regression_ex.cpp.html" class="menu">Kernel Ridge Regression</a></li><li><a href="krls_filter_ex.cpp.html" class="menu">Kernel RLS Filtering</a></li><li><a href="krls_ex.cpp.html" class="menu">Kernel RLS Regression</a></li><li><a href="krr_classification_ex.cpp.html" class="menu">KRR Classification</a></li><li><a href="learning_to_track_ex.cpp.html" class="menu">Learning to Track</a></li><li><a href="max_cost_assignment_ex.cpp.html" class="menu">Linear Assignment Problems</a></li><li><a href="linear_manifold_regularizer_ex.cpp.html" class="menu">Linear Manifold Regularizer</a></li><li><a href="mpc_ex.cpp.html" class="menu">Linear Model Predictive Control</a></li><li><a href="logger_ex_2.cpp.html" class="menu">Logger Advanced</a></li><li><a href="logger_custom_output_ex.cpp.html" class="menu">Logger Custom Output</a></li><li><a href="logger_ex.cpp.html" class="menu">Logger</a></li><li><a href="matrix_expressions_ex.cpp.html" class="menu">Matrix Expressions</a></li><li><a href="matrix_ex.cpp.html" class="menu">Matrix</a></li><li><a href="member_function_pointer_ex.cpp.html" class="menu">Member Function Pointer</a></li><li><a href="model_selection_ex.cpp.html" class="menu">Model Selection</a></li><li><a href="multiclass_classification_ex.cpp.html" class="menu">Multiclass Classification</a></li><li><a href="multithreaded_object_ex.cpp.html" class="menu">Multithreaded Object</a></li><li><a href="mlp_ex.cpp.html" class="menu">Neural Network</a></li><li><a href="least_squares_ex.cpp.html" class="menu">Non-Linear Least Squares</a></li><li><a href="svm_ex.cpp.html" class="menu">Nu-Support Vector Machine</a></li><li><a href="integrate_function_adapt_simp_ex.cpp.html" class="menu">Numerical Integration</a></li><li><a href="object_detector_advanced_ex.cpp.html" class="menu">Object Detector Advanced</a></li><li><a href="object_detector_ex.cpp.html" class="menu">Object Detector</a></li><li><a href="one_class_classifiers_ex.cpp.html" class="menu">One Class Classifiers</a></li><li><a href="svm_pegasos_ex.cpp.html" class="menu">Online SVM</a></li><li><a href="optimization_ex.cpp.html" class="menu">Optimization</a></li><li><a href="parallel_for_ex.cpp.html" class="menu">Parallel For Loops</a></li><li><a href="pipe_ex_2.cpp.html" class="menu">Pipe 2</a></li><li><a href="pipe_ex.cpp.html" class="menu">Pipe</a></li><li><a href="quantum_computing_ex.cpp.html" class="menu">Quantum Computing</a></li><li><a href="queue_ex.cpp.html" class="menu">Queue</a></li><li><a href="random_cropper_ex.cpp.html" class="menu">Random Cropper</a></li><li><a href="rank_features_ex.cpp.html" class="menu">Rank Features</a></li><li><a href="rvm_ex.cpp.html" class="menu">Relevance Vector Classification</a></li><li><a href="rvm_regression_ex.cpp.html" class="menu">Relevance Vector Regression</a></li><li><a href="running_stats_ex.cpp.html" class="menu">Running Stats</a></li><li><a href="sequence_labeler_ex.cpp.html" class="menu">Sequence Labeling</a></li><li><a href="sequence_segmenter_ex.cpp.html" class="menu">Sequence Segmentation</a></li><li><a href="sockets_ex.cpp.html" class="menu">Sockets</a></li><li><a href="sockstreambuf_ex.cpp.html" class="menu">Sockstreambuf</a></li><li><a href="svm_sparse_ex.cpp.html" class="menu">Sparse Vectors</a></li><li><a href="sqlite_ex.cpp.html" class="menu">SQLite</a></li><li><a href="std_allocator_ex.cpp.html" class="menu">Std C++ Allocator</a></li><li><a href="svm_struct_ex.cpp.html" class="menu">Structural Support Vector Machines</a></li><li><a href="svr_ex.cpp.html" class="menu">Support Vector Regression</a></li><li><a href="surf_ex.cpp.html" class="menu">SURF</a></li><li><a href="svm_rank_ex.cpp.html" class="menu">SVM-Rank</a></li><li><a href="thread_function_ex.cpp.html" class="menu">Thread Function</a></li><li><a href="thread_pool_ex.cpp.html" class="menu">Thread Pool</a></li><li><a href="threaded_object_ex.cpp.html" class="menu">Threaded Object</a></li><li><a href="threads_ex.cpp.html" class="menu">Threads</a></li><li><a href="timer_ex.cpp.html" class="menu">Timer</a></li><li><a href="train_object_detector.cpp.html" class="menu">Train Object Detector</a></li><li><a href="train_shape_predictor_ex.cpp.html" class="menu">Train Shape Predictor</a></li><li><a href="using_custom_kernels_ex.cpp.html" class="menu">Using Custom Kernels</a></li><li><a href="video_tracking_ex.cpp.html" class="menu">Video Object Tracking</a></li><li><a href="webcam_face_pose_ex.cpp.html" class="menu">Webcam Face Pose Estimation</a></li><li><a href="xml_parser_ex.cpp.html" class="menu">XML Parser</a></li></ul></li><li><a onclick="Toggle(this)" class="sub menu"><img src="plus.gif">Examples: Python</a><ul style="display:none;"><li><a href="svm_binary_classifier.py.html" class="menu">Binary Classification</a></li><li><a href="cnn_face_detector.py.html" class="menu">CNN Face Detector</a></li><li><a href="face_alignment.py.html" class="menu">Face Alignment</a></li><li><a href="face_clustering.py.html" class="menu">Face Clustering</a></li><li><a href="face_detector.py.html" class="menu">Face Detector</a></li><li><a href="face_jitter.py.html" class="menu">Face Jittering/Augmentation</a></li><li><a href="face_landmark_detection.py.html" class="menu">Face Landmark Detection</a></li><li><a href="face_recognition.py.html" class="menu">Face Recognition</a></li><li><a href="find_candidate_object_locations.py.html" class="menu">Find Candidate Object Locations</a></li><li><a href="global_optimization.py.html" class="menu">Global Optimization</a></li><li><a href="max_cost_assignment.py.html" class="menu">Linear Assignment Problems</a></li><li><a href="sequence_segmenter.py.html" class="menu">Sequence Segmenter</a></li><li><a href="svm_struct.py.html" class="menu">Structural Support Vector Machines</a></li><li><a href="svm_rank.py.html" class="menu">SVM-Rank</a></li><li><a href="train_object_detector.py.html" class="menu">Train Object Detector</a></li><li><a href="train_shape_predictor.py.html" class="menu">Train Shape Predictor</a></li><li><a href="correlation_tracker.py.html" class="menu">Video Object Tracking</a></li></ul></li><li><a href="faq.html" class="menu">FAQ</a></li><li><a href="index.html" class="menu">Home</a></li><li><a href="compile.html" class="menu">How to compile</a></li><li><a href="howto_contribute.html" class="menu">How to contribute</a></li><li><a href="term_index.html" class="menu">Index</a></li><li><a href="intro.html" class="menu">Introduction</a></li><li><a href="license.html" class="menu">License</a></li><li><a href="python/index.html" class="menu">Python API</a></li><li><a href="books.html" class="menu">Suggested Books</a></li><li><a href="http://sourceforge.net/p/dclib/wiki/Known_users/" class="menu">Who uses dlib?</a></li></ul><br><b>Current Release</b><ul class="tree"><li><a href="change_log.html" class="menu">Change Log</a></li><li><a href="release_notes.html" class="menu">Release Notes</a></li><li>Version: 19.22</li></ul><br></div><div class="menu_footer"> |
|
Last Modified:<br>Sep 13, 2015</div></div><div id="main_text"><div id="main_text_title">Bayesian Networks</div><div id="main_text_body"><p> |
|
This page documents all the tools within the dlib library that relate |
|
to the construction and evaluation of Bayesian networks. If you want |
|
a quick introduction to the tools then you should consult the |
|
Bayesian Net <a href="bayes_net_ex.cpp.html">example program</a>. |
|
|
|
</p><p> |
|
The |
|
library also comes with a graphical application to assist in the |
|
creation of bayesian networks. This application is one of the |
|
<a href="bayes_net_gui_ex.cpp.html">example programs</a>, so to use it |
|
you have to compile it yourself. |
|
</p></div></div><div id="right_menu" class="menu"><div class="menu_top"><b>Tools</b><ul class="tree"><li><a href="#assignment" class="menu">assignment</a></li><li><a href="#bayesian_network_gibbs_sampler" class="menu">bayesian_network_gibbs_sampler</a></li><li><a href="#bayesian_network_join_tree" class="menu">bayesian_network_join_tree</a></li><li><a href="#bayes_node" class="menu">bayes_node</a></li><li><a href="#conditional_probability_table" class="menu">conditional_probability_table</a></li><li><a href="#joint_probability_table" class="menu">joint_probability_table</a></li></ul><br><b>Node Utilities</b><ul class="tree"><li><a href="#node_cpt_filled_out" class="menu">node_cpt_filled_out</a></li><li><a href="#node_first_parent_assignment" class="menu">node_first_parent_assignment</a></li><li><a href="#node_is_evidence" class="menu">node_is_evidence</a></li><li><a href="#node_next_parent_assignment" class="menu">node_next_parent_assignment</a></li><li><a href="#node_num_values" class="menu">node_num_values</a></li><li><a href="#node_probability" class="menu">node_probability</a></li><li><a href="#node_value" class="menu">node_value</a></li><li><a href="#set_node_as_evidence" class="menu">set_node_as_evidence</a></li><li><a href="#set_node_as_nonevidence" class="menu">set_node_as_nonevidence</a></li><li><a href="#set_node_num_values" class="menu">set_node_num_values</a></li><li><a href="#set_node_probability" class="menu">set_node_probability</a></li><li><a href="#set_node_value" class="menu">set_node_value</a></li></ul><br></div><div class="menu_footer"></div></div></div><div id="bottom_content"><a name="assignment"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">assignment</h1><BR><BR> |
|
This object models an assignment of random variables to particular values. |
|
It is used with the <a href="#joint_probability_table">joint_probability_table</a> and |
|
<a href="#conditional_probability_table">conditional_probability_table</a> |
|
objects to represent assignments of various random variables to actual values. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a>, |
|
<a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#assignment">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="bayesian_network_gibbs_sampler"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">bayesian_network_gibbs_sampler</h1><BR><BR> |
|
This object performs Markov Chain Monte Carlo sampling of a bayesian |
|
network using the Gibbs sampling technique. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#bayesian_network_gibbs_sampler">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="bayesian_network_join_tree"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">bayesian_network_join_tree</h1><BR><BR> |
|
This object represents an implementation of the join tree algorithm |
|
(a.k.a. the junction tree algorithm) |
|
for inference in bayesian networks. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a>, |
|
<a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a>, |
|
<a href="bayes_net_from_disk_ex.cpp.html">bayes_net_from_disk_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#bayesian_network_join_tree">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="bayes_node"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">bayes_node</h1><BR><BR> |
|
This object represents a node in a bayesian network. It is |
|
intended to be used inside the <a href="containers.html#directed_graph">directed_graph</a> object to |
|
represent bayesian networks. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a>, |
|
<a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#bayes_node">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="conditional_probability_table"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">conditional_probability_table</h1><BR><BR> |
|
This object represents a conditional probability table. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#conditional_probability_table">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="joint_probability_table"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">joint_probability_table</h1><BR><BR> |
|
This object represents a joint probability table. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#joint_probability_table">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_cpt_filled_out"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_cpt_filled_out</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily verify that a node |
|
in a bayesian network has its <a href="#conditional_probability_table">conditional_probability_table</a> |
|
completely filled out. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_cpt_filled_out">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_first_parent_assignment"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_first_parent_assignment</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily obtain an <a href="#assignment">assignment</a> |
|
that contains all the parents of a node in a bayesian network. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_first_parent_assignment">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_is_evidence"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_is_evidence</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily determine if a |
|
<a href="#bayes_node">bayes_node</a> is evidence when it is inside |
|
a <a href="containers.html#directed_graph"> directed_graph</a> object. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_is_evidence">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_next_parent_assignment"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_next_parent_assignment</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily loop through all the parent <a href="#assignment">assignments</a> |
|
of a node in a bayesian network. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_gui_ex.cpp.html">bayes_net_gui_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_next_parent_assignment">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_num_values"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_num_values</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily obtain the number of values of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_num_values">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_probability"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_probability</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily obtain the probability of a |
|
<a href="#bayes_node">bayes_node</a> given its parents when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_probability">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="node_value"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">node_value</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily obtain the value of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside a <a href="containers.html#directed_graph"> |
|
directed_graph</a> object. |
|
<BR><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#node_value">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="set_node_as_evidence"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">set_node_as_evidence</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily set the evidence flag of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#set_node_as_evidence">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="set_node_as_nonevidence"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">set_node_as_nonevidence</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily remove the evidence flag of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#set_node_as_nonevidence">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="set_node_num_values"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">set_node_num_values</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily set the number of values of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#set_node_num_values">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="set_node_probability"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">set_node_probability</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily set the probability of a |
|
<a href="#bayes_node">bayes_node</a> given its parents when it is inside |
|
a <a href="containers.html#directed_graph">directed_graph</a> object. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#set_node_probability">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div><a name="set_node_value"></a><div class="component"><a href="#top"><font size="2"><center>[top]</center></font></a><h1 style="margin:0px;">set_node_value</h1><BR><BR> |
|
This is a function declared in the dlib::bayes_node_utils namespace. It |
|
is a convenience function that allows you to easily modify the value of a |
|
<a href="#bayes_node">bayes_node</a> when it is inside a <a href="containers.html#directed_graph"> |
|
directed_graph</a> object. |
|
<BR><BR>C++ Example Programs: <a href="bayes_net_ex.cpp.html">bayes_net_ex.cpp</a><div class="include_file_more_details_wrapper"><a class="more_details" href="dlib/bayes_utils/bayes_utils_abstract.h.html#set_node_value">More Details...</a><div class="include_file">#include <dlib/bayes_utils.h></div></div></div></div></body></html> |
|
|