VOL 187 .... No. 11

TUESDAY, SEPTEMBER 23, 2003

‘Programming’

Java Parameterised MultiMap Implementation

SATURDAY, JUNE 7, 1969 Kevin No comments

old-world-map

A MultiMap is essentially an augmented data structure for storing key-value pairs where one key can potentially be associated with any number of values.  I’ve accomplished this in the past by using a Map<Key, List<Value>> or some variation in the past, but methods of access are inconvenient and can be a source of many bugs.  Surprisingly, I’ve never gone out of my way to implement what should be a relatively simple data structure, but I finally did it for my most recent project, so I’m making it available to anyone who wants to use it. Read more…

Categories: Programming Tags: ,

Using the News!

TUESDAY, OCTOBER 11, 1966 Kevin No comments

newspaperLast time, I tried out a couple different methods to assign sentiment to news articles, and found that the best performance seemed to come from using my Temporal Interference method initialized by zeroes.  Well there’s a little more information available to us, and that’s the news article content themselves! Read more…

Perturbation Modeling, Initial Approach

WEDNESDAY, FEBRUARY 4, 2032 Kevin No comments

1235935919

Last time I introduced some test data, and before that I formalized the Perturbation Model for Price Moves a bit further.  Well this required me to rewrite the code I had written before for Sentiment analysis.  I took advantage of interval trees to make my code fairly efficient, and also changed the way I initialize the price movements, yielding minor improvements over the naive methods. Read more…

More Test Data

TUESDAY, JUNE 28, 1977 Kevin 1 comment

tumblr_kvk45k0Nam1qznckp

I got back to working on the automated news analysis algorithm again, and thought that it would be wise to generate some new test data that will have some more context to it.  I wrote a simple algorithm that I discuss here, and I generated some data sets. Read more…

Interval Tree Java Implementation

THURSDAY, DECEMBER 16, 2032 Kevin 1 comment

15_19_1---Tree--Sunrise--Northumberland_web

In a recent Java project, I found myself needing to store several intervals of time which I could access readily and efficiently.  I only needed to build the tree once, so a static data structure would work fine, but queries needed to be as efficient as possible. Read more…

Perturbation Model of Price Movement

MONDAY, AUGUST 12, 1974 Kevin 1 comment

shwayze

I was sitting in my networks class today, thinking of how it would be possible to implement an algorithm for taking into consideration the similarity of documents for teasing apart temporal interference, when I started coming to a more coherent model of what I’ve been trying to do in general.  This article will set up some early ideas for a model of what’s going on, what we’re attempting to accomplish, and possible general procedures for doing so.  It also sets up some terminology. Read more…

hide this follow me