#!/usr/bin/env python # coding: utf-8 #
# ### Machine Learning # # 4. Artificial Neural Networks # ### [Luis Martí](http://lmarti.com) # #### [Instituto de Computação](http://www.ic.uff) # #### [Universidade Federal Fluminense](http://www.uff.br) # $\newcommand{\vec}[1]{\boldsymbol{#1}}$ # In[1]: import random, itertools import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import matplotlib.cm as cm from mpl_toolkits.mplot3d import Axes3D # In[2]: plt.rc('font', family='serif') import seaborn seaborn.set(style='whitegrid'); seaborn.set_context('talk') get_ipython().run_line_magic('matplotlib', 'inline') get_ipython().run_line_magic('config', "InlineBackend.figure_format = 'retina'") # In[3]: random.seed(a=42) # In[4]: from ipywidgets import interact, interactive, fixed import ipywidgets as widgets # In[5]: # tikzmagic extesion for figures - https://github.com/mkrphys/ipython-tikzmagic get_ipython().run_line_magic('load_ext', 'tikzmagic') # # Why to study bio-inspired methods # # * Nature is one of the best problem-solvers we know. # * Evolutionary optimization. # * Natural intelligence and artificial intelligence # * Cellular automata # * **Neural computation** # * Evolutionary computation # * Swarm intelligence # * Artificial immune systems # * Membrane computing # * Amorphous computing # ## Pigeons as art connoisseurs (Watanabe et al., 1995) # * Pigeons were put in a Skinner box, and # * presented with photos of paintings by Monet and Picasso. # * They were rewarded if they recognized correctly the painter they were presented with. #