Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 44a57478e44aacd6feb6b6f780eab143 > files > 158

ocaml-gpr-devel-1.2.1-2.mga6.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Gpr_interfaces.Specs.Eval.Input.html">
<link rel="Up" href="Gpr_interfaces.Specs.Eval.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Gpr" rel="Chapter" href="Gpr.html">
<link title="Gpr_interfaces" rel="Chapter" href="Gpr_interfaces.html">
<link title="Gpr_utils" rel="Chapter" href="Gpr_utils.html">
<link title="Gpr_block_diag" rel="Chapter" href="Gpr_block_diag.html">
<link title="Gpr_cov_const" rel="Chapter" href="Gpr_cov_const.html">
<link title="Gpr_cov_lin_ard" rel="Chapter" href="Gpr_cov_lin_ard.html">
<link title="Gpr_cov_lin_one" rel="Chapter" href="Gpr_cov_lin_one.html">
<link title="Gpr_cov_se_iso" rel="Chapter" href="Gpr_cov_se_iso.html">
<link title="Gpr_cov_se_fat" rel="Chapter" href="Gpr_cov_se_fat.html">
<link title="Gpr_fitc_gp" rel="Chapter" href="Gpr_fitc_gp.html">
<link title="Gpr_version" rel="Chapter" href="Gpr_version.html"><title>Gpr_interfaces.Specs.Eval.Inputs</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Gpr_interfaces.Specs.Eval.Input.html" title="Gpr_interfaces.Specs.Eval.Input">Previous</a>
&nbsp;<a class="up" href="Gpr_interfaces.Specs.Eval.html" title="Gpr_interfaces.Specs.Eval">Up</a>
&nbsp;</div>
<h1>Module <a href="type_Gpr_interfaces.Specs.Eval.Inputs.html">Gpr_interfaces.Specs.Eval.Inputs</a></h1>

<pre><span class="keyword">module</span> Inputs: <code class="code">sig</code> <a href="Gpr_interfaces.Specs.Eval.Inputs.html">..</a> <code class="code">end</code></pre><div class="info module top">
Signature for evaluating multiple inputs<br>
</div>
<hr width="100%">

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info ">
Type of input points<br>
</div>


<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type"><a href="Gpr_interfaces.Specs.Eval.Input.html#TYPEt">Gpr_interfaces.Specs.Eval.Input.t</a> array -> <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">create inputs</code><br>
<b>Returns</b> inputs given an array of single <code class="code">inputs</code>.<br>
</div>

<pre><span id="VALget_n_points"><span class="keyword">val</span> get_n_points</span> : <code class="type"><a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -> int</code></pre><div class="info ">
<code class="code">get_n_points inputs</code><br>
<b>Returns</b> number of input points.<br>
</div>

<pre><span id="VALchoose_subset"><span class="keyword">val</span> choose_subset</span> : <code class="type"><a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -><br>       <a href="Gpr_utils.Int_vec.html#TYPEt">Gpr_utils.Int_vec.t</a> -> <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a></code></pre><div class="info ">
<code class="code">choose_subset inputs indexes</code><br>
<b>Returns</b> subset of input
          points from <code class="code">inputs</code> having <code class="code">indexes</code>.<br>
</div>

<pre><span id="VALcreate_inducing"><span class="keyword">val</span> create_inducing</span> : <code class="type"><a href="Gpr_interfaces.Specs.Kernel.html#TYPEt">Gpr_interfaces.Specs.Kernel.t</a> -><br>       <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -> <a href="Gpr_interfaces.Specs.Eval.Inducing.html#TYPEt">Gpr_interfaces.Specs.Eval.Inducing.t</a></code></pre><div class="info ">
<code class="code">create_inducing kernel inputs</code><br>
<b>Returns</b> inducing points
          made from <code class="code">inputs</code> and given <code class="code">kernel</code>.<br>
</div>

<pre><span id="VALcreate_default_kernel_params"><span class="keyword">val</span> create_default_kernel_params</span> : <code class="type"><a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -><br>       n_inducing:int -> <a href="Gpr_interfaces.Specs.Kernel.html#TYPEparams">Gpr_interfaces.Specs.Kernel.params</a></code></pre><div class="info ">
<code class="code">create_default_kernel_params inputs ~n_inducing</code><br>
<b>Returns</b> default kernel parameters to be used with <code class="code">n_inducing</code>
          inducing points and <code class="code">inputs</code>.<br>
</div>

<pre><span id="VALcalc_upper"><span class="keyword">val</span> calc_upper</span> : <code class="type"><a href="Gpr_interfaces.Specs.Kernel.html#TYPEt">Gpr_interfaces.Specs.Kernel.t</a> -><br>       <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -> Lacaml.D.mat</code></pre><div class="info ">
<code class="code">calc_upper kernel inputs</code><br>
<b>Returns</b> upper triangle of
          covariance matrix of <code class="code">inputs</code> given <code class="code">kernel</code>.<br>
</div>

<pre><span id="VALcalc_diag"><span class="keyword">val</span> calc_diag</span> : <code class="type"><a href="Gpr_interfaces.Specs.Kernel.html#TYPEt">Gpr_interfaces.Specs.Kernel.t</a> -><br>       <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -> Lacaml.D.vec</code></pre><div class="info ">
<code class="code">calc_diag kernel inputs</code><br>
<b>Returns</b> diagonal of
          covariance matrix of <code class="code">inputs</code> given <code class="code">kernel</code>.<br>
</div>

<pre><span id="VALcalc_cross"><span class="keyword">val</span> calc_cross</span> : <code class="type"><a href="Gpr_interfaces.Specs.Kernel.html#TYPEt">Gpr_interfaces.Specs.Kernel.t</a> -><br>       inputs:<a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -><br>       inducing:<a href="Gpr_interfaces.Specs.Eval.Inducing.html#TYPEt">Gpr_interfaces.Specs.Eval.Inducing.t</a> -> Lacaml.D.mat</code></pre><div class="info ">
<code class="code">calc_cross kernel ~inputs ~inducing</code><br>
<b>Returns</b> cross-covariance
          matrix of <code class="code">inputs</code> (indexing rows) and <code class="code">inducing</code> points
          (indexing columns).<br>
</div>

<pre><span id="VALweighted_eval"><span class="keyword">val</span> weighted_eval</span> : <code class="type"><a href="Gpr_interfaces.Specs.Kernel.html#TYPEt">Gpr_interfaces.Specs.Kernel.t</a> -><br>       inputs:<a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">t</a> -><br>       inducing:<a href="Gpr_interfaces.Specs.Eval.Inducing.html#TYPEt">Gpr_interfaces.Specs.Eval.Inducing.t</a> -><br>       coeffs:Lacaml.D.vec -> Lacaml.D.vec</code></pre><div class="info ">
<code class="code">weighted_eval kernel ~inputs ~inducing ~coeffs</code><br>
<b>Returns</b> vector of <code class="code">coeff</code>-weighted sums of covariances between
          <code class="code">inputs</code> and <code class="code">inducing</code> inputs given <code class="code">kernel</code>.<br>
</div>
</body></html>