Giter Site home page Giter Site logo

artificial-intelligence's Introduction

artificial-intelligence

Solution of an Artificial Intelligence problem by using a genetic algorithm based on elite and randomness. Made by @artjimlop and @antleocar.

--- GOOGLE TRANSLATE

Finding the best set of rules to classify a training set. It is a difficult task. In this paper, the implementation Python calls is a genetic algorithm that returns the best set of rules obtained after applying the algorithm. To do this, the student must take the system representation and crossover operators and mutation specifically in [1] with the following considerations: Just consider databases with discrete (or discretized) values. Don't consider attributes with numerical values. A chromosome representing a set of rules. Unlike the basic model seen in class, the chromosomes of a population may have different length according to the number of rules shown. If a rule is represented by n bits (0 or 1) representing a chromosome rules shall length k * n k. To simplify the work, we will only consider learning problems where classifications have only two possible values (as in Table 1) and use the closed world hypothesis to represent the set of rules. Therefore, doing so differently [1], we will not use one bit to represent classifications.

[1] Kenneth A. De Jong, William M. Spears, and Diana F. Gordon. Using genetic algo- rithms for concept learning. Machine Learning, 13: 161 {188, 1993}

--- Español

Encontrar el mejor conjunto de reglas que clasifique un conjunto de entrenamiento es una tarea difícil. En el presente trabajo se pide la implementacióon en Python de un algoritmo genético que devuelva el mejor conjunto de reglas obtenido tras la aplicación del algoritmo. Para ello, el alumno debe tomar el sistema de representacióon y los operadores de cruce y mutacion especicados en [1] con las siguientes consideraciones: Solo consideraremos bases de datos con valores discretos (o discretizados). No consideraremos atributos con valores numericos. Un cromosoma representara un conjunto de reglas. A diferencia del modelo basico visto en clase, los cromosomas de una poblacion pueden tener longitud diferente, segun el numero de reglas representado. Si una regla se representa por n bits (0 o 1) un cromosoma que represente k reglas tendra longitud k*n. Para simplicar el trabajo, solo consideraremos problemas de aprendizaje donde la clasicacion solo tiene dos posibles valores (como en el Cuadro 1) y usaremos la hipotesis del mundo cerrado para representar el conjunto de reglas. Por tanto, a diferencia de [1], no usaremos un bit para representar la clasicacion.

[1] Kenneth A. De Jong, William M. Spears, and Diana F. Gordon. Using genetic algo- rithms for concept learning. Machine Learning, 13:161{188, 1993}

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.