python の future の使い方
import concurrent.futures import os score_list = [] def worker(my_random_seed): model = CatBoostClassifier( iterations=300, learning_rate=0.1, random_seed=my_random_seed ) model.fit( X_train, y_train, cat_features=cat_features, eval_set=(X_validation, y_validation), ) return model.best_score_['validation_0']['Logloss'] with concurrent.futures.ProcessPoolExecutor(max_workers=os.cpu_count()) as executor: futures = {executor.submit(worker, i) for i in range(10)} for future in concurrent.futures.as_completed(futures): score_list.append(future.result())
t-SNE の有名記事
Comparison of Manifold Learning methods — scikit-learn 0.20.2 documentation
t-SNE: The effect of various perplexity values on the shape — scikit-learn 0.20.2 documentation
Interaction
Practical Lessons from Predicting Clicks on Ads at Facebook – Facebook Research
Feature transformations with ensembles of trees — scikit-learn 0.20.2 documentation
CoreOSとかいうもの
アプリケーションは基本 container で立ち上げる前提のOS っぽい。便利そうだけど、複雑。
https://coreos.com/ignition/docs/latest/what-is-ignition.html
--super-read-only の時に、MySQLをupdateする方法
mysql> CREATE DATABASE `test` DEFAULT CHARSET utf8mb4; ERROR 1290 (HY000): The MySQL server is running with the --super-read-only option so it cannot execute this statement
SET GLOBAL super_read_only= 0;