Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Basic Neural Network in PDL

by pryrt (Monsignor)
on May 17, 2018 at 22:15 UTC ( #1214803=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub nonlin {
        my ( $x, $deriv ) = @_;
    ...
        return $f * ( 1 - $f ) if defined $deriv;
        return $f;
    }
    
  2. or download this
    Output After Training:
    [
    ...
     [     0.999593]
     [     0.999388]
    ]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-17 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?