Skip to content

Instantly share code, notes, and snippets.

View Hygo's full-sized avatar
🎯
Focusing

Hygo De Oliveira Hygo

🎯
Focusing
  • FITec
  • Boa Vista - RR
  • 12:49 (UTC -04:00)
View GitHub Profile
@craffel
craffel / draw_neural_net.py
Created January 10, 2015 04:59
Draw a neural network diagram with matplotlib!
import matplotlib.pyplot as plt
def draw_neural_net(ax, left, right, bottom, top, layer_sizes):
'''
Draw a neural network cartoon using matplotilb.
:usage:
>>> fig = plt.figure(figsize=(12, 12))
>>> draw_neural_net(fig.gca(), .1, .9, .1, .9, [4, 7, 2])
@sankitch
sankitch / Calendar.py
Created March 22, 2014 05:20
PyQt Calendar Sample.
# -*- coding: utf-8 -*-
"""
ZetCode PyQt4 tutorial
This example shows a QtGui.QCalendarWidget widget.
author: Jan Bodnar
website: zetcode.com
last edited: September 2011