CREATE (neo:Database {name:'Neo4j'})
CREATE (neo)-[:SUPPORTS]->(:Language {name:'Cypher'})
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Converts an RGB color value to HSL. Conversion formula | |
* adapted from http://en.wikipedia.org/wiki/HSL_color_space. | |
* Assumes r, g, and b are contained in the set [0, 255] and | |
* returns h, s, and l in the set [0, 1]. | |
* | |
* @param Number r The red color value | |
* @param Number g The green color value | |
* @param Number b The blue color value | |
* @return Array The HSL representation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/yusuketomoto/chainer-fast-neuralstyle | |
https://medium.com/element-ai-research-lab/stabilizing-neural-style-transfer-for-video-62675e203e42?lipi=urn%3Ali%3Apage%3Ad_flagship3_feed%3B%2Fi1%2BFDQ2S4mFUrkbZOoRFQ%3D%3D | |
# This loss component captures the difference between the content of our source image and the content of our stylized image | |
L_feat = lambda_f * F.mean_squared_error(Variable(feature[2].data), feature_hat[2]) | |
# Establish a variable to hold our style-losses | |
L_style = Variable(xp.zeros((), dtype=np.float32)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Simple example of using tests | |
You would normally have your code in another file in another folder | |
And your test in a folder named "test". | |
Here an example of what the folder directory would look like: | |
package | |
- math |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" https://wiki.python.org/moin/SimplePrograms """ | |
from time import localtime | |
activities = {8: 'Sleeping', 9: 'Commuting', | |
17: 'Working', 18: 'Commuting', | |
20: 'Eating', 22: 'Resting' } | |
time_now = localtime() | |
hour = time_now.tm_hour |