{"action":"created","issue":{"url":"https://api.github.com/repos/justinsalamon/scaper/issues/36","repository_url":"https://api.github.com/repos/justinsalamon/scaper","labels_url":"https://api.github.com/repos/justinsalamon/scaper/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/justinsalamon/scaper/issues/36/comments","events_url":"https://api.github.com/repos/justinsalamon/scaper/issues/36/events","html_url":"https://github.com/justinsalamon/scaper/issues/36","id":346789107,"node_id":"MDU6SXNzdWUzNDY3ODkxMDc=","number":36,"title":"Scaper and random seeds","user":{"login":"pseeth","id":1054895,"node_id":"MDQ6VXNlcjEwNTQ4OTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1054895?v=4","gravatar_id":"","url":"https://api.github.com/users/pseeth","html_url":"https://github.com/pseeth","followers_url":"https://api.github.com/users/pseeth/followers","following_url":"https://api.github.com/users/pseeth/following{/other_user}","gists_url":"https://api.github.com/users/pseeth/gists{/gist_id}","starred_url":"https://api.github.com/users/pseeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pseeth/subscriptions","organizations_url":"https://api.github.com/users/pseeth/orgs","repos_url":"https://api.github.com/users/pseeth/repos","events_url":"https://api.github.com/users/pseeth/events{/privacy}","received_events_url":"https://api.github.com/users/pseeth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-08-01T22:13:27Z","updated_at":"2018-08-31T17:54:13Z","closed_at":null,"author_association":"NONE","body":"Currently, there doesn't appear to be a way to seed scaper with something like random.seed(0) so that it produces the same mixtures given the same random seed and set of source files. Just starting this issue to discuss what changes would need to be done to accomplish it."},"comment":{"url":"https://api.github.com/repos/justinsalamon/scaper/issues/comments/417742827","html_url":"https://github.com/justinsalamon/scaper/issues/36#issuecomment-417742827","issue_url":"https://api.github.com/repos/justinsalamon/scaper/issues/36","id":417742827,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzc0MjgyNw==","user":{"login":"bmcfee","id":1190540,"node_id":"MDQ6VXNlcjExOTA1NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1190540?v=4","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T17:54:13Z","updated_at":"2018-08-31T17:54:13Z","author_association":"NONE","body":"> Does it make sense to provide a RNG instead of just a seed in terms of flexibility? Could also be just a simple RNG function that returns a value between 0 and 1...\r\n\r\nI usually follow sklearn's example for this, where they can accept either a seed (integer) or an existing `np.random.RandomState` object.  If the former, a randomstate object is constructed from the seed.  If the latter, it is used directly.  This makes it easy to serialize, but also share state when necessary."}}
{"actor":{"display_login":"bmcfee"}}