Code Monkey home page Code Monkey logo

machine-learning-with-go's Introduction

Machine Learning With Go

This is the code repository for Machine Learning With Go, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

The mission of this book is to turn readers into productive, innovative data analysts who leverage Go to build robust and valuable applications. To this end, the book clearly introduces the technical aspects of building predictive models in Go, but it also helps the reader understand how machine learning workflows are being applied in real-world scenarios.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

// Create a new matrix a.
a := mat.NewDense(3, 3, []float64{1, 2, 3, 0, 4, 5, 0, 0, 6})
// Compute and output the transpose of the matrix.
ft := mat.Formatted(a.T(), mat.Prefix(" "))
fmt.Printf("a^T = %v\n\n", ft)
// Compute and output the determinant of a.
deta := mat.Det(a)
fmt.Printf("det(a) = %.2f\n\n", deta)
// Compute and output the inverse of a.
aInverse := mat.NewDense(0, 0, nil)
if err := aInverse.Inverse(a); err != nil {
log.Fatal(err)
}
fi := mat.Formatted(aInverse, mat.Prefix(" "))
fmt.Printf("a^-1 = %v\n\n", fi)

To run the examples in this book and experiment with the techniques covered in the book, you will generally need the following: Access to a bash-like shell. A complete Go environment including Go, an editor, and related default or custom environment variables defined. You can, for example, follow this guide at https://www.goinggo.net/2016/05/installing-go-and-your-workspace.htm l. Various Go dependencies. These can be obtained as they are needed via go get .... Then, to run the examples related to some of the advanced topics, such as data pipelining and deep learning, you will need a few additional things: An installation or deployment of Pachyderm. You can follow these docs to get Pachyderm up and running locally or in the cloud, http://pachyderm.readthedocs.io/en/latest/. A working Docker installation (https://www.docker.com/community-edition#/download). An installation of TensorFlow. To install TensorFlow locally, you can follow this guide at https://www.tensorflow.org/install/.

Related Products

Suggestions and Feedback

Click here if you have any feedback or suggestions.

machine-learning-with-go's People

Watchers

 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.