Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant get this equation system acts like a perceptron: #58

Open
DrFrankatron opened this issue Jun 23, 2024 · 0 comments
Open

I cant get this equation system acts like a perceptron: #58

DrFrankatron opened this issue Jun 23, 2024 · 0 comments

Comments

@DrFrankatron
Copy link

DrFrankatron commented Jun 23, 2024

The libraries are these:

<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>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.min.js"></script>

The equation system thats works like a perceptron with that libraries is this:

[
    //perceptron

    'r1=b+(m1*x11)+(m2*x12)',
    'r2=b+(m1*x21)+(m2*x22)',
    'r3=b+(m1*x31)+(m2*x32)',

    //entrenamiento

    'r1=0',
    'x11=0',
    'x12=0',

    'r2=0',
    'x21=1',
    'x22=0',

    'r3=0',
    'x31=0',
    'x32=1',

    //soluciones

    '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',
]

And the document doesnt print the solutions:

image

Any help? Thanks anyway!

@DrFrankatron DrFrankatron changed the title I cant get this equation system actings like a perceptron: I cant get this equation system acts like a perceptron: Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant