CatDan Dev

Doc-occurrence-weighted Activation

Posted in dev by gwyant on March 5, 2010

Doc-occurence-weighted activation is working, after some pretty massive restructuring of the database. Now the table I’m using has only four-tuples, [ id | idea | sep | activation ], and each cell in the previous setup (the 2D array) is now held by one row in this new structure. The most efficient way to add in by-row activation I’ve found is to insert a temporary table and join it with the idea/entry rows, multiplying across by number of occurrences (the weight), then summing down within the group (the group being an SEP entry).

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.