GithubHelp home page GithubHelp logo

yodebu / peripheral_brain Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13.83 MB

A collection of tutorials and posts on data science, quantitiatve research, and scientific programming.

Home Page: http://chrisalbon.com

HTML 99.70% Shell 0.01% CSS 0.18% JavaScript 0.10% Python 0.02%

peripheral_brain's Introduction

Data Science Peripheral Brain

There is a concept in the field of medical education that I have always loved: the peripheral brain. Like many fields, the amount of medical information — from studies to surgical techniques — a medical student or doctor has to know is massive. The most important information becomes part of our long-term memory, but what about the rest? It goes in a peripheral brain: a repository of all the knowledge that is important, but not important enough to keep in your head.

Like medicine, data science has a staggering amount of information — from linear regression to SQL to causal logic. It is frankly why some of us love this field: there is always something new to learn. Taking a lesson from medicine, ChrisAlbon.com is my peripheral brain on data science and quantitative political science.

Specifically, it is a colleciton of iPython Notebooks covering everything from web scraping in Python to basic mathematics to statistics. This website is static, each ipynb file is "wrapped" in an html template for styling.

The workflow for adding posts is as follows:

  1. Write a post in an iPython Notebook.
  2. Export the ipynb file to basic html.
  3. Paste the header and footer in template.partial above and below the notebook's contents (and change the title), respectively.
  4. Add the html file and ipynb file to the appropriate folder.
  5. Edit index.html to add a link to the html file.

Repo Structure:

  • index.html - The site's homepage.
  • readme.md - This file.

assets/

This is a folder to place the assets used to create the site that might be useful later.

  • assets/clean-templates/ipython_nb_css_raw.css - The original css file used to style ipython notebooks. This is kept around just in case as reference.

  • cassets/clean-templates/main-template-bare-bones.html - The bare bones html5 template with incredible notes.

  • assets/clean-templates/main-template-no-comments.html - The bare bones html5 template with no notes.

  • html/nb_to_html_all.command - A script for converting all .pynb files in the current directory into their basic template.

  • html/nb_to_html_single.command - A script for converting a single .pynb file into its basic template.

  • template.partial - A partial file containing the header and footer used to wrap the ipython notebooks.

css/

  • css/normalize_legacy.css - A css file to normalize between browsers.
  • css/normalize.css - A css file to normalize between browsers.
  • css/notebooks.css - A css file for styling the notebooks get are pasted in.
  • css/styles.css - A css file to style the site.

python | regex | rstats etc

A folder containing the ipython notebooks and html files.

js/

Javascript a file to fix ie9 problems.

Credits

peripheral_brain's People

Contributors

chrisalbon avatar yodebu avatar

Watchers

 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.