Archive for the 'Technical' Category

… and logistic regression

Monday, March 7th, 2016

A follow-up on the collaborative filter, it occurs to me that it should be possible to add a logistic regression layer in Keras.  The following is a regularized multinomial logistic regression model: from keras.models import Sequential from keras.layers.core import Dense, Activation from keras.regularizers import l2 model = Sequential() model.add(Dense(numClasses, input_shape=(numFeatures, ), \ init=’zero’, W_regularizer=l2(0.01))) model.add(Activation(‘softmax’)) […]

Collaborative filtering in Keras

Monday, March 7th, 2016

Ten years ago, Netflix started the Netflix challenge.  A contest to see if the community could come up with a movie recommendation approach that beat their own by 10%.  One of the primary modeling techniques that came out of the contest was a set of sparse matrix factoring models whose earliest description can be found […]

The Sounds of Science

Wednesday, June 16th, 2010

Last Friday, hsarik pointed out an interesting web site: Echo Nest.  They provide a web service that allows you to analyze and remix music.  The API also can provide information (meta-data) about music, artists, songs etc.  and has Python bindings.  If you’ve seen the “More Cowbell” website where you can upload an mp3 and have […]

Model update (updated!, updated again)

Monday, March 22nd, 2010

Earlier, I posted my current model for predicting the NCAA tournament.  Since the whole thing is probabilistic, I figured that I would test it out against the current NCAA standings.  I considered four models: The one that I described A random selection of which team would win (50/50 chance) Always picking the top seeded team […]

They laughed at my theories!

Monday, March 22nd, 2010

They laughed at my theories.  They threw tomatoes when I presented my paper at the academy!  Tomatoes I tell you!  My minions cower in terror, shrinking in fright from the very ideas contained herein!  But I will show them!  I will PROVE IT TO THEM ONCE AND FOR ALL.  The FOOLS, I WILL DESTROY THEM!! […]

“Hacking” predator drones

Friday, December 18th, 2009

This just makes me sad.  Two articles, one in the WSJ, the other on CNN, describing how insurgents in Iraq are hacking predator drones and receiving the video feeds that the drones are sending back to U.S. ground stations.   First things first, let’s fix the headlines.  Both are running something like “Iraqi insurgents hacked Predator […]

Trash heap of programming history

Sunday, November 29th, 2009

When we put in the massive wall-eating bookcase, I thought that we had enough book space for the next 10,000 years! Or at least the next 10. Unfortunately, things were filling up a bit too fast, so I grabbed some of the books that I know I’ll never use again and will send them to […]

Great moments in . . .

Wednesday, November 11th, 2009

Minor notes, none worth their own post.watch Kong: Skull Island 2017 movie online now Traffic management: I get a call from K around 5:30. She’s stuck behind an accident and the cops on the scene, a) don’t tell people to take a detour until they’ve been there for a half hour; and b) once the […]

Watch Full Movie Streaming And Download Jim Gaffigan: Cinco (2017) subtitle english

Thursday, November 5th, 2009

Jim Gaffigan: Cinco (2017) HD Director : Jeannie Gaffigan. Writer : Jeannie Gaffigan, Jim Gaffigan. Release : January 10, 2017 Country : United States of America. Production Company : Comedy Dynamics. Language : English. Runtime : 73 min. Genre : Comedy. Movie ‘Jim Gaffigan: Cinco’ was released in January 10, 2017 in genre Comedy. Jeannie […]

Toy!

Tuesday, November 3rd, 2009

For a guy who uses computers as much as I do, you would think that I would have better machines at home.  But really, no.  Our last desktop was eight years old before we replaced it.  My laptop was an old Thinkpad X31 – maybe six or seven years old.  So, for a combination birthday/Christmas […]