Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
#import <Foundation/Foundation.h> | |
@interface NSDictionary (QueryStringBuilder) | |
- (NSString *)queryString; | |
@end |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
SUMMARY | |
================================================================================ | |
This dataset was constructed to support participants in the Netflix Prize. See | |
http://www.netflixprize.com for details about the prize. | |
The movie rating files contain over 100 million ratings from 480 thousand | |
randomly-chosen, anonymous Netflix customers over 17 thousand movie titles. The | |
data were collected between October, 1998 and December, 2005 and reflect the | |
distribution of all ratings received during this period. The ratings are on a |
SUMMARY | |
================================================================================ | |
This dataset was constructed to support participants in the Netflix Prize. See | |
http://www.netflixprize.com for details about the prize. | |
The movie rating files contain over 100 million ratings from 480 thousand | |
randomly-chosen, anonymous Netflix customers over 17 thousand movie titles. The | |
data were collected between October, 1998 and December, 2005 and reflect the | |
distribution of all ratings received during this period. The ratings are on a |
#!/bin/bash | |
PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be a root user" 2>&1 | |
exit 1 | |
else | |
apt-get update | |
apt-get install -y build-essential chrpath libssl-dev libxft-dev | |
apt-get install -y libfreetype6 libfreetype6-dev | |
apt-get install -y libfontconfig1 libfontconfig1-dev |
// `promise` is some operation that may succeed (fulfill) or fail (reject) | |
var newPromise = promise.then( | |
function () { | |
return delay(1000); | |
}, | |
writeError | |
); | |
// If `promise` fulfills, `newPromise` will fulfill in 1000 ms. | |
// If `promise` rejects and writing to the error log succeeds, |
def smart_procrustes_align_gensim(base_embed, other_embed, words=None): | |
"""Procrustes align two gensim word2vec models (to allow for comparison between same word across models). | |
Code ported from HistWords <https://github.com/williamleif/histwords> by William Hamilton <[email protected]>. | |
(With help from William. Thank you!) | |
First, intersect the vocabularies (see `intersection_align_gensim` documentation). | |
Then do the alignment on the other_embed model. | |
Replace the other_embed model's syn0 and syn0norm numpy matrices with the aligned version. | |
Return other_embed. |