Coder Social home page Coder Social logo

scikit-learn-tutorial's Introduction

scikit-learn tutorial

All notebook material: https://github.com/lesteve/scikit-learn-tutorial/

Follow the tutorial online

  • Launch an online notebook environment using Binder

  • Browse the static content online (pre-rendered outputs) using nbviewer

You need an internet connection but you will not have to install any package locally.

Running the tutorial locally

Dependencies

The tutorials will require the following packages:

  • python>=3.6
  • jupyter
  • scikit-learn
  • pandas
  • pandas-profiling
  • matplotlib
  • seaborn

Local install

We provide both requirements.txt and environment.yml to install packages.

You can install the packages using pip:

$ pip install -r requirements.txt

You can create an scikit-learn-tutorial conda environment executing:

$ conda env create -f environment.yml

and later activate the environment:

$ conda activate scikit-learn-tutorial

You might also only update your current environment using:

$ conda env update --prefix ./env --file environment.yml  --prune

Contributing

To synchronize the notebooks and the Python scripts (based on filestamps, only input cells content is modified in the notebooks):

$ make notebooks

To render all the notebooks (from time to time, slow to run):

$ make

This repo uses Jupytext. In some cases you may need to use a jupytext command directly rather than using the provided Makefile. Here are a few useful jupytext commands:

  • pair a notebook with a Python script:
$ jupytext --set-formats python_scripts//py:percent,notebooks//ipynb notebooks/your_notebook.ipynb
  • sync a paired Python script and notebook:
$ jupytext --sync notebooks/your_notebook.ipynb
  • create an empty notebook from a Python script:
$ jupytext --to ../notebooks//ipynb python_scripts/your_python_script.py

Direct binder links to GKE and OVH to trigger and cache builds

scikit-learn-tutorial's People

Contributors

amueller avatar rasbt avatar glemaitre avatar ogrisel avatar kastnerkyle avatar lesteve avatar agramfort avatar mppaskov avatar rhiever avatar hackmd-deploy avatar nelson-liu avatar scw avatar jrleeman avatar lmcinnes avatar stavxyz avatar miaodx avatar

Watchers

James Cloos 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.