Skip to content

Instantly share code, notes, and snippets.

View glennismade's full-sized avatar

Glenn glennismade

View GitHub Profile
@glennismade
glennismade / GameThread.java
Created February 2, 2018 12:20
Simple Android Based Infinite runner style racing game
package uk.ac.reading.sis05kol.mooc;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorManager;
@glennismade
glennismade / Paper on application of NN to stock market prediction.txt
Created February 2, 2018 12:12
Basic MLP Neural Net with Sigmoidal activation
Neural Networks for Stock Market Prediction
Glenn Healy
BCs Computer Science
ABSTRACT
A Neural Network is used for data mining and analysis. It it an intelligent computer program that can detect patterns and changes in a data-set. For the purpose of stock market prediction, it uses Time Series prediction methods to analyze the patterns and changes in the data overtime. The type of neural network used in this paper is a back propagation multi-layer perceptron (MLP) network. This paper shall detail the process of collating data and applying it to the network to see if the network is capable of predicting the stock price. The network gave varying results but always hovered around a Mean Sum of Squared Errors of around 0.08…. thus showing potential.
1. INTRODUCTION
@glennismade
glennismade / BuiltInType.java
Created February 2, 2018 12:04
Basic Java Compiler with Simplified Syntax
package glenn.compiler.gh;
/**
* represents a type of veriable
*/
public enum BuiltInType implements Type {
STRING, INTEGER, VOID, FLOAT
}
chronos@localhost / $ sudo sh ~/Downloads/crouton -n trusty -u
Downloading latest crouton installer...
######################################################################## 100.0%
/usr/local/chroots/trusty already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-x11 into the chroot...
chronos@localhost / $ sudo sh ~/Downloads/crouton -n trusty -u
Downloading latest crouton installer...
######################################################################## 100.0%
/usr/local/chroots/trusty already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-x11 into the chroot...
'
' Created by SharpDevelop.
' User: Glenn
' Date: 26/10/2013
' Time: 19:41
'
' To change this template use Tools | Options | Coding | Edit Standard Headers.
'
Public Partial Class MainForm
Public Sub New()