{"id":20246558,"url":"https://github.com/fabiosmuu/rna","last_synced_at":"2025-04-10T21:14:04.698Z","repository":{"id":42457891,"uuid":"393456598","full_name":"FabioSmuu/RNA","owner":"FabioSmuu","description":"Este repositório tem como intuito, demonstrar um modulo de redes neurais que venho desenvolvendo.","archived":false,"fork":false,"pushed_at":"2024-09-05T05:04:19.000Z","size":82,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T21:14:00.000Z","etag":null,"topics":["algorithms","data-science","ia","inteligencia-artificial","redes-neurais-artificiais","rna"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FabioSmuu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-06T17:46:59.000Z","updated_at":"2024-09-05T05:04:22.000Z","dependencies_parsed_at":"2023-01-29T17:45:18.806Z","dependency_job_id":null,"html_url":"https://github.com/FabioSmuu/RNA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioSmuu%2FRNA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioSmuu%2FRNA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioSmuu%2FRNA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabioSmuu%2FRNA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FabioSmuu","download_url":"https://codeload.github.com/FabioSmuu/RNA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298312,"owners_count":21080320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","data-science","ia","inteligencia-artificial","redes-neurais-artificiais","rna"],"created_at":"2024-11-14T09:30:16.211Z","updated_at":"2025-04-10T21:14:04.682Z","avatar_url":"https://github.com/FabioSmuu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repositório de um Modulo RNA(Rede neural artificial) com algorítimo genético.\n\n**NOTA**: Vou tirar um tempo para refatorar e deixar este repositório bonito ainda (apenas o ignore)\n\n\u003e Este modulo se trata de uma \"forma prática\" de criar uma RNA de forma simples e rápida usando javascript puro.\n\u003e Ainda não possui uma estrutura ou conversão de dataset usados em frameworks famoso, mas pretendo desenvolver.\n\n\u003e Evitei class apenas por ser uma syntax sugar da qual não vejo necessidade de uso.\n\nEste modulo foi desenvolvido para um [teste de AM(Aprendizado de máquina) na game engine Construct](https://www.facebook.com/watch/?v=889808384919613).\n\nAqueles que preferirem, agora este modulo possui uma [index_classVersion](/RNA/index_classVersion.js).\n\n#### Funções para a criação da Rede:\n- [RNA.entradas(\\\u003carray de entradas\u003e)](/RNA/index.js#L45) ~ Cria um objeto representando um neurônio.\n- [RNA.neuronios(\\\u003carray de entradas\u003e, \\\u003cquantia\\\u003e)](/RNA/index.js#L79) ~ Cria uma camada de neurônios de mesma entrada.\n- [RNA.setPesos(\\\u003carray de neuronios\u003e, \\\u003carray de pesos\u003e)](/RNA/index.js#L84) ~ Rescreve os pesos da cama especifica.\n- [RNA.saidas(\\\u003carray de neuronios\u003e, \\\u003ccallback ou função de ativação\u003e, \\\u003cquantia\\\u003e)](/RNA/index.js#L80) ~ Retorna uma quantia de saídas de acordo com os neurônios de entradas.\n- [RNA.genConcat(\\\u003cspreed de neuronios\u003e)](/RNA/index.js#L87) ~ Concatena os pesos para gerar o genoma.\n- [RNA.splitGen(\\\u003caray de gens\\\u003e, \\\u003cquantia de neuronio\\\u003e, \\\u003cquantia de entradas\\\u003e)](/RNA/index.js#L93) ~ Separa os gens do genoma conforme as informações dadas.\n\n\n#### Funções para a manipulação de genoma:\n- [RNA.crossover(\\\u003carray de pesos\u003e, \\\u003carray de pesos\u003e, \\\u003cindice de deslocamento\\\u003e)](/RNA/index.js#L74) ~ Junta dois genomas resultando em genomas semelhantes.\n- [RNA.mutar(\\\u003carray de pesos\u003e, \\\u003cquantia de mutação\\\u003e)](/RNA/index.js#L65) ~ Altera uma quantia desejada de pesos em um genoma.\n- [RNA.Softmax(\\\u003carray de pesos\u003e)](/RNA/index.js#L40) ~ Faz o tratamento do genoma para \"treinar a rede\".\n\n\n#### Objeto neuronio:\n- [Vies](/RNA/index.js#L49) ~ Valor equivalente a bias.\n- [Pesos](/RNA/index.js#L53) ~ \\\u003carray de pesos\u003e.\n- [Saida](/RNA/index.js#L57) ~ \\\u003ccallback referente a função de ativação\u003e.\n\n---\n\nFunções de ativação concluidas:\n\u003e Neste projeto só possui funções de ativação sem suas derivaras.\n- [RNA.fn.ArcTan](/RNA/index.js#L2)\n- [RNA.fn.BentIdentity](/RNA/index.js#L3)\n- [RNA.fn.BinaryStep](/RNA/index.js#L4)\n- [RNA.fn.Gaussian](/RNA/index.js#L5)\n- [RNA.fn.Identity](/RNA/index.js#L6)\n- [RNA.fn.LeakyReLU](/RNA/index.js#L7)\n- [RNA.fn.ReLU](/RNA/index.js#L8)\n- [RNA.fn.SELU](/RNA/index.js#L9)\n- [RNA.fn.Sigmoid](/RNA/index.js#L10)\n- [RNA.fn.SigmoidRcional](/RNA/index.js#L11)\n- [RNA.fn.SiLU](/RNA/index.js#L12)\n- [RNA.fn.Sinc](/RNA/index.js#L13)\n- [RNA.fn.Sinusoid](/RNA/index.js#L14)\n- [RNA.fn.SoftSign](/RNA/index.js#L15)\n- [RNA.fn.SoftPlus](/RNA/index.js#L16)\n- [RNA.fn.TanH](/RNA/index.js#L17)\n- [RNA.fn.PReLU](/RNA/index.js#L18)\n- [RNA.fn.ELU](/RNA/index.js#L19)\n- [RNA.fn.Pipe](/RNA/index.js#L20)\n\n---\n### Exemplos práticos:\n- [Exemplo 1](/exemplo-1.js) ~ Rede sem o uso de agrupamentos internos.\n- [Exemplo 2](/exemplo-2.js) ~ Demonstração das funções de agrupamento.\n\n\n##### Obrigado pela atenção!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiosmuu%2Frna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiosmuu%2Frna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiosmuu%2Frna/lists"}