Book Image

F# for Machine Learning Essentials

By : Sudipta Mukherjee
Book Image

F# for Machine Learning Essentials

By: Sudipta Mukherjee

Overview of this book

The F# functional programming language enables developers to write simple code to solve complex problems. With F#, developers create consistent and predictable programs that are easier to test and reuse, simpler to parallelize, and are less prone to bugs. If you want to learn how to use F# to build machine learning systems, then this is the book you want. Starting with an introduction to the several categories on machine learning, you will quickly learn to implement time-tested, supervised learning algorithms. You will gradually move on to solving problems on predicting housing pricing using Regression Analysis. You will then learn to use Accord.NET to implement SVM techniques and clustering. You will also learn to build a recommender system for your e-commerce site from scratch. Finally, you will dive into advanced topics such as implementing neural network algorithms while performing sentiment analysis on your data.
Table of Contents (16 chapters)
F# for Machine Learning Essentials
About the Author
About the Reviewers

Identifying praise or criticism with sentiment orientation

The evaluative character of a word is called its semantic orientation. Positive semantic orientation indicates praise (for example, honest, intrepid) and negative semantic orientation indicates criticism (for example, disturbing, superfluous). Semantic orientation varies in both direction (positive or negative) and degree (mild to strong). An automated system for measuring semantic orientation will have its application in text classification, text filtering, tracking opinions in online discussions, analysis of survey responses, and automated chat systems (chatbots).

Semantic Orientation (SO) is used to determine whether a particular phrase is praising or criticizing someone or something. Turney and Littman proposed an algorithm for determining that using SO.

If the SO of the phrase is positive then the phrase is thought to have a positive sentiment; in other words, the phrase is said to be praising. Otherwise, if the SO value of the...