fix readme

This commit is contained in:
rsgrinko committed 2023-03-29 22:47:18 +03:00
1 parent c5e7774637
commit 413617d745
2 files changed
+23 -2

No files matched your search

+4 -2
View File
@@ -7,11 +7,13 @@
$ob = new NeuroNetwork(getStoragePath(1));
$res = $ob->run([1, 1]);
print_r($res);
echo '[Preset 1] Input data [1, 1], result: ' . $res[0] . PHP_EOL;
echo '[Mutate] Mutate weights...' . PHP_EOL;
$ob->mutate();
$res = $ob->run([1, 1]);
print_r($res);
echo '[Preset 2] Input data [1, 1], result: ' . $res[0] . PHP_EOL;