Conversation
ahwillia
reviewed
Nov 21, 2018
Collaborator
ahwillia
left a comment
There was a problem hiding this comment.
Nice work! Does this enable us to fit to the full Maze dataset?
Small notes:
- I wonder if it makes sense to define a separate
StochasticMUclass. - What is the intended API? Something like
model = CMF(alg_name="stochastic_mu")?
Thanks again - excited to try this out!
Collaborator
Author
|
I haven't tried with the full maze dataset but from my short experiments it
can work well with some tuning of the window size parameter. I thought
about defining a separate class but I thought it might get out of hand if
we have stochastic variants of many algorithms. Right now the API is to
pass "stochastic" = True, "window_size" = N.
I can make a separate class if we think that would be better.
…On Wed, Nov 21, 2018 at 12:23 PM Alex Williams ***@***.***> wrote:
***@***.**** commented on this pull request.
Nice work! Does this enable us to fit to the full Maze dataset?
Small notes:
- I wonder if it makes sense to define a separate StochasticMU class.
- What is the intended API? Something like model =
CMF(alg_name="stochastic_mu")?
Thanks again - excited to try this out!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIrPZp7is_G3kL10bi2AWvvssCphtBrSks5uxbZCgaJpZM4Ytrkb>
.
|
Collaborator
Author
|
Also -- I just realized that the API isn't so great currently. If you pass
"stochastic" = True with an algorithm that doesn't support that option it
won't give an error or a warning.
I think I should fix that before we merge.
…On Wed, Nov 21, 2018 at 1:06 PM Benjamin Antin ***@***.***> wrote:
I haven't tried with the full maze dataset but from my short experiments
it can work well with some tuning of the window size parameter. I thought
about defining a separate class but I thought it might get out of hand if
we have stochastic variants of many algorithms. Right now the API is to
pass "stochastic" = True, "window_size" = N.
I can make a separate class if we think that would be better.
On Wed, Nov 21, 2018 at 12:23 PM Alex Williams ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
>
> Nice work! Does this enable us to fit to the full Maze dataset?
>
> Small notes:
>
> - I wonder if it makes sense to define a separate StochasticMU class.
> - What is the intended API? Something like model =
> CMF(alg_name="stochastic_mu")?
>
> Thanks again - excited to try this out!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#23 (review)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AIrPZp7is_G3kL10bi2AWvvssCphtBrSks5uxbZCgaJpZM4Ytrkb>
> .
>
|
Collaborator
|
see some suggestions in #24 |
Proposed changes to stochastic mult update algorithm. Creates a separate StochasticMultUpdate class.
The cache_resids function now only updates the section of the residuals matrix which corresponds to current window of the data matrix.
Collaborator
Author
|
@ahwillia Updated the cache_resids function as you suggested. Thoughts? |
Collaborator
|
Before merging, can you add a small notebook testing this out on the Maze dataset? |
Collaborator
Author
|
Will do!
…On Thu, Nov 22, 2018 at 11:43 AM Alex Williams ***@***.***> wrote:
Before merging, can you add a small notebook testing this out on the Maze
dataset?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIrPZjutw-sdIYimxeb-Oph-YFXPvy2Tks5uxv5lgaJpZM4Ytrkb>
.
|
Owner
|
Merge issues (just in |
Collaborator
Author
|
@ahwillia Just added a simple notebook that shows fitting a matrix with 20k timebins in 8.5 mins. Admittedly, the fit isn't great, but if you think it's good enough to show the stochastic functionality, we can probably merge this to master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.