Elian  Harber

Elian Harber

1620629520

Golang for Machine Learning?

Is Golang the future for building a Machine Learning pipeline? Let’s try building one.

Go or Golang was designed at Google in 2007 and is syntactically similar to C, but with memory safety, garbage collection, and structural typing. In addition to its blazingly fast performance, Go, unlike Python, allows for easy concurrency just like in C++ or Java. Concurrency allows multiple programs or algorithms (including those of ML) to be executed asynchronously without affecting the final outcome.

Photo by  Fotis Fotopoulos on Unsplash

With this in mind, I plan to compare the pros and cons of using Golang to build a simple ML pipeline. I will simultaneously use Python as a reference point. Also, I will provide my personal opinion on the language in general and to evaluate whether Go has a future within the AI/ML community. So, let’s dive right into it.

Note: Before we proceed, this post will not cover how to install and setup Go in your machine. If you have not already done so, please follow these comprehensive instructions.

Table of Content:

  1. Setup
  2. DataFrame
  3. Data Manipulation
  4. Machine Learning in Go

#python #data-science #golang #go

Golang for Machine Learning?