{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7","id":51578380,"html_url":"https://github.com/collinhundley/Swift-AI/pull/7","diff_url":"https://github.com/collinhundley/Swift-AI/pull/7.diff","patch_url":"https://github.com/collinhundley/Swift-AI/pull/7.patch","issue_url":"https://api.github.com/repos/collinhundley/Swift-AI/issues/7","number":7,"state":"open","locked":false,"title":"Makes the FFNN generic so that it's easier to use non-Float inputs (e.g. CGPoint values or domain model objects)","user":{"login":"vittoriom","id":2075915,"avatar_url":"https://avatars.githubusercontent.com/u/2075915?v=3","gravatar_id":"","url":"https://api.github.com/users/vittoriom","html_url":"https://github.com/vittoriom","followers_url":"https://api.github.com/users/vittoriom/followers","following_url":"https://api.github.com/users/vittoriom/following{/other_user}","gists_url":"https://api.github.com/users/vittoriom/gists{/gist_id}","starred_url":"https://api.github.com/users/vittoriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vittoriom/subscriptions","organizations_url":"https://api.github.com/users/vittoriom/orgs","repos_url":"https://api.github.com/users/vittoriom/repos","events_url":"https://api.github.com/users/vittoriom/events{/privacy}","received_events_url":"https://api.github.com/users/vittoriom/received_events","type":"User","site_admin":false},"body":"Not sure it makes sense for you (if it doesn't, feel free to decline the PR).\r\nI just thought it could be easier to not force the user to deal with Floats but to provide a way to convert its input value into a Float value.","created_at":"2015-11-23T20:52:13Z","updated_at":"2015-11-23T20:52:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7/commits","review_comments_url":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7/comments","review_comment_url":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collinhundley/Swift-AI/issues/7/comments","statuses_url":"https://api.github.com/repos/collinhundley/Swift-AI/statuses/ef2c8fa2294b04951db354e8044c62c2731f6652","head":{"label":"vittoriom:genericFFNN","ref":"genericFFNN","sha":"ef2c8fa2294b04951db354e8044c62c2731f6652","user":{"login":"vittoriom","id":2075915,"avatar_url":"https://avatars.githubusercontent.com/u/2075915?v=3","gravatar_id":"","url":"https://api.github.com/users/vittoriom","html_url":"https://github.com/vittoriom","followers_url":"https://api.github.com/users/vittoriom/followers","following_url":"https://api.github.com/users/vittoriom/following{/other_user}","gists_url":"https://api.github.com/users/vittoriom/gists{/gist_id}","starred_url":"https://api.github.com/users/vittoriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vittoriom/subscriptions","organizations_url":"https://api.github.com/users/vittoriom/orgs","repos_url":"https://api.github.com/users/vittoriom/repos","events_url":"https://api.github.com/users/vittoriom/events{/privacy}","received_events_url":"https://api.github.com/users/vittoriom/received_events","type":"User","site_admin":false},"repo":{"id":46746034,"name":"Swift-AI","full_name":"vittoriom/Swift-AI","owner":{"login":"vittoriom","id":2075915,"avatar_url":"https://avatars.githubusercontent.com/u/2075915?v=3","gravatar_id":"","url":"https://api.github.com/users/vittoriom","html_url":"https://github.com/vittoriom","followers_url":"https://api.github.com/users/vittoriom/followers","following_url":"https://api.github.com/users/vittoriom/following{/other_user}","gists_url":"https://api.github.com/users/vittoriom/gists{/gist_id}","starred_url":"https://api.github.com/users/vittoriom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vittoriom/subscriptions","organizations_url":"https://api.github.com/users/vittoriom/orgs","repos_url":"https://api.github.com/users/vittoriom/repos","events_url":"https://api.github.com/users/vittoriom/events{/privacy}","received_events_url":"https://api.github.com/users/vittoriom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vittoriom/Swift-AI","description":"Highly optimized Artificial Intelligence and Machine Learning library written in Swift.","fork":true,"url":"https://api.github.com/repos/vittoriom/Swift-AI","forks_url":"https://api.github.com/repos/vittoriom/Swift-AI/forks","keys_url":"https://api.github.com/repos/vittoriom/Swift-AI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vittoriom/Swift-AI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vittoriom/Swift-AI/teams","hooks_url":"https://api.github.com/repos/vittoriom/Swift-AI/hooks","issue_events_url":"https://api.github.com/repos/vittoriom/Swift-AI/issues/events{/number}","events_url":"https://api.github.com/repos/vittoriom/Swift-AI/events","assignees_url":"https://api.github.com/repos/vittoriom/Swift-AI/assignees{/user}","branches_url":"https://api.github.com/repos/vittoriom/Swift-AI/branches{/branch}","tags_url":"https://api.github.com/repos/vittoriom/Swift-AI/tags","blobs_url":"https://api.github.com/repos/vittoriom/Swift-AI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vittoriom/Swift-AI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vittoriom/Swift-AI/git/refs{/sha}","trees_url":"https://api.github.com/repos/vittoriom/Swift-AI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vittoriom/Swift-AI/statuses/{sha}","languages_url":"https://api.github.com/repos/vittoriom/Swift-AI/languages","stargazers_url":"https://api.github.com/repos/vittoriom/Swift-AI/stargazers","contributors_url":"https://api.github.com/repos/vittoriom/Swift-AI/contributors","subscribers_url":"https://api.github.com/repos/vittoriom/Swift-AI/subscribers","subscription_url":"https://api.github.com/repos/vittoriom/Swift-AI/subscription","commits_url":"https://api.github.com/repos/vittoriom/Swift-AI/commits{/sha}","git_commits_url":"https://api.github.com/repos/vittoriom/Swift-AI/git/commits{/sha}","comments_url":"https://api.github.com/repos/vittoriom/Swift-AI/comments{/number}","issue_comment_url":"https://api.github.com/repos/vittoriom/Swift-AI/issues/comments{/number}","contents_url":"https://api.github.com/repos/vittoriom/Swift-AI/contents/{+path}","compare_url":"https://api.github.com/repos/vittoriom/Swift-AI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vittoriom/Swift-AI/merges","archive_url":"https://api.github.com/repos/vittoriom/Swift-AI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vittoriom/Swift-AI/downloads","issues_url":"https://api.github.com/repos/vittoriom/Swift-AI/issues{/number}","pulls_url":"https://api.github.com/repos/vittoriom/Swift-AI/pulls{/number}","milestones_url":"https://api.github.com/repos/vittoriom/Swift-AI/milestones{/number}","notifications_url":"https://api.github.com/repos/vittoriom/Swift-AI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vittoriom/Swift-AI/labels{/name}","releases_url":"https://api.github.com/repos/vittoriom/Swift-AI/releases{/id}","created_at":"2015-11-23T20:26:44Z","updated_at":"2015-11-23T20:26:45Z","pushed_at":"2015-11-23T20:51:07Z","git_url":"git://github.com/vittoriom/Swift-AI.git","ssh_url":"git@github.com:vittoriom/Swift-AI.git","clone_url":"https://github.com/vittoriom/Swift-AI.git","svn_url":"https://github.com/vittoriom/Swift-AI","homepage":"","size":75,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"collinhundley:master","ref":"master","sha":"ffd51713ab7c9db4db6b8189823d86a918951356","user":{"login":"collinhundley","id":9559558,"avatar_url":"https://avatars.githubusercontent.com/u/9559558?v=3","gravatar_id":"","url":"https://api.github.com/users/collinhundley","html_url":"https://github.com/collinhundley","followers_url":"https://api.github.com/users/collinhundley/followers","following_url":"https://api.github.com/users/collinhundley/following{/other_user}","gists_url":"https://api.github.com/users/collinhundley/gists{/gist_id}","starred_url":"https://api.github.com/users/collinhundley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collinhundley/subscriptions","organizations_url":"https://api.github.com/users/collinhundley/orgs","repos_url":"https://api.github.com/users/collinhundley/repos","events_url":"https://api.github.com/users/collinhundley/events{/privacy}","received_events_url":"https://api.github.com/users/collinhundley/received_events","type":"User","site_admin":false},"repo":{"id":46527265,"name":"Swift-AI","full_name":"collinhundley/Swift-AI","owner":{"login":"collinhundley","id":9559558,"avatar_url":"https://avatars.githubusercontent.com/u/9559558?v=3","gravatar_id":"","url":"https://api.github.com/users/collinhundley","html_url":"https://github.com/collinhundley","followers_url":"https://api.github.com/users/collinhundley/followers","following_url":"https://api.github.com/users/collinhundley/following{/other_user}","gists_url":"https://api.github.com/users/collinhundley/gists{/gist_id}","starred_url":"https://api.github.com/users/collinhundley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collinhundley/subscriptions","organizations_url":"https://api.github.com/users/collinhundley/orgs","repos_url":"https://api.github.com/users/collinhundley/repos","events_url":"https://api.github.com/users/collinhundley/events{/privacy}","received_events_url":"https://api.github.com/users/collinhundley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/collinhundley/Swift-AI","description":"Highly optimized Artificial Intelligence and Machine Learning library written in Swift.","fork":false,"url":"https://api.github.com/repos/collinhundley/Swift-AI","forks_url":"https://api.github.com/repos/collinhundley/Swift-AI/forks","keys_url":"https://api.github.com/repos/collinhundley/Swift-AI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collinhundley/Swift-AI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collinhundley/Swift-AI/teams","hooks_url":"https://api.github.com/repos/collinhundley/Swift-AI/hooks","issue_events_url":"https://api.github.com/repos/collinhundley/Swift-AI/issues/events{/number}","events_url":"https://api.github.com/repos/collinhundley/Swift-AI/events","assignees_url":"https://api.github.com/repos/collinhundley/Swift-AI/assignees{/user}","branches_url":"https://api.github.com/repos/collinhundley/Swift-AI/branches{/branch}","tags_url":"https://api.github.com/repos/collinhundley/Swift-AI/tags","blobs_url":"https://api.github.com/repos/collinhundley/Swift-AI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collinhundley/Swift-AI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collinhundley/Swift-AI/git/refs{/sha}","trees_url":"https://api.github.com/repos/collinhundley/Swift-AI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collinhundley/Swift-AI/statuses/{sha}","languages_url":"https://api.github.com/repos/collinhundley/Swift-AI/languages","stargazers_url":"https://api.github.com/repos/collinhundley/Swift-AI/stargazers","contributors_url":"https://api.github.com/repos/collinhundley/Swift-AI/contributors","subscribers_url":"https://api.github.com/repos/collinhundley/Swift-AI/subscribers","subscription_url":"https://api.github.com/repos/collinhundley/Swift-AI/subscription","commits_url":"https://api.github.com/repos/collinhundley/Swift-AI/commits{/sha}","git_commits_url":"https://api.github.com/repos/collinhundley/Swift-AI/git/commits{/sha}","comments_url":"https://api.github.com/repos/collinhundley/Swift-AI/comments{/number}","issue_comment_url":"https://api.github.com/repos/collinhundley/Swift-AI/issues/comments{/number}","contents_url":"https://api.github.com/repos/collinhundley/Swift-AI/contents/{+path}","compare_url":"https://api.github.com/repos/collinhundley/Swift-AI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collinhundley/Swift-AI/merges","archive_url":"https://api.github.com/repos/collinhundley/Swift-AI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collinhundley/Swift-AI/downloads","issues_url":"https://api.github.com/repos/collinhundley/Swift-AI/issues{/number}","pulls_url":"https://api.github.com/repos/collinhundley/Swift-AI/pulls{/number}","milestones_url":"https://api.github.com/repos/collinhundley/Swift-AI/milestones{/number}","notifications_url":"https://api.github.com/repos/collinhundley/Swift-AI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collinhundley/Swift-AI/labels{/name}","releases_url":"https://api.github.com/repos/collinhundley/Swift-AI/releases{/id}","created_at":"2015-11-19T23:43:18Z","updated_at":"2015-11-23T20:51:05Z","pushed_at":"2015-11-23T20:39:41Z","git_url":"git://github.com/collinhundley/Swift-AI.git","ssh_url":"git@github.com:collinhundley/Swift-AI.git","clone_url":"https://github.com/collinhundley/Swift-AI.git","svn_url":"https://github.com/collinhundley/Swift-AI","homepage":"","size":75,"stargazers_count":315,"watchers_count":315,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":315,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7"},"html":{"href":"https://github.com/collinhundley/Swift-AI/pull/7"},"issue":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/issues/7"},"comments":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/collinhundley/Swift-AI/statuses/ef2c8fa2294b04951db354e8044c62c2731f6652"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":11,"changed_files":4}}