package uk.ac.soton.ecs.comp6237.l17;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.openimaj.content.slideshow.PictureSlide;
import org.openimaj.content.slideshow.Slide;
import org.openimaj.content.slideshow.SlideshowApplication;

import uk.ac.soton.ecs.comp6237.utils.Utils;
import uk.ac.soton.ecs.comp6237.utils.annotations.JvmArgs;
import uk.ac.soton.ecs.comp6237.utils.annotations.Lecture;

@Lecture(title = "L17: Data Mining and Machine Learning with Big Data",
		handoutsURL = "https://github.com/jonhare/COMP6237/blob/master/notes/L17-BigDataMining.pdf",
		slidesURL = "http://comp6237.ecs.soton.ac.uk/lectures/pdf/L17-BigDataMining.pdf")
@JvmArgs(vmArguments = "-Xmx1G")
public class Lecture17 {
	public static void main(String[] args) throws IOException {
		final List<Slide> slides = new ArrayList<Slide>();

		for (int i = 1; i <= 5; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		slides.add(new KMeansDemo());

		for (int i = 6; i <= 30; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		slides.add(new BatchGradientDescentDemo());

		for (int i = 31; i <= 32; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		slides.add(new StochasticGradientDescentDemo());

		for (int i = 33; i <= 34; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		slides.add(new MBSGradientDescentDemo());

		for (int i = 35; i <= 39; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		slides.add(new DownpourGradientDescentDemo());

		for (int i = 40; i <= 42; i++)
			slides.add(new PictureSlide(Lecture17.class.getResource(String.format("l2.%03d.jpg", i))));

		new SlideshowApplication(slides, 1024, 768, Utils.BACKGROUND_IMAGE);
	}
}

@@ -960,33 +960,34 @@
 ng.format(%22l
-2
+17
 .%2503d.jp
 g%22, i))));%0A%0A
@@ -966,32 +966,33 @@
 mat(%22l17.%2503d.jp
+e
 g%22, i))));%0A%0A%09%09sl
@@ -1123,33 +1123,34 @@
 ng.format(%22l
-2
+17
 .%2503d.jp
 g%22, i))));%0A%0A
@@ -1129,32 +1129,33 @@
 mat(%22l17.%2503d.jp
+e
 g%22, i))));%0A%0A%09%09sl
@@ -1301,33 +1301,34 @@
 ng.format(%22l
-2
+17
 .%2503d.jp
 g%22, i))));%0A%0A
@@ -1307,32 +1307,33 @@
 mat(%22l17.%2503d.jp
+e
 g%22, i))));%0A%0A%09%09sl
@@ -1484,33 +1484,34 @@
 ng.format(%22l
-2
+17
 .%2503d.jp
 g%22, i))));%0A%0A
@@ -1490,32 +1490,33 @@
 mat(%22l17.%2503d.jp
+e
 g%22, i))));%0A%0A%09%09sl
@@ -1660,33 +1660,34 @@
 ng.format(%22l
-2
+17
 .%2503d.jp
 g%22, i))));%0A%0A
@@ -1666,32 +1666,33 @@
 mat(%22l17.%2503d.jp
+e
 g%22, i))));%0A%0A%09%09sl
@@ -1849,17 +1849,18 @@
 t(%22l
-2
+17
 .%2503d.jp
 g%22, 
@@ -1855,16 +1855,17 @@
 .%2503d.jp
+e
 g%22, i)))

fix l17