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
#include <type_traits> | |
#include <utility> | |
#include <functional> | |
template<typename Functor> | |
class RecursableLambda { | |
public: | |
explicit RecursableLambda(Functor&& functor) | |
: m_functor(std::forward<Functor>(functor)) | |
{ |
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
diff --git a/Tools/gtk/jhbuild.modules b/Tools/gtk/jhbuild.modules | |
index 9c32942720f..8ee13132ad2 100644 | |
--- a/Tools/gtk/jhbuild.modules | |
+++ b/Tools/gtk/jhbuild.modules | |
@@ -91,7 +91,7 @@ | |
</cmake> | |
<autotools id="cairo" | |
- autogen-sh="configure"> | |
+ autogen-sh="autogen.sh"> |
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
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------ | |
1>Checking Build System | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/WTF/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/WTF/wtf/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/JavaScriptCore/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/JavaScriptCore/shell/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not need to re-run because C:/webkit/gb/WebKitBuild/Release/Source/ThirdParty/ANGLE/CMakeFiles/generate.stamp is up-to-date. | |
1>CMake does not |
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
#include <cstdio> | |
struct Foo { | |
Foo(int i) : x(i) { } | |
void test(); | |
int x; | |
}; | |
struct Wrap { | |
Wrap(Foo* p) : m_p(p) { } |
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
<style> | |
div { | |
font: bold 24px serif; | |
text-align: center; | |
border-radius: 15px; | |
color: white; | |
background-color: rgba(200, 54, 54, 0.5); | |
} | |
.a { | |
background-color: rgba(54, 200, 54, 0.7); |
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
J: | |
自分はXGBoostですが、depthは5~10辺りを最初にサーチして、他は、 | |
min_child_weight: 1 | |
subsample: 0.9 | |
colsample_bylevel: 0.2 | |
lambda: 0.6 | |
alpha: 0.4 | |
辺りを初期値に探索するって感じです。 | |
etaは序盤は0.1か0.05、最終的には0.02ぐらいまで下げるイメージですね。 | |
(タスクやデータ量にもよりますが、上に書いてないその他のパラメータはそんなにいじらないことが多い。) (edited) |
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
# | |
# Doing 'import nltk.corpus' in a fuction leaks all objects referred by all local variables. | |
# In this test case, lists referred by 'x' and 'y' will be leaked. | |
# python -X tracemalloc=20 nltk_corpus_leak.py | |
# | |
import tracemalloc | |
import gc | |
def foo(): | |
import nltk.corpus |
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
learning_rate | num_leaves | score | |
---|---|---|---|
0.1 | 300.0 | 0.21891691699607926 | |
0.1 | 200.0 | 0.2190053141118136 | |
0.1 | 400.0 | 0.219054153823235 | |
0.1 | 500.0 | 0.21909130174679087 | |
0.1 | 100.0 | 0.2193034541565235 | |
0.2 | 200.0 | 0.22002260939765125 | |
0.2 | 300.0 | 0.22015521996136436 | |
0.2 | 500.0 | 0.22016432901817892 | |
0.2 | 400.0 | 0.220226759088758 |
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
'http://svn.webkit.org/repository/webkit/trunk/LayoutTests/dom/xhtml/level3/core/documentgetinputencoding03.xhtml' の属性: | |
svn:eol-style | |
native | |
'http://svn.webkit.org/repository/webkit/trunk/LayoutTests/dom/xhtml/level3/core/documentgetxmlencoding03.xhtml' の属性: | |
svn:mime-type | |
text/xml | |
'http://svn.webkit.org/repository/webkit/trunk/LayoutTests/dom/xhtml/level3/core/entitygetinputencoding02.xhtml' の属性: | |
svn:eol-style | |
native | |
'http://svn.webkit.org/repository/webkit/trunk/LayoutTests/dom/xhtml/level3/core/entitygetxmlversion02.xhtml' の属性: |
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
fujii@fujihiro-ubuntu-vmw $ cmake --version | |
cmake version 3.10.2 | |
CMake suite maintained and supported by Kitware (kitware.com/cmake). | |
fujii@fujihiro-ubuntu-vmw $ ninja --version | |
1.8.2 | |
fujii@fujihiro-ubuntu-vmw $ ./Tools/Scripts/build-webkit --gtk --release --makeargs="-j1 Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o" | |
+ /home/fujii/work/webkit/ga/Tools/jhbuild/jhbuild-wrapper --gtk run cmake -DPORT="GTK" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -G Ninja -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON "/home/fujii/work/webkit/ga" | |
-- The C compiler identification is GNU 7.3.0 | |
-- The CXX compiler identification is GNU 7.3.0 |