Skip to content

Instantly share code, notes, and snippets.

@vchilkuri
vchilkuri / airline-spark.txt
Last active December 20, 2017 02:22
Evaluating the flight delay of a particular year using data from various influencing sources of previous year and perform Decision tree, Logistic regression and Linear SVM for modelling.
import org.apache.spark.rdd._
import scala.collection.JavaConverters._
import au.com.bytecode.opencsv.CSVReader
import java.io._
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import java.util.Calendar;
import java.util.Date;