{"action":"created","comment":{"url":"https://api.github.com/repos/pints-team/pints/pulls/comments/309171184","pull_request_review_id":268949598,"id":309171184,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwOTE3MTE4NA==","diff_hunk":"@@ -0,0 +1,74 @@\n+#\r\n+# Logistic toy model.\r\n+#\r\n+# This file is part of PINTS.\r\n+#  Copyright (c) 2017-2019, University of Oxford.\r\n+#  For licensing information, see the LICENSE file distributed with the PINTS\r\n+#  software package.\r\n+#\r\n+from __future__ import absolute_import, division\r\n+from __future__ import print_function, unicode_literals\r\n+import numpy as np\r\n+import pints\r\n+\r\n+from . import ToyModel\r\n+\r\n+\r\n+class StochasticDecayModel(pints.ForwardModelS1, ToyModel):\r","path":"pints/toy/_stochastic_decay_model.py","position":17,"original_position":17,"commit_id":"12ed51fcaade7247a95ab81f8354735d5c53359f","original_commit_id":"12ed51fcaade7247a95ab81f8354735d5c53359f","user":{"login":"chonlei","id":26725646,"node_id":"MDQ6VXNlcjI2NzI1NjQ2","avatar_url":"https://avatars3.githubusercontent.com/u/26725646?v=4","gravatar_id":"","url":"https://api.github.com/users/chonlei","html_url":"https://github.com/chonlei","followers_url":"https://api.github.com/users/chonlei/followers","following_url":"https://api.github.com/users/chonlei/following{/other_user}","gists_url":"https://api.github.com/users/chonlei/gists{/gist_id}","starred_url":"https://api.github.com/users/chonlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chonlei/subscriptions","organizations_url":"https://api.github.com/users/chonlei/orgs","repos_url":"https://api.github.com/users/chonlei/repos","events_url":"https://api.github.com/users/chonlei/events{/privacy}","received_events_url":"https://api.github.com/users/chonlei/received_events","type":"User","site_admin":false},"body":"@danielfridman98 Actually, can you change it to `pints.ForwardModel` here instead.","created_at":"2019-07-31T11:35:52Z","updated_at":"2019-07-31T11:35:53Z","html_url":"https://github.com/pints-team/pints/pull/884#discussion_r309171184","pull_request_url":"https://api.github.com/repos/pints-team/pints/pulls/884","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pints-team/pints/pulls/comments/309171184"},"html":{"href":"https://github.com/pints-team/pints/pull/884#discussion_r309171184"},"pull_request":{"href":"https://api.github.com/repos/pints-team/pints/pulls/884"}}},"pull_request":{"url":"https://api.github.com/repos/pints-team/pints/pulls/884","id":302168470,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAyMTY4NDcw","html_url":"https://github.com/pints-team/pints/pull/884","diff_url":"https://github.com/pints-team/pints/pull/884.diff","patch_url":"https://github.com/pints-team/pints/pull/884.patch","issue_url":"https://api.github.com/repos/pints-team/pints/issues/884","number":884,"state":"open","locked":false,"title":"stochastic degradation toy model","user":{"login":"danielfridman98","id":34761927,"node_id":"MDQ6VXNlcjM0NzYxOTI3","avatar_url":"https://avatars3.githubusercontent.com/u/34761927?v=4","gravatar_id":"","url":"https://api.github.com/users/danielfridman98","html_url":"https://github.com/danielfridman98","followers_url":"https://api.github.com/users/danielfridman98/followers","following_url":"https://api.github.com/users/danielfridman98/following{/other_user}","gists_url":"https://api.github.com/users/danielfridman98/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfridman98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfridman98/subscriptions","organizations_url":"https://api.github.com/users/danielfridman98/orgs","repos_url":"https://api.github.com/users/danielfridman98/repos","events_url":"https://api.github.com/users/danielfridman98/events{/privacy}","received_events_url":"https://api.github.com/users/danielfridman98/received_events","type":"User","site_admin":false},"body":"I've coded up the stochastic degradation toy model (Radek Erban et al., 2007) which will be a useful toy model for ABC. I've uploaded the Jupyter notebook file into examples under the name toy-model-stochastic-degradation (Erban et al., 2007)","created_at":"2019-07-29T17:40:05Z","updated_at":"2019-07-31T11:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8823e0d46afc84a47cc59d1536a44f0dd69fa84","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pints-team/pints/pulls/884/commits","review_comments_url":"https://api.github.com/repos/pints-team/pints/pulls/884/comments","review_comment_url":"https://api.github.com/repos/pints-team/pints/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pints-team/pints/issues/884/comments","statuses_url":"https://api.github.com/repos/pints-team/pints/statuses/12ed51fcaade7247a95ab81f8354735d5c53359f","head":{"label":"pints-team:toy_models-daniel","ref":"toy_models-daniel","sha":"12ed51fcaade7247a95ab81f8354735d5c53359f","user":{"login":"pints-team","id":33895956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1OTU2","avatar_url":"https://avatars2.githubusercontent.com/u/33895956?v=4","gravatar_id":"","url":"https://api.github.com/users/pints-team","html_url":"https://github.com/pints-team","followers_url":"https://api.github.com/users/pints-team/followers","following_url":"https://api.github.com/users/pints-team/following{/other_user}","gists_url":"https://api.github.com/users/pints-team/gists{/gist_id}","starred_url":"https://api.github.com/users/pints-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pints-team/subscriptions","organizations_url":"https://api.github.com/users/pints-team/orgs","repos_url":"https://api.github.com/users/pints-team/repos","events_url":"https://api.github.com/users/pints-team/events{/privacy}","received_events_url":"https://api.github.com/users/pints-team/received_events","type":"Organization","site_admin":false},"repo":{"id":91454079,"node_id":"MDEwOlJlcG9zaXRvcnk5MTQ1NDA3OQ==","name":"pints","full_name":"pints-team/pints","private":false,"owner":{"login":"pints-team","id":33895956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1OTU2","avatar_url":"https://avatars2.githubusercontent.com/u/33895956?v=4","gravatar_id":"","url":"https://api.github.com/users/pints-team","html_url":"https://github.com/pints-team","followers_url":"https://api.github.com/users/pints-team/followers","following_url":"https://api.github.com/users/pints-team/following{/other_user}","gists_url":"https://api.github.com/users/pints-team/gists{/gist_id}","starred_url":"https://api.github.com/users/pints-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pints-team/subscriptions","organizations_url":"https://api.github.com/users/pints-team/orgs","repos_url":"https://api.github.com/users/pints-team/repos","events_url":"https://api.github.com/users/pints-team/events{/privacy}","received_events_url":"https://api.github.com/users/pints-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pints-team/pints","description":"Probabilistic Inference on Noisy Time Series","fork":false,"url":"https://api.github.com/repos/pints-team/pints","forks_url":"https://api.github.com/repos/pints-team/pints/forks","keys_url":"https://api.github.com/repos/pints-team/pints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pints-team/pints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pints-team/pints/teams","hooks_url":"https://api.github.com/repos/pints-team/pints/hooks","issue_events_url":"https://api.github.com/repos/pints-team/pints/issues/events{/number}","events_url":"https://api.github.com/repos/pints-team/pints/events","assignees_url":"https://api.github.com/repos/pints-team/pints/assignees{/user}","branches_url":"https://api.github.com/repos/pints-team/pints/branches{/branch}","tags_url":"https://api.github.com/repos/pints-team/pints/tags","blobs_url":"https://api.github.com/repos/pints-team/pints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pints-team/pints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pints-team/pints/git/refs{/sha}","trees_url":"https://api.github.com/repos/pints-team/pints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pints-team/pints/statuses/{sha}","languages_url":"https://api.github.com/repos/pints-team/pints/languages","stargazers_url":"https://api.github.com/repos/pints-team/pints/stargazers","contributors_url":"https://api.github.com/repos/pints-team/pints/contributors","subscribers_url":"https://api.github.com/repos/pints-team/pints/subscribers","subscription_url":"https://api.github.com/repos/pints-team/pints/subscription","commits_url":"https://api.github.com/repos/pints-team/pints/commits{/sha}","git_commits_url":"https://api.github.com/repos/pints-team/pints/git/commits{/sha}","comments_url":"https://api.github.com/repos/pints-team/pints/comments{/number}","issue_comment_url":"https://api.github.com/repos/pints-team/pints/issues/comments{/number}","contents_url":"https://api.github.com/repos/pints-team/pints/contents/{+path}","compare_url":"https://api.github.com/repos/pints-team/pints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pints-team/pints/merges","archive_url":"https://api.github.com/repos/pints-team/pints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pints-team/pints/downloads","issues_url":"https://api.github.com/repos/pints-team/pints/issues{/number}","pulls_url":"https://api.github.com/repos/pints-team/pints/pulls{/number}","milestones_url":"https://api.github.com/repos/pints-team/pints/milestones{/number}","notifications_url":"https://api.github.com/repos/pints-team/pints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pints-team/pints/labels{/name}","releases_url":"https://api.github.com/repos/pints-team/pints/releases{/id}","deployments_url":"https://api.github.com/repos/pints-team/pints/deployments","created_at":"2017-05-16T12:10:07Z","updated_at":"2019-07-29T18:48:32Z","pushed_at":"2019-07-30T17:27:12Z","git_url":"git://github.com/pints-team/pints.git","ssh_url":"git@github.com:pints-team/pints.git","clone_url":"https://github.com/pints-team/pints.git","svn_url":"https://github.com/pints-team/pints","homepage":"http://pints.readthedocs.io","size":78125,"stargazers_count":58,"watchers_count":58,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":249,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6,"open_issues":249,"watchers":58,"default_branch":"master"}},"base":{"label":"pints-team:master","ref":"master","sha":"f0fa8beffd2b966d00fda2ed6b02252a93f4804b","user":{"login":"pints-team","id":33895956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1OTU2","avatar_url":"https://avatars2.githubusercontent.com/u/33895956?v=4","gravatar_id":"","url":"https://api.github.com/users/pints-team","html_url":"https://github.com/pints-team","followers_url":"https://api.github.com/users/pints-team/followers","following_url":"https://api.github.com/users/pints-team/following{/other_user}","gists_url":"https://api.github.com/users/pints-team/gists{/gist_id}","starred_url":"https://api.github.com/users/pints-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pints-team/subscriptions","organizations_url":"https://api.github.com/users/pints-team/orgs","repos_url":"https://api.github.com/users/pints-team/repos","events_url":"https://api.github.com/users/pints-team/events{/privacy}","received_events_url":"https://api.github.com/users/pints-team/received_events","type":"Organization","site_admin":false},"repo":{"id":91454079,"node_id":"MDEwOlJlcG9zaXRvcnk5MTQ1NDA3OQ==","name":"pints","full_name":"pints-team/pints","private":false,"owner":{"login":"pints-team","id":33895956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1OTU2","avatar_url":"https://avatars2.githubusercontent.com/u/33895956?v=4","gravatar_id":"","url":"https://api.github.com/users/pints-team","html_url":"https://github.com/pints-team","followers_url":"https://api.github.com/users/pints-team/followers","following_url":"https://api.github.com/users/pints-team/following{/other_user}","gists_url":"https://api.github.com/users/pints-team/gists{/gist_id}","starred_url":"https://api.github.com/users/pints-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pints-team/subscriptions","organizations_url":"https://api.github.com/users/pints-team/orgs","repos_url":"https://api.github.com/users/pints-team/repos","events_url":"https://api.github.com/users/pints-team/events{/privacy}","received_events_url":"https://api.github.com/users/pints-team/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pints-team/pints","description":"Probabilistic Inference on Noisy Time Series","fork":false,"url":"https://api.github.com/repos/pints-team/pints","forks_url":"https://api.github.com/repos/pints-team/pints/forks","keys_url":"https://api.github.com/repos/pints-team/pints/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pints-team/pints/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pints-team/pints/teams","hooks_url":"https://api.github.com/repos/pints-team/pints/hooks","issue_events_url":"https://api.github.com/repos/pints-team/pints/issues/events{/number}","events_url":"https://api.github.com/repos/pints-team/pints/events","assignees_url":"https://api.github.com/repos/pints-team/pints/assignees{/user}","branches_url":"https://api.github.com/repos/pints-team/pints/branches{/branch}","tags_url":"https://api.github.com/repos/pints-team/pints/tags","blobs_url":"https://api.github.com/repos/pints-team/pints/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pints-team/pints/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pints-team/pints/git/refs{/sha}","trees_url":"https://api.github.com/repos/pints-team/pints/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pints-team/pints/statuses/{sha}","languages_url":"https://api.github.com/repos/pints-team/pints/languages","stargazers_url":"https://api.github.com/repos/pints-team/pints/stargazers","contributors_url":"https://api.github.com/repos/pints-team/pints/contributors","subscribers_url":"https://api.github.com/repos/pints-team/pints/subscribers","subscription_url":"https://api.github.com/repos/pints-team/pints/subscription","commits_url":"https://api.github.com/repos/pints-team/pints/commits{/sha}","git_commits_url":"https://api.github.com/repos/pints-team/pints/git/commits{/sha}","comments_url":"https://api.github.com/repos/pints-team/pints/comments{/number}","issue_comment_url":"https://api.github.com/repos/pints-team/pints/issues/comments{/number}","contents_url":"https://api.github.com/repos/pints-team/pints/contents/{+path}","compare_url":"https://api.github.com/repos/pints-team/pints/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pints-team/pints/merges","archive_url":"https://api.github.com/repos/pints-team/pints/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pints-team/pints/downloads","issues_url":"https://api.github.com/repos/pints-team/pints/issues{/number}","pulls_url":"https://api.github.com/repos/pints-team/pints/pulls{/number}","milestones_url":"https://api.github.com/repos/pints-team/pints/milestones{/number}","notifications_url":"https://api.github.com/repos/pints-team/pints/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pints-team/pints/labels{/name}","releases_url":"https://api.github.com/repos/pints-team/pints/releases{/id}","deployments_url":"https://api.github.com/repos/pints-team/pints/deployments","created_at":"2017-05-16T12:10:07Z","updated_at":"2019-07-29T18:48:32Z","pushed_at":"2019-07-30T17:27:12Z","git_url":"git://github.com/pints-team/pints.git","ssh_url":"git@github.com:pints-team/pints.git","clone_url":"https://github.com/pints-team/pints.git","svn_url":"https://github.com/pints-team/pints","homepage":"http://pints.readthedocs.io","size":78125,"stargazers_count":58,"watchers_count":58,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":249,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":6,"open_issues":249,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pints-team/pints/pulls/884"},"html":{"href":"https://github.com/pints-team/pints/pull/884"},"issue":{"href":"https://api.github.com/repos/pints-team/pints/issues/884"},"comments":{"href":"https://api.github.com/repos/pints-team/pints/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/pints-team/pints/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/pints-team/pints/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pints-team/pints/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/pints-team/pints/statuses/12ed51fcaade7247a95ab81f8354735d5c53359f"}},"author_association":"NONE"}}
{"actor":{"display_login":"chonlei"}}