Download???????? ???? ???????????? ?? ????????? ??????
???? ? ?????? ?????????? ??????? ??? ?? Ascoos OS ?????? ?? ????????? ???????????? ?? ???? ?? ???????? ??? ??????????, ??????????????? ????????? ??????. ?? ??????? ???????? ??? ??????????? ???????? ??? ????????? ?? ???????? ????????.
??????
-
?????????? ?????????? ??????? ?? ???????? ????????
-
???????? ????????? ????????????
-
???????? ???????????? ????? ?????????
?????? ??????? ??? Ascoos OS
-
TNeuralNetworkHandler
???????, ?????????? ??? ???????? ?????????? ???????
-
TMacroHandler
??????? ??? ???????? ????????????
???? ???????
? ????????? ????????? ?? ??? ?????? PHP:
- neural_workflow_composer.php
???????????? ??? ?? ??????: ???????????? ?????????, ?????????? ????????, ???????? ??? ???????? ????????????.
??????????????
-
PHP ? 8.2
-
????????????? ?? Ascoos OS ? ??
AWES 26
??? ?????????
-
????????? ???????? ???????? ?????????? (CPU, RAM, ??????).
-
?????????? ????????? ?????? ?? ??? ???????:
- ???????: 3 ? ?????: 4 (ReLU)
- ?????: 4 ? ??????: 1 (Sigmoid)
-
?? ??????? ???????????? ?? `fit()` ??? 1000 ?????? ??? learning rate 0.01.
-
???????????? ? ???????? ????????? ??????????.
-
?? ? ???????? ????? > 0.5, ?????????? macro.
-
??????, ? ??????????? ????????????.
?????????? ??????
$composer = new TNeuralNetworkHandler();
$composer->compile([
['input' => 3, 'output' => 4, 'activation' => 'relu'],
['input' => 4, 'output' => 1, 'activation' => 'sigmoid']
]);
$composer->fit($systemData, $actions, epochs: 1000, lr: 0.01);
$score = $composer->predictNetwork([$currentState])[0];
if ($score > 0.5) {
$macroHandler = new TMacroHandler();
$macroHandler->addMacro(fn() => print("???????? ????????????????? ????????????"), [], delay: 0, priority: 1);
$macroHandler->runNext();
} else {
print("? ??????????? ???????????? ????? ?????????\n");
}
??????????? ??????????
?? ? ???????? ????? ?????: ???????? ????????????????? ????????????
??????: ? ??????????? ???????????? ????? ?????????
?????
??????????
???????? ?? ?????????? ?? ???????, ?? ???????????? ???????? ???????? ?????????? ? ?? ??????????? ?? ?????? ??? ????????????. ????? ?? CONTRIBUTING.md ??? ???????.
????? ??????
???? ? ?????? ?????????? ??? ??? Ascoos General License (AGL). ????? ?? LICENSE.md.
|