Author: Christian S. Perone

Pyevolve, Python

Pyevolve profiling dot graph

I’ve created a profiling dot graph of the pyevolve_example15_rosenbrock.py with the Gprof2Dot, this Pyevolve example is the minimization of the Rosenbrock function with 20 variables.

stat

I’ve created that graph to show the call structure of Pyevolve, as you can see, the accumulation in FunctionSlot applyFunctions method is the effect of the use of FunctionSlot use in many operations like scaling,  selection, evaluation, crossover and mutation.

Article, Philosophy

Considerações sobre a filosofia da ciência de Karl Popper e Algoritmos Evolutivos

Sou um grande fã da filosofia da ciência de Karl Popper, desta maneira, resolvi escrever algo sobre o que eu acho interessante na filosofia dele, principalmente em relação à crítica racional, pra depois falar um pouco do que acho sobre isto em relação aos algoritmos evolutivos em geral.

Popper, em seu livro Em busca de um mundo melhor (o título original é “Auf der Suche nach einer besseren Welt“), cita a importância da crítica racional na ciência e combate o dogmatismo na crença da autoridade científica. Para mim, esta idéia, apensar de intrínseca no pensamento de muitos filósofos, não foi tão claramente exposta como Popper o fez, a clareza com que Popper nos apresenta a idéia sobre como a nossa ciência cresce e melhora através da crítica racional é notável e vou tentar resumir aqui o que ele tentou explicar por quase uma vida.

(more…)

News, Science

Happy Darwin day !

As Wikipedia says:

Darwin Day is a recently instituted celebration intended to commemorate the anniversary of the birth of Charles Darwin on February 12, 1809. The day is used to highlight Darwin’s contribution to science and to promote science in general.

Today is the bicentenary of Darwin’s birth and the 150th anniversary of the publication of the On the Origin of Species. So, take some time to read.

“I love fools experiments.
I am always making them.

charles-darwin-cropped-1258

Charles R. Darwin (b. 1809 – † 1882)

Python

Python: acessing near real-time MODIS images and fire data from NASA’s Aqua and Terra satellites

From Modis Rapid Response System site:

The MODIS Rapid Response System was developed to provide daily satellite images of the Earth’s landmasses in near real time. True-color, photo-like imagery and false-color imagery are available within a few hours of being collected, making the system a valuable resource (…).
The Moderate Resolution Imaging Spectroradiometer (MODIS) flies onboard NASA’s Aqua and Terra satellites as part of the NASA-centered international Earth Observing System. Both satellites orbit the Earth from pole to pole, seeing most of the globe every day. Onboard Terra, MODIS sees the Earth during the morning, while Aqua MODIS orbits the Earth in the afternoon.

One thing that a few people know is that everyone can have access to a near real-time moderate resolution images from two NASA satellites (Aqua and Terra) which orbits the earth from pole to pole every day and captures images and data like thermal anomalies from the most part of the globe.

In this post, I’ll show how to get and plot those imagery and data to a map using Python and Matplotlib + Basemap toolkit.

The Aqua and Terra orbits

The "Terra" orbit

(more…)

Article, Philosophy

Considerações sobre o determinismo e livre-arbítrio para uma futura e distante ciência

Decidi escrever este post em português para evitar mal interpretações em algumas pequenas considerações sobre o determinismo e livre-arbítrio.

Bom, como maioria deve saber, o determinismo é a doutrina/pensamento que afirma que todos acontecimentos [efeito]  (inclusive nossas atitudes, escolhas, idéias) sejam causados por acontecimentos anteriores [causa]. Ela afirma que determinado acontecimento não poderia deixar de acontecer, visto que foi impulsionado por uma causa anterior, como por exemplo, uma esfera que for jogada para cima, ela irá subir e depois cair por efeito da gravidade, a causa da subida foi a força utilizada para jogá-la no ar e a causa da queda é a gravidade. Desta forma, o determinismo vê o universo interconectado por relações de causa e efeito.

(more…)

Genetic Algorithms, Pyevolve, Python

Pyevolve: work on the distributed Genetic Algorithm support

I’m currently working on the distributed GA support for the Pyevolve framework, the approach I’m using to network communication (individuals migration) is the hightweigh and unreliable UDP protocol, due it’s performance (for lan/wan) and broadcasting compatibility.

The distributed GA will have options to create the logical migration topology for the connected nodes (islands of evolution), migration schemes, migration rates and other parameters.

Genetic Algorithms, News, Science

A beautiful example of cooperation between theory and experiment, the new Boron form

The NY Times has a nice article talking about the discovery of a new Boron form using Genetic Algorithms:

Now researchers led by Dr. Oganov have added to the actual discoveries. They have found a form of boron that is nearly as hard as diamond.

This discovery even illustrates the power of the idea of evolution, using a so-called genetic algorithm to decipher the structure of the new boron crystal.

“This work is a beautiful example of cooperation between theory and experiment,” said Aitor Bergara, a physicist at the University of the Basque Country in Spain. Dr. Bergara was not involved with the research, which was published online by the journal Nature.

Read the full article.

I'm starting a new course "Machine Learning: Foundations and Engineering" for 2024.