Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning with Go Quick Start Guide

You're reading from   Machine Learning with Go Quick Start Guide Hands-on techniques for building supervised and unsupervised machine learning workflows

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838550356
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Michael Bironneau Michael Bironneau
Author Profile Icon Michael Bironneau
Michael Bironneau
Toby Coleman Toby Coleman
Author Profile Icon Toby Coleman
Toby Coleman
Arrow right icon
View More author details
Toc

Example – the most common phrases in positive and negative reviews

In our first code example, we will use the multi-domain sentiment dataset (version 2.0)[11]. This dataset contains Amazon reviews from four different product categories. We will download it, preprocess it, and load it into Gota, a data wrangling library, to find the most common phrases in positive and negative reviews that do not co-occur in both. This is a basic example that involves no ML algorithms, but will serve as a hands-on introduction to Go, gophernotes, and Gota.

You can find the full code example in the companion repository to this book at https://github.com/PacktPublishing/Machine-Learning-with-Go-Quick-Start-Guide.

Initializing the example directory and downloading the dataset

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image