curl -XPOST localhost:9200/wiki_content/_search?pretty -d '
{
"_source": [
"title"
],
"query": {
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
def auc(y_true, y_val, plot=False): | |
""" | |
Computes the AUC (area under the receiver operator curve). | |
For example, y val could be the output of a learning algorithm (binary logistic regression, ...). | |
:param y_true: true labels in {-1,+1} | |
:param y_val: predicted value where lower values tend to correspond to label -1 and higher values to label +1 | |
:param plot: whether to plot the ROC curve or not | |
:return: returns the AUC | |
""" | |
sum_cond_pos = np.count_nonzero(y_true == 1) |
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
/****************************** | |
* YoutubeUploadJS | |
* ***************************** | |
* Node JS program for uploading videos to YouTube via DataAPI v3 & CmdLine | |
* (inspired by https://github.com/rajeshujade/nodejs-upload-youtube-video-using-google-api ) | |
* | |
* Run with: nodejs ytvideoupload.js <video-file> <video-title> <video-description> [<config-json>] | |
* | |
* Requires config.json in home directory or defined as argument. Example: | |
* { |
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
Fabrice OLINGA | |
Luke SHAW | |
Nabil BENTALEB | |
Divock ORIGI | |
Adnan JANUZAJ | |
Carlos GRUEZO | |
Raheem STERLING | |
Jose GIMENEZ | |
Julian GREEN | |
Sead KOLASINAC |
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
WikiSim results | |
Article See Also (unsortiert) CoCit (sortiert) CPA (sortiert) | |
---------------------------------------------------------------------- | |
z a, b, c, ,d 1: b, 2:c 1: d | |
y e, f 1: f, 2: q, 3: x 1: p, 2: q, 3: a, 4: f | |
x a, b 1: b, 2: a 1: a, 2: b | |
---------------------------------------------------------------------- | |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
AF Afghanistan | |
EG Ägypten | |
AL Albanien | |
DZ Algerien | |
AD Andorra | |
AO Angola | |
AI Anguilla | |
AQ Antarktis | |
AG Antigua und Barbuda | |
GQ Äquatorial Guinea |
NewerOlder