Skip to content

Instantly share code, notes, and snippets.

View y-tag's full-sized avatar

TAGAMI Yukihiro y-tag

View GitHub Profile
@y-tag
y-tag / gist:a8763519bbc77217e88b9c2f271e2f68
Created April 2, 2022 23:43
Logs of overrides settings for JupyterLab
$ cat Dockerfile
FROM jupyter/scipy-notebook:lab-3.3.2
COPY overrides.json /opt/conda/share/jupyter/lab/settings/overrides.json
$ cat overrides.json
{
"@jupyterlab/apputils-extension:themes": {
"theme": "JupyterLab Dark"
}
}
@y-tag
y-tag / gist:982f52a809a58d8803e07ec139d41e63
Created January 15, 2022 01:40
nm outputs on CentOS 7 with devtoolset
$ cat Dockerfile
FROM centos:7
RUN yum install centos-release-scl -y && \
yum install devtoolset-7 devtoolset-8 devtoolset-9 devtoolset-10 devtoolset-11 perl-core pcre-devel zlib-devel -y
ENV PATH=/opt/rh/devtoolset-11/root/usr/bin:$PATH
$ docker build -t openssl3-build .
$ docker run -it --rm openssl3-build

オンライン広告関連の文献

概要

オンライン広告まわりの研究へのポインタをいくつか。 以下のものから辿っていけばある程度は見つかるはず。

学会・ワークショップ

オンライン広告に関する論文は、国際学会では、ウェブ系・データマイニング系のWWW, WSDM, KDDや、情報検索系のSIGIR, CIKMあたりに出てくる印象。 後は、機械学習系のICMLやNIPSでもたまに出る。

#include <cstdio>
#include <cstdlib>
#include <sys/time.h>
#include "blas.h"
#include "utility.h"
// $ g++ -O3 -o bench_sgemm bench_sgemm.cc -lblas -lpthread -Wall -Werror
int main(int argc, char **argv) {
ranking MQ2008 PA
Folds NDCG@1 NDCG@2 NDCG@3 NDCG@4 NDCG@5 NDCG@6 NDCG@7 NDCG@8 NDCG@9 NDCG@10
Fold1 0.2970 0.3419 0.3574 0.3700 0.3833 0.4060 0.4212 0.3646 0.1605 0.1639
Fold2 0.2951 0.2941 0.3289 0.3504 0.3755 0.3912 0.4014 0.3808 0.1462 0.1542
Fold3 0.2144 0.2622 0.2774 0.3091 0.3232 0.3435 0.3492 0.3357 0.1558 0.1617
Fold4 0.3609 0.3715 0.4215 0.4351 0.4546 0.4739 0.4843 0.4454 0.2486 0.2530
Fold5 0.1274 0.1794 0.1916 0.2157 0.2537 0.2779 0.3046 0.2898 0.0991 0.1049
average 0.2590 0.2898 0.3154 0.3361 0.3581 0.3785 0.3921 0.3633 0.1620 0.1675
ranking MQ2007 PA
Folds NDCG@1 NDCG@2 NDCG@3 NDCG@4 NDCG@5 NDCG@6 NDCG@7 NDCG@8 NDCG@9 NDCG@10
Fold1 0.2520 0.2555 0.2659 0.2768 0.2835 0.2925 0.3050 0.3102 0.3174 0.3222
Fold2 0.2832 0.2815 0.2880 0.2916 0.2988 0.3012 0.3074 0.3132 0.3164 0.3209
Fold3 0.2832 0.2918 0.2951 0.2975 0.3051 0.3130 0.3176 0.3226 0.3291 0.3331
Fold4 0.2684 0.2935 0.2996 0.3037 0.3120 0.3191 0.3267 0.3310 0.3361 0.3396
Fold5 0.2350 0.2549 0.2582 0.2612 0.2639 0.2682 0.2768 0.2831 0.2919 0.3024
average 0.2644 0.2754 0.2814 0.2862 0.2927 0.2988 0.3067 0.3120 0.3182 0.3236
ranking OHSUMED PA
Folds NDCG@1 NDCG@2 NDCG@3 NDCG@4 NDCG@5 NDCG@6 NDCG@7 NDCG@8 NDCG@9 NDCG@10
Fold1 0.3636 0.3788 0.3276 0.3221 0.3076 0.2912 0.2843 0.2769 0.2771 0.2820
Fold2 0.3810 0.3056 0.2602 0.2522 0.2476 0.2375 0.2366 0.2322 0.2305 0.2387
Fold3 0.2381 0.2460 0.2460 0.2509 0.2385 0.2380 0.2350 0.2332 0.2291 0.2337
Fold4 0.3016 0.2540 0.2502 0.2495 0.2502 0.2414 0.2437 0.2327 0.2398 0.2396
Fold5 0.2381 0.2857 0.2705 0.2653 0.2486 0.2522 0.2506 0.2507 0.2440 0.2417
average 0.3045 0.2940 0.2709 0.2680 0.2585 0.2521 0.2500 0.2451 0.2441 0.2471
#!/usr/local/bin/perl
use strict;
use warnings;
main();
sub main {
if (@ARGV < 1) {
print STDERR "Usage: $0 input_f\n";
#include <cstdio>
#include <cstdlib>
#include <cfloat>
#include <cstring>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cfloat>
#include <cstring>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include <map>
#include <unordered_map>