evolutionary-algorithm

Getting Started with Neural Networks (ANN)?

霸气de小男生 提交于 2021-02-05 13:33:39
问题 I've been involved with a lot of C-Programming and RT-Linux, now I want to do some Artificial Neural Networking. BUT: How do I get started? I'm also very interested in Evolutionary Algorithms(Learning Algorithms) and Artificial Intelligence. Where can I start learning all of this? 回答1: If you're just trying to get familiar with AI, then I would recommend that you take the Stanford's free online courses: https://www.ai-class.com/ http://www.ml-class.org/course/auth/welcome Get a good

Getting Started with Neural Networks (ANN)?

不羁的心 提交于 2021-02-05 13:30:36
问题 I've been involved with a lot of C-Programming and RT-Linux, now I want to do some Artificial Neural Networking. BUT: How do I get started? I'm also very interested in Evolutionary Algorithms(Learning Algorithms) and Artificial Intelligence. Where can I start learning all of this? 回答1: If you're just trying to get familiar with AI, then I would recommend that you take the Stanford's free online courses: https://www.ai-class.com/ http://www.ml-class.org/course/auth/welcome Get a good

Algorithm to optimize # threads used in a calculation

笑着哭i 提交于 2020-01-02 05:42:46
问题 I'm performing an operation, lets call it CalculateSomeData. CalculateSomeData operates in successive "generations", numbered 1..x. The number of generations in the entire run is fixed by the input parameters to CalculateSomeData and is known a priori. A single generation takes anywhere from 30 minutes to 2 hours to complete. Some of that variability is due to the input parameters and that cannot be controlled. However, a portion of that variability is due to things like hardware capacities,

Roulette wheel selection algorithm [duplicate]

吃可爱长大的小学妹 提交于 2019-12-27 11:59:09
问题 This question already has answers here : Roulette Selection in Genetic Algorithms (13 answers) Closed 3 years ago . Can anyone provide some pseudo code for a roulette selection function? How would I implement this: I don't really understand how to read this math notation.I want General algorithm to this. 回答1: The other answers seem to be assuming that you are trying to implement a roulette game. I think that you are asking about roulette wheel selection in evolutionary algorithms. Here is

How can I create a list with random numbers in different ranges for deap package in python

删除回忆录丶 提交于 2019-12-24 03:25:11
问题 I am using DEAP package in Python to write a program for optimization with evolutionary algorithm specifically with Genetic. I need to create chromosomes by using list type in python. This chromosome should have five float genes (alleles) in different ranges. My main problem is to create such a chromosome. However, it would be better if I could use tools.initRepeat function of deap package for this. For the cases in which all the genes are in the same range we could use the following code:

Redesign of Haskell type classes

爱⌒轻易说出口 提交于 2019-12-23 13:16:33
问题 After getting some help, understanding the problem I had trying to compile the code, in this question (Trouble understanding GHC complaint about ambiguity) Will Ness suggested I redesign my type classes to avoid a solution I was not completely happy with. The type classes in question are these: class (Eq a, Show a) => Genome a where crossover :: (Fractional b) => b -> a -> a -> IO (a, a) mutate :: (Fractional b) => b -> a -> IO a develop :: (Phenotype b) => a -> b class (Eq a, Show a) =>

Are evolutionary algorithms and neural networks used in the same domains?

浪子不回头ぞ 提交于 2019-12-18 11:21:49
问题 I am trying to get a feel for the difference between the various classes of machine-learning algorithms. I understand that the implementations of evolutionary algorithms are quite different from the implementations of neural networks. However, they both seem to be geared at determining a correlation between inputs and outputs from a potentially noisy set of training/historical data. From a qualitative perspective, are there problem domains that are better targets for neural networks as

Machine Learning Algorithm for Predicting Order of Events?

浪尽此生 提交于 2019-12-18 09:55:16
问题 Simple machine learning question. Probably numerous ways to solve this: There is an infinite stream of 4 possible events: 'event_1', 'event_2', 'event_4', 'event_4' The events do not come in in completely random order. We will assume that there are some complex patterns to the order that most events come in, and the rest of the events are just random. We do not know the patterns ahead of time though. After each event is received, I want to predict what the next event will be based on the

Creating Movie for each Generation of Data [duplicate]

喜夏-厌秋 提交于 2019-12-14 03:34:30
问题 This question already has an answer here : How to create movies on each generation of a for loop in Matlab plot (1 answer) Closed 6 years ago . I have the following code: figure; contour(X1,X2,f); hold on plot(top(1:size(top,1)), 'rx'); EDIT figure; for i = 1: G contour(X1,X2,f); hold on plot(top(1:size(top,1)), 'rx'); end NB: G is the maximum generation. This is supposed to plot contours of sphere superimposed with selected individuals. In each iteration of the individuals, the best

My C code for a genetic algortihtm is not functioning, it dosent enter into the if condition

强颜欢笑 提交于 2019-12-13 22:55:58
问题 This is GA for a timetable problem. I'm trying to create an initial population, but it isn't working as it isn't entering the if condition. can someone point out the error? I tried inserting statements in each condition, but everything checks out. Still, I don't seem to find a solution. #include<stdio.h> #include<math.h> #include<stdlib.h> #include<ctype.h> #include<time.h> int random_number_creator(int upper, int lower) { int n; n = rand() % (upper-lower)+ lower; return n; } struct pop{ int