Skip to content

skanda-machine/ml-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to Functional Programming in Machine Learning

Prerequisites

If you're on a Mac brew install scala or follow the standard Scala install instructions.

Running the example

To run the application simply: sbt run

Repository Layout

The master or 1-basic-app branch is the start. This branch contains the basic skeleton of a Scala CLI application with the basic data intact.

Next, 2-linear-regression shows a basic Spark ML pipeline using linear regression to train a gunshot detection model.

3-sample-balancing improves on the basic linear regression application by refining the input data so its more balanced.

The 4-cross-validator branch further improves by adding a step that runs the training pipeline multiple times to find the best parameters for our linear regression estimator.

Further experimentation on the 5-model-samples branch, which adds examples of multiple alternative classifiers.

About

A basic exploration of machine learning with functional programming in Spark ML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages