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
from singledispatch import singledispatch | |
from sklearn.pipeline import Pipeline, FeatureUnion | |
from sklearn.feature_selection.base import SelectorMixin | |
from sklearn.feature_extraction.text import TfidfTransformer | |
from sklearn.decomposition import LatentDirichletAllocation | |
from sklearn.preprocessing import Imputer | |
from sklearn.preprocessing import FunctionTransformer | |
#from eli5 import explain_weights |
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
require('babel-loader') | |
var webpack = require('webpack'); | |
var CopyWebpackPlugin = require('copy-webpack-plugin'); | |
module.exports = { | |
entry: { | |
path: './src/main.js' | |
}, | |
output: { | |
path: './build', |
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 profile(**options) | |
fail "U WOT M8" unless block_given? | |
result = RubyProf.profile { yield } | |
Tempfile.open %w[vmm .cachegrind] do |tmp| | |
RubyProf::CallTreePrinter.new(result).print(tmp, **options) | |
spawn 'qcachegrind', tmp.path | |
end |
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
<div class="row"> | |
<div class="large-8 column"> | |
<div class="main">My Main</div> | |
</div> | |
<div class="large-4 column full-height"> | |
<aside class="sidebar"> | |
My Sidebar | |
</aside> | |
</div> | |
</div> |