Files
mlpack/doc/html/logistic__function_8hpp.html
T

208 lines
17 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>mlpack: src/mlpack/methods/ann/activation_functions/logistic_function.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra-stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">mlpack
&#160;<span id="projectnumber">master</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_44a936ef30fc126706c6284a2fc0c990.html">mlpack</a></li><li class="navelem"><a class="el" href="dir_3cfbf900288ec2fe8dd2c2c8482f216e.html">methods</a></li><li class="navelem"><a class="el" href="dir_04cdefcc9a97fb221ee3f2d7fb8aab76.html">ann</a></li><li class="navelem"><a class="el" href="dir_a05b89e13e21ccb1d653eec334a23617.html">activation_functions</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">logistic_function.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for logistic_function.hpp:</div>
<div class="dyncontent">
<div class="center"><img src="logistic__function_8hpp__incl.png" border="0" usemap="#src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hpp" alt=""/></div>
<map name="src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hpp" id="src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hpp">
<area shape="rect" id="node2" href="prereqs_8hpp.html" title="The core includes that mlpack expects; standard C++ includes and Armadillo. " alt="" coords="1135,109,1271,136"/>
<area shape="rect" id="node19" href="serialization__shim_8hpp.html" title="mlpack/core/data/serialization\l_shim.hpp" alt="" coords="1475,184,1669,225"/>
<area shape="rect" id="node23" href="serialization__template__version_8hpp.html" title="mlpack/core/data/serialization\l_template_version.hpp" alt="" coords="2236,184,2431,225"/>
<area shape="rect" id="node25" href="arma__traits_8hpp.html" title="mlpack/core/util/arma\l_traits.hpp" alt="" coords="2652,184,2799,225"/>
<area shape="rect" id="node26" href="arma__config__check_8hpp.html" title="mlpack/core/util/arma\l_config_check.hpp" alt="" coords="2823,184,2969,225"/>
<area shape="rect" id="node28" href="log_8hpp.html" title="mlpack/core/util/log.hpp" alt="" coords="725,191,885,218"/>
<area shape="rect" id="node35" href="timers_8hpp.html" title="mlpack/core/util/timers.hpp" alt="" coords="960,191,1139,218"/>
<area shape="rect" id="node38" href="deprecated_8hpp.html" title="mlpack/core/util/deprecated.hpp" alt="" coords="2994,191,3201,218"/>
<area shape="rect" id="node20" href="sfinae__utility_8hpp.html" title="mlpack/core/util/sfinae\l_utility.hpp" alt="" coords="1631,273,1785,315"/>
<area shape="rect" id="node27" href="arma__config_8hpp.html" title="This is an autogenerated file which contains the configuration of Armadillo at the time mlpack was bu..." alt="" coords="2837,281,2955,307"/>
<area shape="rect" id="node31" href="prefixedoutstream_8hpp.html" title="prefixedoutstream.hpp" alt="" coords="897,281,1047,307"/>
<area shape="rect" id="node33" href="nulloutstream_8hpp.html" title="nulloutstream.hpp" alt="" coords="696,281,821,307"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="logistic__function_8hpp__dep__incl.png" border="0" usemap="#src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hppdep" alt=""/></div>
<map name="src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hppdep" id="src_2mlpack_2methods_2ann_2activation__functions_2logistic__function_8hppdep">
<area shape="rect" id="node2" href="kathirvalavakumar__subavathi__init_8hpp.html" title="src/mlpack/methods\l/ann/init_rules/kathirvalavakumar\l_subavathi_init.hpp" alt="" coords="1660,109,1873,165"/>
<area shape="rect" id="node3" href="oivs__init_8hpp.html" title="src/mlpack/methods\l/ann/init_rules/oivs\l_init.hpp" alt="" coords="1898,109,2038,165"/>
<area shape="rect" id="node4" href="base__layer_8hpp.html" title="src/mlpack/methods\l/ann/layer/base_layer.hpp" alt="" coords="2063,117,2233,158"/>
<area shape="rect" id="node5" href="layer__types_8hpp.html" title="src/mlpack/methods\l/ann/layer/layer_types.hpp" alt="" coords="2061,213,2235,255"/>
<area shape="rect" id="node6" href="delete__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/delete\l_visitor.hpp" alt="" coords="901,303,1041,359"/>
<area shape="rect" id="node7" href="ffn_8hpp.html" title="src/mlpack/methods\l/ann/ffn.hpp" alt="" coords="678,407,818,448"/>
<area shape="rect" id="node8" href="add__merge_8hpp.html" title="src/mlpack/methods\l/ann/layer/add_merge.hpp" alt="" coords="945,407,1117,448"/>
<area shape="rect" id="node9" href="dropconnect_8hpp.html" title="src/mlpack/methods\l/ann/layer/dropconnect.hpp" alt="" coords="780,607,959,649"/>
<area shape="rect" id="node10" href="layer_8hpp.html" title="src/mlpack/methods\l/ann/layer/layer.hpp" alt="" coords="1397,704,1537,745"/>
<area shape="rect" id="node11" href="sequential_8hpp.html" title="src/mlpack/methods\l/ann/layer/sequential.hpp" alt="" coords="787,503,954,545"/>
<area shape="rect" id="node12" href="lstm_8hpp.html" title="src/mlpack/methods\l/ann/layer/lstm.hpp" alt="" coords="1085,607,1225,649"/>
<area shape="rect" id="node13" href="recurrent_8hpp.html" title="src/mlpack/methods\l/ann/layer/recurrent.hpp" alt="" coords="1446,607,1605,649"/>
<area shape="rect" id="node14" href="recurrent__attention_8hpp.html" title="src/mlpack/methods\l/ann/layer/recurrent\l_attention.hpp" alt="" coords="1629,600,1769,656"/>
<area shape="rect" id="node15" href="concat_8hpp.html" title="src/mlpack/methods\l/ann/layer/concat.hpp" alt="" coords="1243,407,1389,448"/>
<area shape="rect" id="node16" href="rnn_8hpp.html" title="src/mlpack/methods\l/ann/rnn.hpp" alt="" coords="1617,407,1757,448"/>
<area shape="rect" id="node17" href="delta__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/delta_visitor.hpp" alt="" coords="1346,310,1531,351"/>
<area shape="rect" id="node18" href="output__height__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/output\l_height_visitor.hpp" alt="" coords="685,303,825,359"/>
<area shape="rect" id="node19" href="output__parameter__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/output\l_parameter_visitor.hpp" alt="" coords="1116,303,1271,359"/>
<area shape="rect" id="node20" href="output__width__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/output\l_width_visitor.hpp" alt="" coords="521,303,661,359"/>
<area shape="rect" id="node21" href="reset__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/reset_visitor.hpp" alt="" coords="1607,310,1793,351"/>
<area shape="rect" id="node22" href="weight__size__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/weight\l_size_visitor.hpp" alt="" coords="1818,303,1958,359"/>
<area shape="rect" id="node23" href="concat__performance_8hpp.html" title="src/mlpack/methods\l/ann/layer/concat_performance.hpp" alt="" coords="2035,503,2261,545"/>
<area shape="rect" id="node24" href="convolution_8hpp.html" title="src/mlpack/methods\l/ann/layer/convolution.hpp" alt="" coords="2286,503,2461,545"/>
<area shape="rect" id="node25" href="linear_8hpp.html" title="src/mlpack/methods\l/ann/layer/linear.hpp" alt="" coords="203,503,343,545"/>
<area shape="rect" id="node26" href="glimpse_8hpp.html" title="src/mlpack/methods\l/ann/layer/glimpse.hpp" alt="" coords="2186,407,2339,448"/>
<area shape="rect" id="node27" href="linear__no__bias_8hpp.html" title="src/mlpack/methods\l/ann/layer/linear_no\l_bias.hpp" alt="" coords="2537,496,2677,552"/>
<area shape="rect" id="node28" href="vr__class__reward_8hpp.html" title="src/mlpack/methods\l/ann/layer/vr_class\l_reward.hpp" alt="" coords="2630,600,2770,656"/>
<area shape="rect" id="node29" href="add__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/add_visitor.hpp" alt="" coords="2337,310,2516,351"/>
<area shape="rect" id="node30" href="backward__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/backward\l_visitor.hpp" alt="" coords="2540,303,2687,359"/>
<area shape="rect" id="node31" href="deterministic__set__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/deterministic\l_set_visitor.hpp" alt="" coords="2711,303,2875,359"/>
<area shape="rect" id="node32" href="forward__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/forward\l_visitor.hpp" alt="" coords="2899,303,3039,359"/>
<area shape="rect" id="node33" href="gradient__set__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/gradient\l_set_visitor.hpp" alt="" coords="3063,303,3203,359"/>
<area shape="rect" id="node34" href="gradient__update__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/gradient\l_update_visitor.hpp" alt="" coords="3227,303,3367,359"/>
<area shape="rect" id="node35" href="gradient__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/gradient\l_visitor.hpp" alt="" coords="3391,303,3531,359"/>
<area shape="rect" id="node36" href="gradient__zero__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/gradient\l_zero_visitor.hpp" alt="" coords="3555,303,3695,359"/>
<area shape="rect" id="node37" href="load__output__parameter__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/load_output\l_parameter_visitor.hpp" alt="" coords="3720,303,3877,359"/>
<area shape="rect" id="node38" href="parameters__set__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/parameters\l_set_visitor.hpp" alt="" coords="3901,303,4056,359"/>
<area shape="rect" id="node39" href="parameters__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/parameters\l_visitor.hpp" alt="" coords="4080,303,4235,359"/>
<area shape="rect" id="node40" href="reward__set__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/reward\l_set_visitor.hpp" alt="" coords="4259,303,4399,359"/>
<area shape="rect" id="node41" href="save__output__parameter__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/save_output\l_parameter_visitor.hpp" alt="" coords="4423,303,4585,359"/>
<area shape="rect" id="node42" href="set__input__height__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/set_input\l_height_visitor.hpp" alt="" coords="4609,303,4751,359"/>
<area shape="rect" id="node43" href="set__input__width__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/set_input\l_width_visitor.hpp" alt="" coords="4775,303,4918,359"/>
<area shape="rect" id="node44" href="weight__set__visitor_8hpp.html" title="src/mlpack/methods\l/ann/visitor/weight\l_set_visitor.hpp" alt="" coords="4942,303,5082,359"/>
</map>
</div>
</div>
<p><a href="logistic__function_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlpack_1_1ann_1_1LogisticFunction.html">mlpack::ann::LogisticFunction</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The logistic function, defined by. <a href="classmlpack_1_1ann_1_1LogisticFunction.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemlpack"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemlpack.html">mlpack</a></td></tr>
<tr class="memdesc:namespacemlpack"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear algebra utility functions, generally performed on matrices or vectors. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacemlpack_1_1ann"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemlpack_1_1ann.html">mlpack::ann</a></td></tr>
<tr class="memdesc:namespacemlpack_1_1ann"><td class="mdescLeft">&#160;</td><td class="mdescRight">Artificial Neural Network. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Marcus Edel</dd></dl>
<p>Definition and implementation of the logistic function.</p>
<p>mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see <a href="http://www.opensource.org/licenses/BSD-3-Clause">http://www.opensource.org/licenses/BSD-3-Clause</a> for more information. </p>
<p>Definition in file <a class="el" href="logistic__function_8hpp_source.html">logistic_function.hpp</a>.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
<script type="text/javascript">
var x = document.getElementsByClassName("formulaDsp");
var i;
for (i = 0; i < x.length; i++)
{
x[i].width /= 4;
}
</script>
</html>