Giter VIP home page Giter VIP logo

ml_workshop's Introduction

SCRAPY WORKSHOP SETUP

You need ipython and scrapy, python mysql bindings mysqldb and mysql server mysql or mariadb (to run a mysql server and write some data into a database table from within our scraper).

Should be rather easy to install those systemwide or with pip,

pip install ipython Scrapy MySQL-python

To install mysql-server on ubuntu for example,

sudo apt-get install mysql-server

SKLEARN WORKSHOP SETUP

If you have scikit-learn, matplotlib and ipython installed you can just run ipython notebook --pylab. Otherwise there are 3 different ways of installing the tools below.

  • If you're on Windows or Mac OSX I recommend setting up a VM.
  • If you're running a Linux distro with package manager I recommend either install the depencies system wide via the package manager or setting up a virtual python environment and installing the tools via pip.

Set Up a VM

  • install Virtualbox from https://www.virtualbox.org/wiki/Downloads
  • download a ubuntu virtualbox image from http://virtualboxes.org/images/ubuntu/, 12.04 or newer recommended
  • add the appliance to virtualbox, click Machine -> Add, then navigate to the *.vbox file
  • once added, fire up the vm, log in with username/password provided on virtualboxes.org
  • in a terminal, run sudo apt-get update
  • followed by sudo apt-get install ipython python-matplotlib python-sklearn

Debian / Ubuntu

Run

sudo apt-get install ipython python-matplotlib python-sklearn

In a virtual environment

If inside a virtual environment run

pip install numpy scipy matplotlib ipython scikit-learn

you may need to install some additional system level dependencies if this command fails.

Start the ipython notebook server

Run ipython notebook --pylab from within this repository and open a new notebook.

ml_workshop's People

Contributors

sveitser avatar dhl avatar

Watchers

 avatar James Cloos avatar  avatar

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.