This file contains hidden or 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
name: "lane line detection" | |
#layer { | |
# name: "data_lane" | |
# type: "LaneLineData" | |
# top: "data_lane" | |
# top: "label_lane" | |
# transform_param { | |
# mean_value: 95 | |
# mean_value: 99 |
This file contains hidden or 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
-- Feature engineering BigQuery SQL queries for the kaggle talkingdata competition by tkm2261 | |
-- it may acheve 0.9823 on the public LB with simple GBDT. | |
-- destination table: takling.test2 | |
SELECT | |
CASE WHEN t.click_id is null THEN -1 ELSE t.click_id END as click_id, | |
o.* | |
FROM | |
`talking.test_supplement` as o | |
LEFT OUTER JOIN |
This file contains hidden or 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
# イラク復興支援群の日報 370日分 | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/040301.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/040714.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/040922.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050226.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050323.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050325.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050326.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050327.pdf | |
https://www.asahicom.jp/news/esi/ichikijiatesi/iraq-nippo-list/20180416/370/050330.pdf |
This file contains hidden or 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
cimport cython | |
import numpy as np | |
cimport numpy as np | |
from sklearn.metrics import f1_score | |
@cython.boundscheck(False) | |
@cython.wraparound(False) | |
def f1_opt(np.ndarray[long, ndim=1] label, np.ndarray[double, ndim=1] preds): |