{"action":"created","comment":{"url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/comments/36910865","id":36910865,"diff_hunk":"@@ -0,0 +1,29 @@\n+# ----------------------------------------------------------------------\n+# Numenta Platform for Intelligent Computing (NuPIC)\n+# Copyright (C) 2015, Numenta, Inc.  Unless you have purchased from\n+# Numenta, Inc. a separate commercial license for this software code, the\n+# following terms and conditions apply:\n+#\n+# This program is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License version 3 as\n+# published by the Free Software Foundation.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n+# See the GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program.  If not, see http://www.gnu.org/licenses.\n+#\n+# http://numenta.org/licenses/\n+# ----------------------------------------------------------------------\n+\n+from enum import Enum\n+\n+\n+\n+class EncoderEnums(Enum):","path":"fluent/encoders/encoder_types.py","position":26,"original_position":26,"commit_id":"defa76daf558fd6b684dcabc1022cc1dfc61d8af","original_commit_id":"defa76daf558fd6b684dcabc1022cc1dfc61d8af","user":{"login":"scottpurdy","id":239726,"avatar_url":"https://avatars.githubusercontent.com/u/239726?v=3","gravatar_id":"","url":"https://api.github.com/users/scottpurdy","html_url":"https://github.com/scottpurdy","followers_url":"https://api.github.com/users/scottpurdy/followers","following_url":"https://api.github.com/users/scottpurdy/following{/other_user}","gists_url":"https://api.github.com/users/scottpurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/scottpurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottpurdy/subscriptions","organizations_url":"https://api.github.com/users/scottpurdy/orgs","repos_url":"https://api.github.com/users/scottpurdy/repos","events_url":"https://api.github.com/users/scottpurdy/events{/privacy}","received_events_url":"https://api.github.com/users/scottpurdy/received_events","type":"User","site_admin":false},"body":"I think something like \"EncoderType\" would be more descriptive. It will be somewhat obvious that it is an enum based on the usage in the code (\"EncoderType.document\"). Up to you though.","created_at":"2015-08-12T20:39:40Z","updated_at":"2015-08-12T20:39:40Z","html_url":"https://github.com/numenta/nupic.fluent/pull/137#discussion_r36910865","pull_request_url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/comments/36910865"},"html":{"href":"https://github.com/numenta/nupic.fluent/pull/137#discussion_r36910865"},"pull_request":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137","id":42084214,"html_url":"https://github.com/numenta/nupic.fluent/pull/137","diff_url":"https://github.com/numenta/nupic.fluent/pull/137.diff","patch_url":"https://github.com/numenta/nupic.fluent/pull/137.patch","issue_url":"https://api.github.com/repos/numenta/nupic.fluent/issues/137","number":137,"state":"open","locked":false,"title":"bag of words classification model with Coritcal.io fingerprints","user":{"login":"BoltzmannBrain","id":8323700,"avatar_url":"https://avatars.githubusercontent.com/u/8323700?v=3","gravatar_id":"","url":"https://api.github.com/users/BoltzmannBrain","html_url":"https://github.com/BoltzmannBrain","followers_url":"https://api.github.com/users/BoltzmannBrain/followers","following_url":"https://api.github.com/users/BoltzmannBrain/following{/other_user}","gists_url":"https://api.github.com/users/BoltzmannBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltzmannBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltzmannBrain/subscriptions","organizations_url":"https://api.github.com/users/BoltzmannBrain/orgs","repos_url":"https://api.github.com/users/BoltzmannBrain/repos","events_url":"https://api.github.com/users/BoltzmannBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BoltzmannBrain/received_events","type":"User","site_admin":false},"body":"Encodes samples by using the Cortical.io term endpoint for each word, then unionize/sparsify.\r\n\r\nThis PR also includes writing a csv file of the results.","created_at":"2015-08-11T01:27:37Z","updated_at":"2015-08-12T20:39:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b9bb8a80b397cc2a7d717128b0db83f33baa6c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137/commits","review_comments_url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137/comments","review_comment_url":"https://api.github.com/repos/numenta/nupic.fluent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numenta/nupic.fluent/issues/137/comments","statuses_url":"https://api.github.com/repos/numenta/nupic.fluent/statuses/defa76daf558fd6b684dcabc1022cc1dfc61d8af","head":{"label":"BoltzmannBrain:bag_model","ref":"bag_model","sha":"defa76daf558fd6b684dcabc1022cc1dfc61d8af","user":{"login":"BoltzmannBrain","id":8323700,"avatar_url":"https://avatars.githubusercontent.com/u/8323700?v=3","gravatar_id":"","url":"https://api.github.com/users/BoltzmannBrain","html_url":"https://github.com/BoltzmannBrain","followers_url":"https://api.github.com/users/BoltzmannBrain/followers","following_url":"https://api.github.com/users/BoltzmannBrain/following{/other_user}","gists_url":"https://api.github.com/users/BoltzmannBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltzmannBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltzmannBrain/subscriptions","organizations_url":"https://api.github.com/users/BoltzmannBrain/orgs","repos_url":"https://api.github.com/users/BoltzmannBrain/repos","events_url":"https://api.github.com/users/BoltzmannBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BoltzmannBrain/received_events","type":"User","site_admin":false},"repo":{"id":34636415,"name":"nupic.fluent","full_name":"BoltzmannBrain/nupic.fluent","owner":{"login":"BoltzmannBrain","id":8323700,"avatar_url":"https://avatars.githubusercontent.com/u/8323700?v=3","gravatar_id":"","url":"https://api.github.com/users/BoltzmannBrain","html_url":"https://github.com/BoltzmannBrain","followers_url":"https://api.github.com/users/BoltzmannBrain/followers","following_url":"https://api.github.com/users/BoltzmannBrain/following{/other_user}","gists_url":"https://api.github.com/users/BoltzmannBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BoltzmannBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoltzmannBrain/subscriptions","organizations_url":"https://api.github.com/users/BoltzmannBrain/orgs","repos_url":"https://api.github.com/users/BoltzmannBrain/repos","events_url":"https://api.github.com/users/BoltzmannBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BoltzmannBrain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BoltzmannBrain/nupic.fluent","description":"A platform for building language / NLP-based applications using NuPIC and Cortical.IO.","fork":true,"url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent","forks_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/forks","keys_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/teams","hooks_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/hooks","issue_events_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/issues/events{/number}","events_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/events","assignees_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/assignees{/user}","branches_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/branches{/branch}","tags_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/tags","blobs_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/git/refs{/sha}","trees_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/statuses/{sha}","languages_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/languages","stargazers_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/stargazers","contributors_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/contributors","subscribers_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/subscribers","subscription_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/subscription","commits_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/commits{/sha}","git_commits_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/git/commits{/sha}","comments_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/comments{/number}","issue_comment_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/issues/comments{/number}","contents_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/contents/{+path}","compare_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/merges","archive_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/downloads","issues_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/issues{/number}","pulls_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/pulls{/number}","milestones_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/milestones{/number}","notifications_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/labels{/name}","releases_url":"https://api.github.com/repos/BoltzmannBrain/nupic.fluent/releases{/id}","created_at":"2015-04-26T23:35:49Z","updated_at":"2015-05-04T18:15:31Z","pushed_at":"2015-08-12T04:31:12Z","git_url":"git://github.com/BoltzmannBrain/nupic.fluent.git","ssh_url":"git@github.com:BoltzmannBrain/nupic.fluent.git","clone_url":"https://github.com/BoltzmannBrain/nupic.fluent.git","svn_url":"https://github.com/BoltzmannBrain/nupic.fluent","homepage":"","size":3690,"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":"numenta:master","ref":"master","sha":"72ba35381111ace496b23444a823f30e1633cbc9","user":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"repo":{"id":17183816,"name":"nupic.fluent","full_name":"numenta/nupic.fluent","owner":{"login":"numenta","id":1039191,"avatar_url":"https://avatars.githubusercontent.com/u/1039191?v=3","gravatar_id":"","url":"https://api.github.com/users/numenta","html_url":"https://github.com/numenta","followers_url":"https://api.github.com/users/numenta/followers","following_url":"https://api.github.com/users/numenta/following{/other_user}","gists_url":"https://api.github.com/users/numenta/gists{/gist_id}","starred_url":"https://api.github.com/users/numenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numenta/subscriptions","organizations_url":"https://api.github.com/users/numenta/orgs","repos_url":"https://api.github.com/users/numenta/repos","events_url":"https://api.github.com/users/numenta/events{/privacy}","received_events_url":"https://api.github.com/users/numenta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numenta/nupic.fluent","description":"A platform for building language / NLP-based applications using NuPIC and Cortical.io.","fork":false,"url":"https://api.github.com/repos/numenta/nupic.fluent","forks_url":"https://api.github.com/repos/numenta/nupic.fluent/forks","keys_url":"https://api.github.com/repos/numenta/nupic.fluent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numenta/nupic.fluent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numenta/nupic.fluent/teams","hooks_url":"https://api.github.com/repos/numenta/nupic.fluent/hooks","issue_events_url":"https://api.github.com/repos/numenta/nupic.fluent/issues/events{/number}","events_url":"https://api.github.com/repos/numenta/nupic.fluent/events","assignees_url":"https://api.github.com/repos/numenta/nupic.fluent/assignees{/user}","branches_url":"https://api.github.com/repos/numenta/nupic.fluent/branches{/branch}","tags_url":"https://api.github.com/repos/numenta/nupic.fluent/tags","blobs_url":"https://api.github.com/repos/numenta/nupic.fluent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numenta/nupic.fluent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numenta/nupic.fluent/git/refs{/sha}","trees_url":"https://api.github.com/repos/numenta/nupic.fluent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numenta/nupic.fluent/statuses/{sha}","languages_url":"https://api.github.com/repos/numenta/nupic.fluent/languages","stargazers_url":"https://api.github.com/repos/numenta/nupic.fluent/stargazers","contributors_url":"https://api.github.com/repos/numenta/nupic.fluent/contributors","subscribers_url":"https://api.github.com/repos/numenta/nupic.fluent/subscribers","subscription_url":"https://api.github.com/repos/numenta/nupic.fluent/subscription","commits_url":"https://api.github.com/repos/numenta/nupic.fluent/commits{/sha}","git_commits_url":"https://api.github.com/repos/numenta/nupic.fluent/git/commits{/sha}","comments_url":"https://api.github.com/repos/numenta/nupic.fluent/comments{/number}","issue_comment_url":"https://api.github.com/repos/numenta/nupic.fluent/issues/comments{/number}","contents_url":"https://api.github.com/repos/numenta/nupic.fluent/contents/{+path}","compare_url":"https://api.github.com/repos/numenta/nupic.fluent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numenta/nupic.fluent/merges","archive_url":"https://api.github.com/repos/numenta/nupic.fluent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numenta/nupic.fluent/downloads","issues_url":"https://api.github.com/repos/numenta/nupic.fluent/issues{/number}","pulls_url":"https://api.github.com/repos/numenta/nupic.fluent/pulls{/number}","milestones_url":"https://api.github.com/repos/numenta/nupic.fluent/milestones{/number}","notifications_url":"https://api.github.com/repos/numenta/nupic.fluent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numenta/nupic.fluent/labels{/name}","releases_url":"https://api.github.com/repos/numenta/nupic.fluent/releases{/id}","created_at":"2014-02-25T18:41:17Z","updated_at":"2015-08-02T02:56:24Z","pushed_at":"2015-08-12T04:31:12Z","git_url":"git://github.com/numenta/nupic.fluent.git","ssh_url":"git@github.com:numenta/nupic.fluent.git","clone_url":"https://github.com/numenta/nupic.fluent.git","svn_url":"https://github.com/numenta/nupic.fluent","homepage":"","size":6935,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":22,"forks":18,"open_issues":22,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137"},"html":{"href":"https://github.com/numenta/nupic.fluent/pull/137"},"issue":{"href":"https://api.github.com/repos/numenta/nupic.fluent/issues/137"},"comments":{"href":"https://api.github.com/repos/numenta/nupic.fluent/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numenta/nupic.fluent/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/numenta/nupic.fluent/statuses/defa76daf558fd6b684dcabc1022cc1dfc61d8af"}}}}