r258.html
来自「一个功能强大的神经网络分析程序」· HTML 代码 · 共 221 行
HTML
221 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><TITLE>fann_create</TITLE><link href="../style.css" rel="stylesheet" type="text/css"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINKREL="HOME"TITLE="Fast Artificial Neural Network Library"HREF="index.html"><LINKREL="UP"TITLE="Creation, Destruction, and Execution"HREF="c253.html#api.sec.create_destroy"><LINKREL="PREVIOUS"TITLE="API Reference"HREF="c253.html"><LINKREL="NEXT"TITLE="fann_create_array"HREF="r285.html"></HEAD><BODYCLASS="refentry"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Fast Artificial Neural Network Library</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="c253.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="r285.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="api.fann_create"></A>fann_create</H1><DIVCLASS="refnamediv"><ANAME="AEN259"></A><H2>Name</H2>fann_create -- Create a new artificial neural network, and return a pointer to it.</DIV><DIVCLASS="refsect1"><ANAME="AEN262"></A><H2>Description</H2><codeclass="methodsynopsis"> <spanclass="type">struct fann * </span>fann_create(<spanclass="methodparam"><spanclass="type">float </span><spanclass="parameter">connection_rate</span></span><spanclass="methodparam">, <spanclass="type">float </span><spanclass="parameter">learning_rate</span></span><spanclass="methodparam">, <spanclass="type">unsigned int </span><spanclass="parameter">num_layers</span></span><spanclass="methodparam">, <spanclass="type">unsigned int </span><spanclass="parameter">...</span></span>); </code><P> <CODECLASS="function">fann_create</CODE> will create a new artificial neural network, and return a pointer to it. The <CODECLASS="parameter">connection_rate</CODE> controls how many connections there will be in the network. If the connection rate is set to 1, the network will be fully connected, but if it is set to 0.5 only half of the connections will be set. </P><P> The <CODECLASS="parameter">num_layers</CODE> is the number of layers including the input and output layer. This parameter is followed by one parameter for each layer telling how many neurons there should be in the layer. </P><P>This function appears in FANN >= 1.0.0.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="c253.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="index.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="r285.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">API Reference</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c253.html#api.sec.create_destroy"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">fann_create_array</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?