Loreto Parisi

Results 293 comments of Loreto Parisi

@jahewson sorry, does `byline` read the input line in ```javascript var stream = byline(fs.createReadStream(self._options.trainFile, { flags: 'r', encoding: 'utf8'})); ``` So I would expect to write down that line so...

@jahewson lines are printed out in the console, but when I write to `writeStream.write(text + '\n');` I will get in the output stream one single line, without any `\n` appended.

Thanks, I'm going to test it and come back with a feedback. Yes, I agree, the JSONKit it's great, and maybe this is caused by some over-released key object, and...

To solve this I have just downloaded one of the previous versions that works with D3 V3 perfectly. The version I'm using is the 0.1.9 available here https://github.com/benkeen/d3pie/tree/0.1.9

@budhiraja it just loads the pickle file `WMD_D = pickle.load(f)` and then make two iterations on the matrix, one for the rows `for valx in WMD_D:` and one for the...

BTW I just fixed the indentation here: ```python import pdb, sys, numpy as np, pickle, os load_file = sys.argv[1] fileName = sys.argv[2] def main(): with open(load_file) as f: WMD_D =...

@MSardelich Could you please depict how you get the calculation for each row as soon as you have the output matrix? I have generated a csv output from the `pickle`...

@JafferWilson you should be able to convert GloVe to Word2Vec easily: https://github.com/jroakes/glove-to-word2vec There is a gensim script as well [here](https://radimrehurek.com/gensim/scripts/glove2word2vec.html).

**[UPDATE]** Looking at the code, it should be enough doing the following When in https://github.com/katspaugh/wavesurfer.js/blob/master/src/plugin/spectrogram.js#L497 ```javascript render() { this.updateCanvasStyle(); if (this.frequenciesDataUrl) { this.loadFrequenciesData(this.frequenciesDataUrl); } else { this.getFrequencies(this.drawSpectrogram); } } ```...

@thijstriemstra how it works to compile/webpack?