Giter Site home page Giter Site logo

neilbingohit / dotninjas.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dotninjas/dotninjas.github.io

0.0 2.0 0.0 13.33 MB

place to store code for .ninja

Home Page: http://dotninjas.github.io

HTML 9.14% Python 67.81% Awk 0.56% Shell 17.64% Lua 3.28% Perl 1.57%

dotninjas.github.io's Introduction

Ninja tricks for Data Science

Code in any language your like. Divide your work into lots of little bits. For big bits, write seperate files. For little fiddlely bits, write some short shell scripts. And to glue it all together, write some ninja code.

The result is a live log of your actual processing, something that it is useful to you for your day to day work AND lets you package things and pass them on to someone else.

Install and Test

Note that the following instructions usually work fine from a Bash command line on a Linux or Mac box. If using Windows, two pieces of advice:

Once you've decided your platform, go to a clean new directory, on a pathname with no spaces, type...

 wget https://github.com/dotninjas/dotninjas.github.io/archive/master.zip
 unzip master.zip 
 mv dotninjas.github.io-master/* .
 cd ninja/
 sh ninja
 eg0

If that works, you should see, a report looking like the following. Which is to say that decision tree was generated from some data.

   @attribute outlook {sunny, overcast, rainy}
   @attribute temperature real
   @attribute humidity real
   @attribute windy {TRUE, FALSE}
   @attribute play {yes, no}

   overcast  64  65  TRUE   yes
   overcast  72  90  TRUE   yes
   overcast  81  75  FALSE  yes
   overcast  83  86  FALSE  yes
   rainy     65  70  TRUE   no
   rainy     68  80  FALSE  yes
   rainy     70  96  FALSE  yes
   rainy     71  91  TRUE   no
   rainy     75  80  FALSE  yes
   sunny     69  70  FALSE  yes
   sunny     72  95  FALSE  no
   sunny     75  70  TRUE   yes
   sunny     80  90  TRUE   no
   sunny     85  85  FALSE  no

   outlook = sunny
   |   humidity <= 75: yes (2.0)
   |   humidity > 75: no (3.0)
   outlook = overcast: yes (4.0)
   outlook = rainy
   |   windy = TRUE: no (2.0)
   |   windy = FALSE: yes (3.0)

dotninjas.github.io's People

Contributors

timm avatar ai4se avatar

Watchers

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.