node-red-contrib-neuralnetwork
Version:
SmartNode node package, provided by MakerCollider
36 lines (31 loc) • 1.89 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="Data Judge node"><a name="Data Judge node" href="#Data Judge node"></a>Data Judge node</h3>
<p>This node will select an optimal value from the input datas and output it.</p>
<h4 id="Configuration parameters"><a name="Configuration parameters" href="#Configuration parameters"></a>Configuration parameters</h4>
<ol>
<li>name:The node name</li>
<li>rules:It requires the parameter name must be consistent with the parameter nameof the node input data.</li>
<li>judgeType:Maximum and minimum values can be selected</li>
<li>resultValue:The output parameter names</li>
</ol>
<h4 id="Usage"><a name="Usage" href="#Usage"></a>Usage</h4>
<ol>
<li>Before use, you should use the debug node to printout the input data of this node, data format is like :{a:0.2334,b:0.3444,c:0.5.656}。</li>
<li>In <strong>rules</strong>, you should add and set the data parameters which need to be judged, the parameter name must be consistent with the parameter nameof the node input data.</li>
<li>In <strong>judgeType</strong>, you can set the rules, choose that select by maximum or minimum value.</li>
<li>Set parameter name of the output data.For example:name is 'name',the output result is {'name':a}</li>
<li><strong>deploy</strong></li>
</ol>
</script>