Giter Site home page Giter Site logo

adrianoyuji / knn-with-genetic-algorithm-weights Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

I developed an algorithm that generate random values, after, those values are grouped and classificated through k-means algorithm, after that 8 new unclassified individuals are inserted and a weighted KNN starts, creating a random population of weights and proceeds to evaluate them through a fitness function, then it sorts the population and through tournament selection selects two parents and proceeds to breed them to create two children with a good fitness value, the algorithm then breeds 50 times to create a new, better population. It then repeats the process for 5 generations and at the end a optimal weight is selected. After generating this weight the KNN then classificates the unclassified individual.

MATLAB 91.54% M 8.46%

knn-with-genetic-algorithm-weights's Introduction

O GNU Octave é necessario para compilação e visualização dos dados.
Para efetuar o download do mesmo visite o site https://www.gnu.org/software/octave/ 
e instale o software seguindo os requisitos de sistemas operacionais

Após a instalação do GNU Octave, basta executar o arquivo 'main.m' e compila-lo
Em alguns momentos a execução pausará, basta ir para a aba 'Command Window' e 
presionar a tecla enter.

Analise as tabelas geradas e os gráficos plotados que representam os objetos
antes, e depois da classificação.

Este projeto foi realizado para a disciplina de TÓPICOS EM APRENDIZAGEM DE MÁQUINA
ministrada pelo professor Alexandre Szabo como atividade avaliativa.

Aplicação desenvolvido por Adriano Yuji Sato de Vasconcelos.

Contato: [email protected]

	

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.