node-red-contrib-neuralnetwork
Version:
SmartNode node package, provided by MakerCollider
36 lines (31 loc) • 1.76 kB
HTML
<!--
Copyright 2015 Maker Collider
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="outputJudge">
<h3 id="数据判定节点"><a name="数据判定节点" href="#数据判定节点"></a>数据判定节点</h3>
<p>本节点用于将从输入的数据中选择一个最优值并输出</p>
<h4 id="配置参数"><a name="配置参数" href="#配置参数"></a>配置参数</h4>
<ol>
<li>名称:节点名称</li>
<li>判定参数:要求该参数名称必须与本节点的输入数据中参数名一致</li>
<li>判定规则:可按最大值和最小值选取</li>
<li>结果参数名:输出结果的参数名称</li>
</ol>
<h4 id="使用方法"><a name="使用方法" href="#使用方法"></a>使用方法</h4>
<ol>
<li>使用前先用debug节点将本节点的输入数据打印输出,数据格式为例:{a:0.2334,b:0.3444,c:0.5.656}。</li>
<li>在<strong>判定参数</strong>中增加并设置要判定的数据参数,与本节点的输入数据中参数名一致。</li>
<li>在<strong>判定规则</strong>中设置规则,可选择按最大值或最小值选取。</li>
<li>设定输出数据的参数名称。例:名称为name,则输出结果为{'name':a}</li>
<li><strong>部署</strong></li>
</ol>
</script>