Skip to content

Instantly share code, notes, and snippets.

{
"name": "Company",
"type": "company",
"risk": [{
"t": 102038201,
"v": 29
},
{
"t": 102038301,
"v": 35
@dareid
dareid / output.txt
Last active November 19, 2016 20:47
optunity bug
{'a': '2', '': 'abb', 'abb': '4', 'aba': 0.744091796875}
{'a': '2', '': 'aba', 'abb': '3', 'aba': 0.994041796875}
{'a': '1', 'aba': None, 'abb': None, '2': None}
{'a': '2', '': 'abb', 'abb': '4', 'aba': 0.119216796875}
{'a': '2', '': 'aba', 'abb': '3', 'aba': 0.369166796875}
{'a': '2', '': 'aba', 'abb': '4', 'aba': 0.212948046875}
{'a': '2', '': 'abb', 'abb': '3', 'aba': 0.462898046875}
Traceback (most recent call last):
File "test.py", line 21, in <module>
optunity.maximize_structured(f, search_space=search, num_evals=10)
@dareid
dareid / background.js
Created November 7, 2014 07:42
Piwik #6577
chrome.app.runtime.onLaunched.addListener(function () {
chrome.app.window.create('index.html', {
'bounds': {
'width': 1000,
'height': 800
}
});
});