Coder Social home page Coder Social logo

derrickhampton / mlbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasebell/mlbook

0.0 1.0 0.0 664 KB

Example code for the Wiley book "Machine Learning - Hands On for Developers and Technical Professionals"

R 2.11% Java 81.12% Scala 16.77%

mlbook's Introduction

Machine Learning - Hands On For Developers and Technical Professionals

All the code covered in the book is here. There's also a directory with the test data used.
 
Java
=====
Within the src directory are the chapters as package names. Within each package name is the code for that chapter. The Apache Spark examples from Chapter 11 are run via the Spark program; please refer to Chapter 11.

I've supplied a Maven pom file which will pull down the required jar files to build.

Where possible I've not used path names to data files. Change as required then recompile.

Scala
=====
The Scala examples are covered in Chapter 11. The sbt build files are there for each project.To run them within Apache Spark, look at the run information in Chapter 11.

R
=====
The R examples are quite simple. You need to install the libraries 
required (these are outlined in the book in Chapter 12). Then load them 
into R using the source() function.

For example:
 >source('sentiment.r')

And it will run the script. For the Twitter OAuth example you need to 
edit the file with your Twitter app credentials. See Chapter 9 on how 
to do this.

mlbook's People

Contributors

jasebell 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.