{"action":"created","issue":{"url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/20","repository_url":"https://api.github.com/repos/ljvmiranda921/pyswarms","labels_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/20/comments","events_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/20/events","html_url":"https://github.com/ljvmiranda921/pyswarms/pull/20","id":253820634,"number":20,"title":"Add grid_search","user":{"login":"SioKCronin","id":19956669,"avatar_url":"https://avatars2.githubusercontent.com/u/19956669?v=4","gravatar_id":"","url":"https://api.github.com/users/SioKCronin","html_url":"https://github.com/SioKCronin","followers_url":"https://api.github.com/users/SioKCronin/followers","following_url":"https://api.github.com/users/SioKCronin/following{/other_user}","gists_url":"https://api.github.com/users/SioKCronin/gists{/gist_id}","starred_url":"https://api.github.com/users/SioKCronin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SioKCronin/subscriptions","organizations_url":"https://api.github.com/users/SioKCronin/orgs","repos_url":"https://api.github.com/users/SioKCronin/repos","events_url":"https://api.github.com/users/SioKCronin/events{/privacy}","received_events_url":"https://api.github.com/users/SioKCronin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-29T22:10:50Z","updated_at":"2017-08-30T04:16:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ljvmiranda921/pyswarms/pulls/20","html_url":"https://github.com/ljvmiranda921/pyswarms/pull/20","diff_url":"https://github.com/ljvmiranda921/pyswarms/pull/20.diff","patch_url":"https://github.com/ljvmiranda921/pyswarms/pull/20.patch"},"body":"Hi LJ,\r\n\r\nI put together a simple grid_search and test for the PSO parameter optimization. \r\n\r\nI'm thinking it might make sense to create a MockOptimizer() class to test the method directly, independent of the pyswarms optimizers, but wanted to get your thoughts on that before building it. \r\n\r\nAlso, I'm not sure if it's confusing that I've required `objective_func` and `iters` to be set up front when creating the GridSearch instance, but I think this might be clearer than requiring them to be passed at the time of the optimize call. Let me know if you'd prefer the latter, and I can change that. \r\n\r\nOnce we confirm this is on a good path, I can follow the same general approach to build the random_search, and then write up a Jupyter notebook showing them both in context. \r\n\r\nI look forward to hearing your thoughts!\r\n\r\nWarmly,\r\n\r\nSiobhán\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/comments/325875506","html_url":"https://github.com/ljvmiranda921/pyswarms/pull/20#issuecomment-325875506","issue_url":"https://api.github.com/repos/ljvmiranda921/pyswarms/issues/20","id":325875506,"user":{"login":"ljvmiranda921","id":12949683,"avatar_url":"https://avatars0.githubusercontent.com/u/12949683?v=4","gravatar_id":"","url":"https://api.github.com/users/ljvmiranda921","html_url":"https://github.com/ljvmiranda921","followers_url":"https://api.github.com/users/ljvmiranda921/followers","following_url":"https://api.github.com/users/ljvmiranda921/following{/other_user}","gists_url":"https://api.github.com/users/ljvmiranda921/gists{/gist_id}","starred_url":"https://api.github.com/users/ljvmiranda921/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljvmiranda921/subscriptions","organizations_url":"https://api.github.com/users/ljvmiranda921/orgs","repos_url":"https://api.github.com/users/ljvmiranda921/repos","events_url":"https://api.github.com/users/ljvmiranda921/events{/privacy}","received_events_url":"https://api.github.com/users/ljvmiranda921/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T04:16:22Z","updated_at":"2017-08-30T04:16:22Z","author_association":"OWNER","body":"Hey, thanks a lot @SioKCronin! I'll check this right away once I arrive home 👍 "}}
{"actor":{"display_login":"ljvmiranda921"}}