Skip to content

Eventseg updates - #353

Merged
mihaic merged 2 commits into
brainiak:masterfrom
cbaldassano:eventseg_trans
Mar 27, 2018
Merged

Eventseg updates#353
mihaic merged 2 commits into
brainiak:masterfrom
cbaldassano:eventseg_trans

Conversation

@cbaldassano

Copy link
Copy Markdown
Collaborator

Making transition matrix more flexible, and improving utility functions and tests


P: n_events+1 by n_events+1 ndarray
HMM transition matrix

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if someone was really using these attributes, but please add a "removal" news fragment announcing their removal.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually decided to revert this change and keep these attributes publicly exposed, especially since the P matrix is now more complicated and so it could help users to debug.


event_chains: ndarray with length = n_events
Array with unique value for each separate chain of events, each linked
in the order they appear in the array

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, this is the first time the term "chain" is used. I think it would help to provide a definition.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I added more info to the top of the file

@mihaic
mihaic merged commit fe604af into brainiak:master Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants