OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to build a perceptron via this libraries?

  • Thread starter Thread starter Ladrillos.
  • Start date Start date
L

Ladrillos.

Guest
The libraries are these:

Code:
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/nerdamer.core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Algebra.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Calculus.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Solve.js"></script>

The equation system that may act like a perceptron is this:

Code:
[
    // Perceptrons
    'r1=b+(m1*x11)+(m2*x12)',
    'r2=b+(m1*x21)+(m2*x22)',
    'r3=b+(m1*x31)+(m2*x32)',

    // Training Sets
    'r1=0',    'x11=0',    'x12=0',
    'r2=0',    'x21=1',    'x22=0',
    'r3=0',    'x31=0',    'x32=1',

    // Predictions
    'r4=b+(m1*x41)+(m2*x42)',    'x41=0',    'x42=0',
    'r5=b+(m1*x51)+(m2*x52)',    'x51=1',    'x52=0',
    'r6=b+(m1*x61)+(m2*x62)',    'x61=0',    'x62=1',
    'r7=b+(m1*x71)+(m2*x72)',    'x71=1',    'x72=1',
]

The error is a blank console: enter image description here

But I expect a good solution for my equation system neural network. It's possible?

<p>The libraries are these:</p>
<pre class="lang-html prettyprint-override"><code><script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/nerdamer.core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Algebra.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Calculus.js"></script>
<script src="https://cdn.jsdelivr.net/npm/nerdamer@latest/Solve.js"></script>
</code></pre>
<p>The equation system that may act like a perceptron is this:</p>
<pre class="lang-js prettyprint-override"><code>[
// Perceptrons
'r1=b+(m1*x11)+(m2*x12)',
'r2=b+(m1*x21)+(m2*x22)',
'r3=b+(m1*x31)+(m2*x32)',

// Training Sets
'r1=0', 'x11=0', 'x12=0',
'r2=0', 'x21=1', 'x22=0',
'r3=0', 'x31=0', 'x32=1',

// Predictions
'r4=b+(m1*x41)+(m2*x42)', 'x41=0', 'x42=0',
'r5=b+(m1*x51)+(m2*x52)', 'x51=1', 'x52=0',
'r6=b+(m1*x61)+(m2*x62)', 'x61=0', 'x62=1',
'r7=b+(m1*x71)+(m2*x72)', 'x71=1', 'x72=1',
]
</code></pre>
<p>The error is a blank console: <a href="https://i.sstatic.net/kdEwowb8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kdEwowb8.png" alt="enter image description here" /></a></p>
<p>But I expect a good solution for my equation system neural network. It's possible?</p>
 

Latest posts

Top