Login   Register  
PHP Classes

File: examples/case-studies/ai/semantic_macro_profiler/semantic_macro_profiler-GR.md

Recommend this page to a friend!
  Classes of ASCOOS CMS   Ascoos OS   examples/case-studies/ai/semantic_macro_profiler/semantic_macro_profiler-GR.md   Download  
File: examples/case-studies/ai/semantic_macro_profiler/semantic_macro_profiler-GR.md
Role: Documentation
Content typex: text/markdown
Description: Documentation
Class: Ascoos OS
A PHP Web 5.0 Kernel for decentralized web and IoT
Author: By
Last change:
Date: 8 days ago
Size: 4,515 bytes
 

Contents

Class file image Download

????????? ??????? ????????????

???? ? ?????? ?????????? ??????? ??? ?? Ascoos OS ?????? ?? ????????? ??? ???????? ???????????? ?? ????? ?????????? ????????, DSL scripting, NLP ??? ???????? ???? AI. ?? ??????? ??????? ?????????? ???????????, ????????? ?????????? ??? ????????, ?????????? DSL ?? ???????????? ??? ??? ??????? ????? ??????????? ?????????? ???????.

??????

  • ??????? ???????????? ?? NLP
  • ???????? ????????? ???????????? ?? AI
  • ????????? DSL ?? AST ??? ????????
  • ???????????? semantic scores ??? ?????????? ?????????????

?????? ??????? ??? Ascoos OS

  • TLanguageProcessingAIHandler ????????? ????????????? ??? ?????????
  • TNeuralNetworkHandler ???????, ?????????? ??? ???????? ?????????? ???????
  • AbstractDslAstBuilder ??????? DSL ??? ?????????? AST
  • AstMacroTranslator ????????? ??? ???????? ????????????
  • TChartsHandler ?????????? ?????????? semantic scores
  • TFilesHandler ?????????? JSON ???????? ??? ?????????? ???????
  • TEventHandler ????????? ????????? ????????????
  • TErrorMessageHandler ?????????? ????????? ??? ?????????

???? ???????

? ????????? ????????? ?? ??? ?????? PHP: - semantic_macro_profiler.php

???????????? ??? ?? ??????: NLP ???????, ???????? AI, ??????? DSL, ???????? ???????????? ??? ???????.

??????????????

  1. PHP ? 8.2
  2. ????????????? ?? Ascoos OS ? ?? AWES 26

??? ?????????

  1. ???????? macro script ?? DSL ?? semantic ????????.
  2. ????????? ?? ??????????? ?? NLP: - ????????? ????????????? (??????, ????????, ????????) - ??????? ??????????????? ???????
  3. ?????????? ??? ???????????? ????????? ??????: - ???????: 3 ? ?????: 4 (ReLU) - ?????: 4 ? ??????: 1 (Sigmoid)
  4. ???????????? ?????????? ?????????.
  5. ?? ? ?????????? > 0.5, ?????????? macro.
  6. ????????????? ??????? ??? ???????????? JSON ???????.

?????????? ??????

$sentiment = $nlp->naiveBayesSentiment($text); $concepts = $nlp->conceptActivationVector([...], [$text]); $ai->compile([...]); $ai->fit([...], [...], epochs: 500, lr: 0.01); $score = $ai->predictNetwork([[...]])[0]; if ($score > 0.5) { $macroContainer->executeIfTrue(); } 

??????????? ??????????

?? ? ???????? ????? ?????:

? ???????? ????????????: audit_macro 

??????:

?? ? ??????????? ???????????? ???? ??????? ????????? AI 

?????

??????????

???????? ?? ??????????? ?? ?????? ??? ????????????, ?? ???????????? ???????? semantic triggers ? ?? ?????????? ?? AI ???????. ????? ?? CONTRIBUTING.md ??? ???????.

????? ??????

???? ? ?????? ?????????? ??? ??? Ascoos General License (AGL). ????? ?? LICENSE.md.