{"action":"created","comment":{"url":"https://api.github.com/repos/bartvm/blocks/pulls/comments/26493848","id":26493848,"diff_hunk":"@@ -41,23 +41,24 @@ def add_records(self, log, record_tuples):\n \n \n class DataStreamMonitoring(SimpleExtension, MonitoringExtension):\n-    \"\"\"Monitors values of Theano variables on a data stream.\n+    \"\"\"Monitors values of Theano and non-Theano variables on a data stream.\n \n     By default monitoring is done before the first and after every epoch.\n \n     Parameters\n     ----------\n-    variables : list of :class:`~tensor.TensorVariable`\n+    variables : list of :class:`~tensor.TensorVariable` and\n+        :class:`MonitoredQuantity`\n         The variables to monitor. The variable names are used as record\n         names in the logs.\n     updates : list of tuples or :class:`~collections.OrderedDict` or None\n         :class:`~tensor.TensorSharedVariable` updates to be performed\n-        during evaluation. Be careful not to update any model parameters\n-        as this is not intended to alter your model in any meaningfull\n-        way. A typical use case of this option arises when the theano\n-        function used for evaluation contains a call to\n-        :func:`~theano.scan` which might have returned shared\n-        variable updates.\n+        during evaluation. This parameter is only for Theano variables.\n+        Be careful not to update any model parameters as this is not\n+        intended to alter your model in any meaningfull way. A typical","path":"blocks/extensions/monitoring.py","position":26,"original_position":26,"commit_id":"0ee4ce275c097d2506ac1c71ea2cccac449007e0","original_commit_id":"0ee4ce275c097d2506ac1c71ea2cccac449007e0","user":{"login":"rizar","id":654434,"avatar_url":"https://avatars.githubusercontent.com/u/654434?v=3","gravatar_id":"","url":"https://api.github.com/users/rizar","html_url":"https://github.com/rizar","followers_url":"https://api.github.com/users/rizar/followers","following_url":"https://api.github.com/users/rizar/following{/other_user}","gists_url":"https://api.github.com/users/rizar/gists{/gist_id}","starred_url":"https://api.github.com/users/rizar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizar/subscriptions","organizations_url":"https://api.github.com/users/rizar/orgs","repos_url":"https://api.github.com/users/rizar/repos","events_url":"https://api.github.com/users/rizar/events{/privacy}","received_events_url":"https://api.github.com/users/rizar/received_events","type":"User","site_admin":false},"body":"The last sentence is very nice, the others confuse more than help, I think.","created_at":"2015-03-16T15:19:54Z","updated_at":"2015-03-16T15:19:54Z","html_url":"https://github.com/bartvm/blocks/pull/435#discussion_r26493848","pull_request_url":"https://api.github.com/repos/bartvm/blocks/pulls/435","_links":{"self":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/comments/26493848"},"html":{"href":"https://github.com/bartvm/blocks/pull/435#discussion_r26493848"},"pull_request":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/bartvm/blocks/pulls/435","id":30767783,"html_url":"https://github.com/bartvm/blocks/pull/435","diff_url":"https://github.com/bartvm/blocks/pull/435.diff","patch_url":"https://github.com/bartvm/blocks/pull/435.patch","issue_url":"https://api.github.com/repos/bartvm/blocks/issues/435","number":435,"state":"open","locked":false,"title":"Non theano monitoring","user":{"login":"mohammadpz","id":3185764,"avatar_url":"https://avatars.githubusercontent.com/u/3185764?v=3","gravatar_id":"","url":"https://api.github.com/users/mohammadpz","html_url":"https://github.com/mohammadpz","followers_url":"https://api.github.com/users/mohammadpz/followers","following_url":"https://api.github.com/users/mohammadpz/following{/other_user}","gists_url":"https://api.github.com/users/mohammadpz/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammadpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammadpz/subscriptions","organizations_url":"https://api.github.com/users/mohammadpz/orgs","repos_url":"https://api.github.com/users/mohammadpz/repos","events_url":"https://api.github.com/users/mohammadpz/events{/privacy}","received_events_url":"https://api.github.com/users/mohammadpz/received_events","type":"User","site_admin":false},"body":"An example of numpy cross-entropy for non_theano_monitoring.","created_at":"2015-03-09T15:01:40Z","updated_at":"2015-03-16T15:19:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fefa652f69c8679c7afe476fd5f922ceceb2ee0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bartvm/blocks/pulls/435/commits","review_comments_url":"https://api.github.com/repos/bartvm/blocks/pulls/435/comments","review_comment_url":"https://api.github.com/repos/bartvm/blocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bartvm/blocks/issues/435/comments","statuses_url":"https://api.github.com/repos/bartvm/blocks/statuses/0ee4ce275c097d2506ac1c71ea2cccac449007e0","head":{"label":"mohammadpz:non_theano_monitoring","ref":"non_theano_monitoring","sha":"0ee4ce275c097d2506ac1c71ea2cccac449007e0","user":{"login":"mohammadpz","id":3185764,"avatar_url":"https://avatars.githubusercontent.com/u/3185764?v=3","gravatar_id":"","url":"https://api.github.com/users/mohammadpz","html_url":"https://github.com/mohammadpz","followers_url":"https://api.github.com/users/mohammadpz/followers","following_url":"https://api.github.com/users/mohammadpz/following{/other_user}","gists_url":"https://api.github.com/users/mohammadpz/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammadpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammadpz/subscriptions","organizations_url":"https://api.github.com/users/mohammadpz/orgs","repos_url":"https://api.github.com/users/mohammadpz/repos","events_url":"https://api.github.com/users/mohammadpz/events{/privacy}","received_events_url":"https://api.github.com/users/mohammadpz/received_events","type":"User","site_admin":false},"repo":{"id":31688284,"name":"blocks","full_name":"mohammadpz/blocks","owner":{"login":"mohammadpz","id":3185764,"avatar_url":"https://avatars.githubusercontent.com/u/3185764?v=3","gravatar_id":"","url":"https://api.github.com/users/mohammadpz","html_url":"https://github.com/mohammadpz","followers_url":"https://api.github.com/users/mohammadpz/followers","following_url":"https://api.github.com/users/mohammadpz/following{/other_user}","gists_url":"https://api.github.com/users/mohammadpz/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammadpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammadpz/subscriptions","organizations_url":"https://api.github.com/users/mohammadpz/orgs","repos_url":"https://api.github.com/users/mohammadpz/repos","events_url":"https://api.github.com/users/mohammadpz/events{/privacy}","received_events_url":"https://api.github.com/users/mohammadpz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mohammadpz/blocks","description":"A Theano framework for building and training neural networks","fork":true,"url":"https://api.github.com/repos/mohammadpz/blocks","forks_url":"https://api.github.com/repos/mohammadpz/blocks/forks","keys_url":"https://api.github.com/repos/mohammadpz/blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mohammadpz/blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mohammadpz/blocks/teams","hooks_url":"https://api.github.com/repos/mohammadpz/blocks/hooks","issue_events_url":"https://api.github.com/repos/mohammadpz/blocks/issues/events{/number}","events_url":"https://api.github.com/repos/mohammadpz/blocks/events","assignees_url":"https://api.github.com/repos/mohammadpz/blocks/assignees{/user}","branches_url":"https://api.github.com/repos/mohammadpz/blocks/branches{/branch}","tags_url":"https://api.github.com/repos/mohammadpz/blocks/tags","blobs_url":"https://api.github.com/repos/mohammadpz/blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mohammadpz/blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mohammadpz/blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/mohammadpz/blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mohammadpz/blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/mohammadpz/blocks/languages","stargazers_url":"https://api.github.com/repos/mohammadpz/blocks/stargazers","contributors_url":"https://api.github.com/repos/mohammadpz/blocks/contributors","subscribers_url":"https://api.github.com/repos/mohammadpz/blocks/subscribers","subscription_url":"https://api.github.com/repos/mohammadpz/blocks/subscription","commits_url":"https://api.github.com/repos/mohammadpz/blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/mohammadpz/blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/mohammadpz/blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/mohammadpz/blocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/mohammadpz/blocks/contents/{+path}","compare_url":"https://api.github.com/repos/mohammadpz/blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mohammadpz/blocks/merges","archive_url":"https://api.github.com/repos/mohammadpz/blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mohammadpz/blocks/downloads","issues_url":"https://api.github.com/repos/mohammadpz/blocks/issues{/number}","pulls_url":"https://api.github.com/repos/mohammadpz/blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/mohammadpz/blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/mohammadpz/blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mohammadpz/blocks/labels{/name}","releases_url":"https://api.github.com/repos/mohammadpz/blocks/releases{/id}","created_at":"2015-03-05T00:55:01Z","updated_at":"2015-03-10T19:44:37Z","pushed_at":"2015-03-16T14:40:40Z","git_url":"git://github.com/mohammadpz/blocks.git","ssh_url":"git@github.com:mohammadpz/blocks.git","clone_url":"https://github.com/mohammadpz/blocks.git","svn_url":"https://github.com/mohammadpz/blocks","homepage":"","size":9450,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bartvm:master","ref":"master","sha":"719cfea2bdd37dcac152df1a8bbe634fd1d6395e","user":{"login":"bartvm","id":2299595,"avatar_url":"https://avatars.githubusercontent.com/u/2299595?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvm","html_url":"https://github.com/bartvm","followers_url":"https://api.github.com/users/bartvm/followers","following_url":"https://api.github.com/users/bartvm/following{/other_user}","gists_url":"https://api.github.com/users/bartvm/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvm/subscriptions","organizations_url":"https://api.github.com/users/bartvm/orgs","repos_url":"https://api.github.com/users/bartvm/repos","events_url":"https://api.github.com/users/bartvm/events{/privacy}","received_events_url":"https://api.github.com/users/bartvm/received_events","type":"User","site_admin":false},"repo":{"id":24829371,"name":"blocks","full_name":"bartvm/blocks","owner":{"login":"bartvm","id":2299595,"avatar_url":"https://avatars.githubusercontent.com/u/2299595?v=3","gravatar_id":"","url":"https://api.github.com/users/bartvm","html_url":"https://github.com/bartvm","followers_url":"https://api.github.com/users/bartvm/followers","following_url":"https://api.github.com/users/bartvm/following{/other_user}","gists_url":"https://api.github.com/users/bartvm/gists{/gist_id}","starred_url":"https://api.github.com/users/bartvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartvm/subscriptions","organizations_url":"https://api.github.com/users/bartvm/orgs","repos_url":"https://api.github.com/users/bartvm/repos","events_url":"https://api.github.com/users/bartvm/events{/privacy}","received_events_url":"https://api.github.com/users/bartvm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bartvm/blocks","description":"A Theano framework for building and training neural networks","fork":false,"url":"https://api.github.com/repos/bartvm/blocks","forks_url":"https://api.github.com/repos/bartvm/blocks/forks","keys_url":"https://api.github.com/repos/bartvm/blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bartvm/blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bartvm/blocks/teams","hooks_url":"https://api.github.com/repos/bartvm/blocks/hooks","issue_events_url":"https://api.github.com/repos/bartvm/blocks/issues/events{/number}","events_url":"https://api.github.com/repos/bartvm/blocks/events","assignees_url":"https://api.github.com/repos/bartvm/blocks/assignees{/user}","branches_url":"https://api.github.com/repos/bartvm/blocks/branches{/branch}","tags_url":"https://api.github.com/repos/bartvm/blocks/tags","blobs_url":"https://api.github.com/repos/bartvm/blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bartvm/blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bartvm/blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/bartvm/blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bartvm/blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/bartvm/blocks/languages","stargazers_url":"https://api.github.com/repos/bartvm/blocks/stargazers","contributors_url":"https://api.github.com/repos/bartvm/blocks/contributors","subscribers_url":"https://api.github.com/repos/bartvm/blocks/subscribers","subscription_url":"https://api.github.com/repos/bartvm/blocks/subscription","commits_url":"https://api.github.com/repos/bartvm/blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/bartvm/blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/bartvm/blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/bartvm/blocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/bartvm/blocks/contents/{+path}","compare_url":"https://api.github.com/repos/bartvm/blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bartvm/blocks/merges","archive_url":"https://api.github.com/repos/bartvm/blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bartvm/blocks/downloads","issues_url":"https://api.github.com/repos/bartvm/blocks/issues{/number}","pulls_url":"https://api.github.com/repos/bartvm/blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/bartvm/blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/bartvm/blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bartvm/blocks/labels{/name}","releases_url":"https://api.github.com/repos/bartvm/blocks/releases{/id}","created_at":"2014-10-06T00:08:32Z","updated_at":"2015-03-16T05:04:17Z","pushed_at":"2015-03-16T05:04:15Z","git_url":"git://github.com/bartvm/blocks.git","ssh_url":"git@github.com:bartvm/blocks.git","clone_url":"https://github.com/bartvm/blocks.git","svn_url":"https://github.com/bartvm/blocks","homepage":"","size":19333,"stargazers_count":117,"watchers_count":117,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":42,"mirror_url":null,"open_issues_count":78,"forks":42,"open_issues":78,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/435"},"html":{"href":"https://github.com/bartvm/blocks/pull/435"},"issue":{"href":"https://api.github.com/repos/bartvm/blocks/issues/435"},"comments":{"href":"https://api.github.com/repos/bartvm/blocks/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bartvm/blocks/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/bartvm/blocks/statuses/0ee4ce275c097d2506ac1c71ea2cccac449007e0"}}}}