{"action":"created","comment":{"url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/comments/51302390","id":51302390,"diff_hunk":"@@ -307,6 +307,73 @@ def partial_transform(self, traj):\n         return d ** self.exponent\n \n \n+class FunctionFeaturizer(Featurizer):\n+    \"\"\"Featurizer based on arbitrary functions.\n+\n+    This featurizer transforms a dataset containing MD trajectories into\n+    a vector dataset by representing each frame in each of the MD trajectories\n+    by a vector the output of the function.\n+\n+    Parameters\n+    ----------\n+    function : Instantiation of the function\n+    *args : arguments to pass to the function MINUS the trajectory keyword\n+    **kwargs: key word arguments to pass to the function MINUS the trajectory\n+    keyword\n+\n+    UseCase:","path":"msmbuilder/featurizer/featurizer.py","position":null,"original_position":18,"commit_id":"87b0786ddb8a7035815cb5ee9f69265276724a5f","original_commit_id":"c5384c61c974a492c45254bf62aef4c67fd3b5b1","user":{"login":"mpharrigan","id":4967059,"avatar_url":"https://avatars.githubusercontent.com/u/4967059?v=3","gravatar_id":"","url":"https://api.github.com/users/mpharrigan","html_url":"https://github.com/mpharrigan","followers_url":"https://api.github.com/users/mpharrigan/followers","following_url":"https://api.github.com/users/mpharrigan/following{/other_user}","gists_url":"https://api.github.com/users/mpharrigan/gists{/gist_id}","starred_url":"https://api.github.com/users/mpharrigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpharrigan/subscriptions","organizations_url":"https://api.github.com/users/mpharrigan/orgs","repos_url":"https://api.github.com/users/mpharrigan/repos","events_url":"https://api.github.com/users/mpharrigan/events{/privacy}","received_events_url":"https://api.github.com/users/mpharrigan/received_events","type":"User","site_admin":false},"body":"I think there's something like \"example\". check https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt","created_at":"2016-01-29T19:15:34Z","updated_at":"2016-01-29T19:15:34Z","html_url":"https://github.com/msmbuilder/msmbuilder/pull/717#discussion_r51302390","pull_request_url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717","_links":{"self":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/comments/51302390"},"html":{"href":"https://github.com/msmbuilder/msmbuilder/pull/717#discussion_r51302390"},"pull_request":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717"}}},"pull_request":{"url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717","id":57618606,"html_url":"https://github.com/msmbuilder/msmbuilder/pull/717","diff_url":"https://github.com/msmbuilder/msmbuilder/pull/717.diff","patch_url":"https://github.com/msmbuilder/msmbuilder/pull/717.patch","issue_url":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/717","number":717,"state":"open","locked":false,"title":"Function featurizer","user":{"login":"msultan","id":3597136,"avatar_url":"https://avatars.githubusercontent.com/u/3597136?v=3","gravatar_id":"","url":"https://api.github.com/users/msultan","html_url":"https://github.com/msultan","followers_url":"https://api.github.com/users/msultan/followers","following_url":"https://api.github.com/users/msultan/following{/other_user}","gists_url":"https://api.github.com/users/msultan/gists{/gist_id}","starred_url":"https://api.github.com/users/msultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msultan/subscriptions","organizations_url":"https://api.github.com/users/msultan/orgs","repos_url":"https://api.github.com/users/msultan/repos","events_url":"https://api.github.com/users/msultan/events{/privacy}","received_events_url":"https://api.github.com/users/msultan/received_events","type":"User","site_admin":false},"body":"Featurizer capable of hopefully taking any arbitrary function and mapping it to the input set of trajectories. I wrote one test though i dont know how this is gonna get put into the command line. ","created_at":"2016-01-29T08:24:26Z","updated_at":"2016-01-29T19:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c14353b0b9a0ff4f6daeac3641a4f1f27198e40","assignee":null,"milestone":{"url":"https://api.github.com/repos/msmbuilder/msmbuilder/milestones/4","html_url":"https://github.com/msmbuilder/msmbuilder/milestones/v3.4","labels_url":"https://api.github.com/repos/msmbuilder/msmbuilder/milestones/4/labels","id":1249151,"number":4,"title":"v3.4","description":"","creator":{"login":"mpharrigan","id":4967059,"avatar_url":"https://avatars.githubusercontent.com/u/4967059?v=3","gravatar_id":"","url":"https://api.github.com/users/mpharrigan","html_url":"https://github.com/mpharrigan","followers_url":"https://api.github.com/users/mpharrigan/followers","following_url":"https://api.github.com/users/mpharrigan/following{/other_user}","gists_url":"https://api.github.com/users/mpharrigan/gists{/gist_id}","starred_url":"https://api.github.com/users/mpharrigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpharrigan/subscriptions","organizations_url":"https://api.github.com/users/mpharrigan/orgs","repos_url":"https://api.github.com/users/mpharrigan/repos","events_url":"https://api.github.com/users/mpharrigan/events{/privacy}","received_events_url":"https://api.github.com/users/mpharrigan/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":18,"state":"open","created_at":"2015-08-10T23:13:21Z","updated_at":"2016-01-29T19:13:16Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717/commits","review_comments_url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717/comments","review_comment_url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/717/comments","statuses_url":"https://api.github.com/repos/msmbuilder/msmbuilder/statuses/87b0786ddb8a7035815cb5ee9f69265276724a5f","head":{"label":"msultan:func_feat","ref":"func_feat","sha":"87b0786ddb8a7035815cb5ee9f69265276724a5f","user":{"login":"msultan","id":3597136,"avatar_url":"https://avatars.githubusercontent.com/u/3597136?v=3","gravatar_id":"","url":"https://api.github.com/users/msultan","html_url":"https://github.com/msultan","followers_url":"https://api.github.com/users/msultan/followers","following_url":"https://api.github.com/users/msultan/following{/other_user}","gists_url":"https://api.github.com/users/msultan/gists{/gist_id}","starred_url":"https://api.github.com/users/msultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msultan/subscriptions","organizations_url":"https://api.github.com/users/msultan/orgs","repos_url":"https://api.github.com/users/msultan/repos","events_url":"https://api.github.com/users/msultan/events{/privacy}","received_events_url":"https://api.github.com/users/msultan/received_events","type":"User","site_admin":false},"repo":{"id":15944004,"name":"msmbuilder","full_name":"msultan/msmbuilder","owner":{"login":"msultan","id":3597136,"avatar_url":"https://avatars.githubusercontent.com/u/3597136?v=3","gravatar_id":"","url":"https://api.github.com/users/msultan","html_url":"https://github.com/msultan","followers_url":"https://api.github.com/users/msultan/followers","following_url":"https://api.github.com/users/msultan/following{/other_user}","gists_url":"https://api.github.com/users/msultan/gists{/gist_id}","starred_url":"https://api.github.com/users/msultan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msultan/subscriptions","organizations_url":"https://api.github.com/users/msultan/orgs","repos_url":"https://api.github.com/users/msultan/repos","events_url":"https://api.github.com/users/msultan/events{/privacy}","received_events_url":"https://api.github.com/users/msultan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msultan/msmbuilder","description":"sklearn-compatible mixture and hidden Markov models","fork":true,"url":"https://api.github.com/repos/msultan/msmbuilder","forks_url":"https://api.github.com/repos/msultan/msmbuilder/forks","keys_url":"https://api.github.com/repos/msultan/msmbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msultan/msmbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msultan/msmbuilder/teams","hooks_url":"https://api.github.com/repos/msultan/msmbuilder/hooks","issue_events_url":"https://api.github.com/repos/msultan/msmbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/msultan/msmbuilder/events","assignees_url":"https://api.github.com/repos/msultan/msmbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/msultan/msmbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/msultan/msmbuilder/tags","blobs_url":"https://api.github.com/repos/msultan/msmbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msultan/msmbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msultan/msmbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/msultan/msmbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msultan/msmbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/msultan/msmbuilder/languages","stargazers_url":"https://api.github.com/repos/msultan/msmbuilder/stargazers","contributors_url":"https://api.github.com/repos/msultan/msmbuilder/contributors","subscribers_url":"https://api.github.com/repos/msultan/msmbuilder/subscribers","subscription_url":"https://api.github.com/repos/msultan/msmbuilder/subscription","commits_url":"https://api.github.com/repos/msultan/msmbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/msultan/msmbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/msultan/msmbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/msultan/msmbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/msultan/msmbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/msultan/msmbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msultan/msmbuilder/merges","archive_url":"https://api.github.com/repos/msultan/msmbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msultan/msmbuilder/downloads","issues_url":"https://api.github.com/repos/msultan/msmbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/msultan/msmbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/msultan/msmbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/msultan/msmbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msultan/msmbuilder/labels{/name}","releases_url":"https://api.github.com/repos/msultan/msmbuilder/releases{/id}","deployments_url":"https://api.github.com/repos/msultan/msmbuilder/deployments","created_at":"2014-01-15T18:29:50Z","updated_at":"2015-03-13T23:05:07Z","pushed_at":"2016-01-29T18:47:38Z","git_url":"git://github.com/msultan/msmbuilder.git","ssh_url":"git@github.com:msultan/msmbuilder.git","clone_url":"https://github.com/msultan/msmbuilder.git","svn_url":"https://github.com/msultan/msmbuilder","homepage":"","size":5264,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"msmbuilder:master","ref":"master","sha":"e06f1b890e6759dc57c29ab840693f2f0df126dc","user":{"login":"msmbuilder","id":10036752,"avatar_url":"https://avatars.githubusercontent.com/u/10036752?v=3","gravatar_id":"","url":"https://api.github.com/users/msmbuilder","html_url":"https://github.com/msmbuilder","followers_url":"https://api.github.com/users/msmbuilder/followers","following_url":"https://api.github.com/users/msmbuilder/following{/other_user}","gists_url":"https://api.github.com/users/msmbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/msmbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmbuilder/subscriptions","organizations_url":"https://api.github.com/users/msmbuilder/orgs","repos_url":"https://api.github.com/users/msmbuilder/repos","events_url":"https://api.github.com/users/msmbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/msmbuilder/received_events","type":"Organization","site_admin":false},"repo":{"id":13510362,"name":"msmbuilder","full_name":"msmbuilder/msmbuilder","owner":{"login":"msmbuilder","id":10036752,"avatar_url":"https://avatars.githubusercontent.com/u/10036752?v=3","gravatar_id":"","url":"https://api.github.com/users/msmbuilder","html_url":"https://github.com/msmbuilder","followers_url":"https://api.github.com/users/msmbuilder/followers","following_url":"https://api.github.com/users/msmbuilder/following{/other_user}","gists_url":"https://api.github.com/users/msmbuilder/gists{/gist_id}","starred_url":"https://api.github.com/users/msmbuilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmbuilder/subscriptions","organizations_url":"https://api.github.com/users/msmbuilder/orgs","repos_url":"https://api.github.com/users/msmbuilder/repos","events_url":"https://api.github.com/users/msmbuilder/events{/privacy}","received_events_url":"https://api.github.com/users/msmbuilder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/msmbuilder/msmbuilder","description":"Statistical models for biomolecular dynamics","fork":false,"url":"https://api.github.com/repos/msmbuilder/msmbuilder","forks_url":"https://api.github.com/repos/msmbuilder/msmbuilder/forks","keys_url":"https://api.github.com/repos/msmbuilder/msmbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msmbuilder/msmbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msmbuilder/msmbuilder/teams","hooks_url":"https://api.github.com/repos/msmbuilder/msmbuilder/hooks","issue_events_url":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/msmbuilder/msmbuilder/events","assignees_url":"https://api.github.com/repos/msmbuilder/msmbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/msmbuilder/msmbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/msmbuilder/msmbuilder/tags","blobs_url":"https://api.github.com/repos/msmbuilder/msmbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msmbuilder/msmbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msmbuilder/msmbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/msmbuilder/msmbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msmbuilder/msmbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/msmbuilder/msmbuilder/languages","stargazers_url":"https://api.github.com/repos/msmbuilder/msmbuilder/stargazers","contributors_url":"https://api.github.com/repos/msmbuilder/msmbuilder/contributors","subscribers_url":"https://api.github.com/repos/msmbuilder/msmbuilder/subscribers","subscription_url":"https://api.github.com/repos/msmbuilder/msmbuilder/subscription","commits_url":"https://api.github.com/repos/msmbuilder/msmbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/msmbuilder/msmbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/msmbuilder/msmbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/msmbuilder/msmbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/msmbuilder/msmbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msmbuilder/msmbuilder/merges","archive_url":"https://api.github.com/repos/msmbuilder/msmbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msmbuilder/msmbuilder/downloads","issues_url":"https://api.github.com/repos/msmbuilder/msmbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/msmbuilder/msmbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/msmbuilder/msmbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msmbuilder/msmbuilder/labels{/name}","releases_url":"https://api.github.com/repos/msmbuilder/msmbuilder/releases{/id}","deployments_url":"https://api.github.com/repos/msmbuilder/msmbuilder/deployments","created_at":"2013-10-11T21:42:18Z","updated_at":"2016-01-27T23:35:43Z","pushed_at":"2016-01-29T19:10:07Z","git_url":"git://github.com/msmbuilder/msmbuilder.git","ssh_url":"git@github.com:msmbuilder/msmbuilder.git","clone_url":"https://github.com/msmbuilder/msmbuilder.git","svn_url":"https://github.com/msmbuilder/msmbuilder","homepage":"http://msmbuilder.org","size":27729,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":54,"forks":24,"open_issues":54,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717"},"html":{"href":"https://github.com/msmbuilder/msmbuilder/pull/717"},"issue":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/717"},"comments":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/issues/717/comments"},"review_comments":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717/comments"},"review_comment":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/pulls/717/commits"},"statuses":{"href":"https://api.github.com/repos/msmbuilder/msmbuilder/statuses/87b0786ddb8a7035815cb5ee9f69265276724a5f"}}}}