Help for this page

Select Code to Download


  1. or download this
    $net->train_set([
      [1,1], [0,1],
    ...
      [0,1], [0,1],
      [0,0], [1,0],
    ], 10000);
    
  2. or download this
    $net->train_set([
      [1,1] => [0,1],
    ...
      [0,1] => [0,1],
      [0,0] => [1,0],
    ], 10000);