{"action":"created","issue":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/112","labels_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/112/comments","events_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/112/events","html_url":"https://github.com/pgmpy/pgmpy/issues/112","id":34149347,"number":112,"title":"Add is_imap method to BayesianModel and JointProbabilityDistribution classes","user":{"login":"ankurankan","id":1461453,"avatar_url":"https://avatars.githubusercontent.com/u/1461453?v=3","gravatar_id":"","url":"https://api.github.com/users/ankurankan","html_url":"https://github.com/ankurankan","followers_url":"https://api.github.com/users/ankurankan/followers","following_url":"https://api.github.com/users/ankurankan/following{/other_user}","gists_url":"https://api.github.com/users/ankurankan/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurankan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurankan/subscriptions","organizations_url":"https://api.github.com/users/ankurankan/orgs","repos_url":"https://api.github.com/users/ankurankan/repos","events_url":"https://api.github.com/users/ankurankan/events{/privacy}","received_events_url":"https://api.github.com/users/ankurankan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgmpy/pgmpy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ankurankan","id":1461453,"avatar_url":"https://avatars.githubusercontent.com/u/1461453?v=3","gravatar_id":"","url":"https://api.github.com/users/ankurankan","html_url":"https://github.com/ankurankan","followers_url":"https://api.github.com/users/ankurankan/followers","following_url":"https://api.github.com/users/ankurankan/following{/other_user}","gists_url":"https://api.github.com/users/ankurankan/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurankan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurankan/subscriptions","organizations_url":"https://api.github.com/users/ankurankan/orgs","repos_url":"https://api.github.com/users/ankurankan/repos","events_url":"https://api.github.com/users/ankurankan/events{/privacy}","received_events_url":"https://api.github.com/users/ankurankan/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2014-05-23T06:42:31Z","updated_at":"2016-01-11T07:00:52Z","closed_at":null,"body":"Add these methods:\r\n1. `BayesianModel.is_imap(JointProbabilityDistribution)`\r\n2. `JointProbabilityDistribution.is_imap(BayesianModel)`"},"comment":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/comments/170450253","html_url":"https://github.com/pgmpy/pgmpy/issues/112#issuecomment-170450253","issue_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/112","id":170450253,"user":{"login":"khalibartan","id":8940456,"avatar_url":"https://avatars.githubusercontent.com/u/8940456?v=3","gravatar_id":"","url":"https://api.github.com/users/khalibartan","html_url":"https://github.com/khalibartan","followers_url":"https://api.github.com/users/khalibartan/followers","following_url":"https://api.github.com/users/khalibartan/following{/other_user}","gists_url":"https://api.github.com/users/khalibartan/gists{/gist_id}","starred_url":"https://api.github.com/users/khalibartan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalibartan/subscriptions","organizations_url":"https://api.github.com/users/khalibartan/orgs","repos_url":"https://api.github.com/users/khalibartan/repos","events_url":"https://api.github.com/users/khalibartan/events{/privacy}","received_events_url":"https://api.github.com/users/khalibartan/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T07:00:52Z","updated_at":"2016-01-11T07:00:52Z","body":"Basically we just need to check for the product of factors and work accordingly."}}