Giter Club home page Giter Club logo

workshopscipy's Introduction

Workshop: Scientific Computing in Python

Python is one of the most popular open source languages in history. There are more than 100,000 open source packages published on the official package index PiPy alone and many more projects in general. Under the banner of SciPy, there is a mature ecosystem of python packages for doing far reaching scientific analysis in python. In this workshop we cover a good number of the core packages and show you the door for further study. This workshop is accompanied by several interactive Jupyter Notebooks which illustrate different aspects of the SciPy ecosystem.

Workshop Notebooks

  • Beginner MNIST - A TensorFlow tutorial on how to make a simple neural network for classifying MNIST digits.
  • Exercise - Deriving the Quadratic Formula with SymPy - A tutorial on using SymPy to derive the quadratic formula.
  • Exploring MNIST Manifolds - Exploring MNIST with Scikit-Learn by applying PCA and K-Means. Also has interactive components.
  • Latex Essentials- Shows you the basics of using LaTex for typesetting and mathematical notes.
  • Linear Regression - The Solution Space - Interactive components allow you to explore linear regression. Also shows how to do 3D plotting in matplotlib.
  • Linear Regression - Gradient Descent - A tutorial on how gradient descent is used to find an optimal linear regression.
  • Linear Vs. Non-Linear Functions - Shows how to plot in 2D and basic 3D. Also gives you an intuition of the difference between linear and non-linear functions.
  • Matrix as a Function & Plotting Vectors - Shows how to plot vectors with Matplotlib and shows how a matrix can be thought of as a linear transformation. Uses a lot of Matplotlib.
  • MNIST Probability Experiments 1 - Shows different experiments of computing various statistics on MNIST.
  • Neural Boolean Connectives 1 - Shows a very simple single hidden layer neural network and how it can represent the XOR function. Also shows how it can represent AND.
  • SymPy Basics - Shows you some fundamental features of SymPy.
  • The Taylor Series - Uses SymPy to explore the Taylor Series. Also makes use of Matplotlib.
  • Poke Pandas - A notebook using Pandas to analyze data about pokemon from the pokemon games.

Workshop Setup

  1. Download this Workshop’s Repo as a .zip file: http://bit.ly/2A6dTYp
  2. Unzip the workshop .zip in a place you can remember. ( Try Documents )
  3. Download Anaconda Navigator (AN) PYTHON 3.6 Version https://www.continuum.io/downloads
  4. Launch the root environment Jupyter Notebook server from the home tab.
  5. A browser should have opened up upon launching the Jupyter Notebook server. In that browser, navigate to the workshop folder you unziped.
  6. Click on setup.ipynb and follow the instructions.

workshopscipy's People

Contributors

andrewnetwork avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

workshopscipy's Issues

TypeError: unhashable type: 'numpy.ndarray

someone can help me here, I can not solve this problem.

'
digitDict = {}
for i in range(0,10):
digitDict[i] = []
for i in dataWithLabels:
digitDict[i[0]].append(i[1])
for i in range(0,10):
digitDict[i] = np.matrix(digitDict[i])
print("Digit {0} matrix shape: {1}".format(i,digitDict[i].shape))


TypeError Traceback (most recent call last)
in ()
15 # Assign a list of image vectors to each corresponding digit class index.
16 for i in dataWithLabels:
---> 17 digitDict[i[0]].append(i[1])
18
19 # Convert the lists into numpy matricies. (could be done above, but I claim ignorace)

TypeError: unhashable type: numpy.ndarray`

Thanks for the stars!

Due to the interest in the repo, I will continue refining and adding to the material. I will also produce a series of YouTube videos going over different topics. Stay tuned.

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.