Skip to content

ce_rate_loss pop code fix#378

Open
DoubleGio wants to merge 1 commit intojeshraghian:masterfrom
DoubleGio:fix/ce-rate-loss
Open

ce_rate_loss pop code fix#378
DoubleGio wants to merge 1 commit intojeshraghian:masterfrom
DoubleGio:fix/ce-rate-loss

Conversation

@DoubleGio
Copy link
Copy Markdown

The current implementation of population coding in ce_rate_loss just doesn't work (and is programmed quite confusingly).
I implemented population coding by adapting LossFunctions._population_code(): taking the average (as opposed to sum) response of the population, without summing over all time steps.

I've tested it inside the tutorial_pop.ipynb notebook. I replaced mse_count_loss with the updated ce_rate_loss and it appropriately produced better results:
image

image

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.

1 participant