├── .gitignore ├── Gruntfile.js ├── LICENSE ├── README.md ├── bower.json ├── contents.md ├── contents2.md ├── css ├── custom.css ├── print │ ├── paper.css │ └── pdf.css ├── reveal.css ├── reveal.scss └── theme │ ├── README.md │ ├── beige.css │ ├── black.css │ ├── blood.css │ ├── league.css │ ├── moon.css │ ├── night.css │ ├── serif.css │ ├── simple.css │ ├── sky.css │ ├── solarized.css │ ├── source │ ├── beige.scss │ ├── black.scss │ ├── blood.scss │ ├── league.scss │ ├── moon.scss │ ├── night.scss │ ├── serif.scss │ ├── simple.scss │ ├── sky.scss │ ├── solarized.scss │ └── white.scss │ ├── template │ ├── mixins.scss │ ├── settings.scss │ └── theme.scss │ └── white.css ├── graphs ├── deep_nn_chars_filled_in.py ├── full_text_generation_architecture.py ├── graph_editor.py ├── nn_chars_filled_in.py ├── perceptron.py ├── perceptron_chars.py ├── perceptron_chars_filled_in.py ├── perceptron_shapes.py ├── requirements.txt ├── run_editor.sh └── static │ ├── codemirror.css │ ├── codemirror.js │ ├── editor_page.html │ └── jquery-3.2.1.min.js ├── images ├── .html ├── _files │ ├── codemirror.css │ ├── codemirror.js │ ├── jquery-3.2.1.min.js │ └── render ├── acm.jpg ├── activation_functions.png ├── airflow-2.0.png ├── airflow.jpeg ├── airflow.png ├── airflowoperators.png ├── alejandro.jpg ├── aletechuk.png ├── alibi.jpg ├── alibianchors.jpg ├── arch1.png ├── arch2.png ├── arch3.png ├── automation.mp4 ├── babylon-heart.png ├── backprop_backpass_0.svg ├── backprop_backpass_1.svg ├── backprop_backpass_2.svg ├── backprop_backpass_3.svg ├── backprop_forwardpass.sketch ├── backprop_forwardpass_0.svg ├── backprop_forwardpass_1.svg ├── backprop_forwardpass_2.svg ├── backprop_forwardpass_3.svg ├── bias.jpeg ├── bias.png ├── bitcoin-dec.jpg ├── bloomberg.png ├── blueml.png ├── books_opened.jpg ├── boring-dag.png ├── boring-dag2.png ├── caffe_icon.svg ├── celery.jpg ├── char_perceptron.sketch ├── char_perceptron1.svg ├── char_perceptron2.svg ├── char_perceptron3.svg ├── char_perceptron4.svg ├── char_perceptron_n.svg ├── chart-more.png ├── chart.png ├── cicd.png ├── class-imbalance.png ├── classification-line.png ├── classification-newinput.png ├── classification-points.png ├── compliant-ml.png ├── copypasta.jpg ├── crontab.jpg ├── cryptodag-2.png ├── cryptodag.png ├── dashboard.png ├── deep_nn_chars_filled_in.svg ├── deepdetect-dashboard.png ├── deepdetect.png ├── distributed.png ├── docker-mac.png ├── docker.png ├── dog.gif ├── duck.gif ├── dvc.png ├── eigen.png ├── eli5-text.png ├── eml-logo-black.png ├── eml-logo-white.png ├── ethical.png ├── everywhere.jpg ├── exponential.png ├── extrapolating.png ├── feature-1.jpg ├── feature-2.jpg ├── feature-3.jpg ├── ffnn_nclass.svg ├── flask.jpg ├── flower.png ├── full-desired-architecture.sketch ├── full_network_headers.svg ├── full_network_hidden.svg ├── full_network_input.svg ├── full_network_loss.svg ├── full_network_no_marks.sketch ├── full_network_no_marks.svg ├── full_network_onehot.svg ├── full_network_output.svg ├── full_network_softmax.svg ├── gitblame.jpg ├── gradient_descent.gif ├── gradient_descent_cropped.gif ├── grafana.jpg ├── graphview.png ├── hacking.gif ├── helper.svg ├── hg.png ├── horizon-outline.png ├── horizon.jpg ├── hp.png ├── img1.png ├── img2.png ├── img3.png ├── img4.png ├── img5.png ├── img6.png ├── img7.png ├── inferencepipe.png ├── institute.png ├── iris.png ├── keras_icon.svg ├── kibana.jpg ├── kube.png ├── kubectl.png ├── kubeflowexample.jpg ├── laptop.gif ├── latex-generation-example.png ├── layer.jpg ├── lego.gif ├── lfai-institute.jpg ├── lfai-landscape.jpg ├── linear-regression.png ├── linkedin.png ├── linreg.gif ├── martin_gorner.jpg ├── mini-batch-chars.sketch ├── mini-batch-chars.svg ├── minst-image-plot.png ├── ml-pipeline-extended.png ├── ml-pipeline.png ├── ml_workflow.png ├── mlall.png ├── mldiag.png ├── mleapbundle.png ├── mleapruntime.jpg ├── mlecosystem.png ├── mleng-expertise.png ├── mleng-roles.png ├── mlflow.png ├── mlibs.jpg ├── mlmodles.png ├── mlops-link.png ├── mlops-now.png ├── mlops-slides.png ├── mlops-stats.png ├── mlops1.png ├── mlops2.png ├── mlops3.png ├── mlstep.png ├── mltemp1 (copy).png ├── mltemp1-serving.png ├── mltemp1-training.png ├── mltemp1.png ├── mltemp2.png ├── mltemp3.png ├── mltemp4.png ├── mltemp5.png ├── mltemp6.png ├── mltrain.png ├── mltrainhighlight.png ├── modeldb-dashboard.png ├── modelvers.png ├── network-background.jpg ├── network.png ├── nn_backprop_algebra.png ├── nn_chars_filled_in.svg ├── nn_computation_graph.png ├── novel-preprocessing.sketch ├── novel_preprocessing.svg ├── novel_preprocessing_intro.svg ├── overfitting.png ├── pachyderm-dashboard.png ├── pachyderm.png ├── parti.png ├── particles.gif ├── partistat.png ├── perceptron.svg ├── perceptron_learning.svg ├── perceptron_learning1.png ├── perceptron_learning2.png ├── perceptron_learning3.png ├── perceptron_learning4.png ├── perceptron_learning_all.png ├── pie.gif ├── plaugh.gif ├── plex.jpg ├── polyreg.gif ├── principles-large.png ├── principles.jpg ├── principles.png ├── process-unbias.png ├── process.png ├── programming-gods.jpg ├── pytorch_icon.svg ├── pytorchhub.jpg ├── rfx-cover.png ├── ribbonlink.png ├── rnn-compress-expanded.sketch ├── rnn-compress-expanded.svg ├── rnn-compress.svg ├── rnn-deepfeedforward.svg ├── rnn-feedforward.svg ├── rnn-feedforwardlayers.svg ├── rnn-hiddenstate.sketch ├── rnn-hiddenstate.svg ├── rnn-long-term-deps-solved.sketch ├── rnn-long-term-deps-solved.svg ├── rnn-long-term-deps.sketch ├── rnn-long-term-deps.svg ├── rnn-loopcompressed.svg ├── rnn-perceptron.svg ├── rnn-stateloopcompressed.sketch ├── rnn-stateloopcompressed.svg ├── rnn-unrolled-chars.sketch ├── rnn-unrolled-chars1.svg ├── rnn-unrolled-chars2.svg ├── rnn-unrolled-chars3.svg ├── rnn-unrolled-chars4.svg ├── rnn-unrolled-chars5.svg ├── rnn-unrolled-chars6.svg ├── rnn-unrolled-chars7.svg ├── rnn-unrolled-chars8.svg ├── rnn-unrolled-chars9.svg ├── rnn-unrolled-dependencies.svg ├── rnn-unrolled.svg ├── robot.gif ├── robotfall.gif ├── roc-monitoring.png ├── rrn-loopcompressed.sketch ├── santa.jpg ├── scheduler.png ├── seldon1.png ├── seldon2.png ├── seldon3.png ├── serverless-popularity.png ├── serverless.png ├── shap-values.png ├── shap.png ├── shapes.svg ├── sigmoid-function.png ├── simple-model.jpg ├── space.jpg ├── spaceline.jpg ├── subdags.png ├── sv.gif ├── tensorboard.gif ├── tensorboard.png ├── tensorflow.svg ├── tensorflow_graph.png ├── tensorflow_graph.sketch ├── tensorflow_graph_marked.png ├── tensorflow_icon.svg ├── theano_icon.svg ├── ticket.png ├── train.gif ├── treeview.png ├── typerror.png ├── versioning.jpg ├── weight_matrix.svg ├── xai-pr.png └── xcom.png ├── index.html ├── index2.html ├── js ├── reveal.js └── reveal.min.js ├── lib ├── css │ └── zenburn.css ├── font │ ├── league-gothic │ │ ├── LICENSE │ │ ├── league-gothic.css │ │ ├── league-gothic.eot │ │ ├── league-gothic.ttf │ │ └── league-gothic.woff │ └── source-sans-pro │ │ ├── LICENSE │ │ ├── source-sans-pro-italic.eot │ │ ├── source-sans-pro-italic.ttf │ │ ├── source-sans-pro-italic.woff │ │ ├── source-sans-pro-regular.eot │ │ ├── source-sans-pro-regular.ttf │ │ ├── source-sans-pro-regular.woff │ │ ├── source-sans-pro-semibold.eot │ │ ├── source-sans-pro-semibold.ttf │ │ ├── source-sans-pro-semibold.woff │ │ ├── source-sans-pro-semibolditalic.eot │ │ ├── source-sans-pro-semibolditalic.ttf │ │ ├── source-sans-pro-semibolditalic.woff │ │ └── source-sans-pro.css └── js │ ├── classList.js │ ├── head.min.js │ ├── highcharts.js │ ├── html5shiv.js │ └── jquery-3.2.1.min.js ├── package.json └── plugin ├── external └── external.js ├── highlight └── highlight.js ├── markdown ├── example.html ├── example.md ├── markdown.js └── marked.js ├── math └── math.js ├── multiplex ├── client.js ├── index.js └── master.js ├── notes-server ├── client.js ├── index.js └── notes.html ├── notes ├── notes.html └── notes.js ├── print-pdf └── print-pdf.js ├── search └── search.js └── zoom-js └── zoom.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled source # 2 | ################### 3 | *.com 4 | *.class 5 | *.dll 6 | *.exe 7 | *.o 8 | *.so 9 | 10 | # Packages # 11 | ############ 12 | # it's better to unpack these files and commit the raw source 13 | # git has its own built in compression methods 14 | *.7z 15 | *.dmg 16 | *.gz 17 | *.iso 18 | *.jar 19 | *.rar 20 | *.tar 21 | *.zip 22 | 23 | # Logs and databases # 24 | ###################### 25 | *.log 26 | *.sql 27 | *.sqlite 28 | 29 | # OS generated files # 30 | ###################### 31 | .DS_Store 32 | .DS_Store? 33 | ._* 34 | .Spotlight-V100 35 | .Trashes 36 | ehthumbs.db 37 | Thumbs.db 38 | 39 | # Python 40 | __pycache__ 41 | *.pyc 42 | 43 | # Logs 44 | logs 45 | *.log 46 | npm-debug.log* 47 | yarn-debug.log* 48 | yarn-error.log* 49 | 50 | # Runtime data 51 | pids 52 | *.pid 53 | *.seed 54 | *.pid.lock 55 | 56 | # Directory for instrumented libs generated by jscoverage/JSCover 57 | lib-cov 58 | 59 | # Coverage directory used by tools like istanbul 60 | coverage 61 | 62 | # nyc test coverage 63 | .nyc_output 64 | 65 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 66 | .grunt 67 | 68 | # Bower dependency directory (https://bower.io/) 69 | bower_components 70 | 71 | # node-waf configuration 72 | .lock-wscript 73 | 74 | # Compiled binary addons (http://nodejs.org/api/addons.html) 75 | build/Release 76 | 77 | # Dependency directories 78 | node_modules/ 79 | node_modules 80 | 81 | package-lock.json 82 | 83 | # Tags 84 | tags 85 | tags.* 86 | .tags 87 | .tags.* 88 | 89 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | /* global module:false */ 2 | module.exports = function(grunt) { 3 | var port = grunt.option('port') || 8000; 4 | var base = grunt.option('base') || '.'; 5 | 6 | // Project configuration 7 | grunt.initConfig({ 8 | pkg: grunt.file.readJSON('package.json'), 9 | meta: { 10 | banner: 11 | '/*!\n' + 12 | ' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' + 13 | ' * http://lab.hakim.se/reveal-js\n' + 14 | ' * MIT licensed\n' + 15 | ' *\n' + 16 | ' * Copyright (C) 2018 Alejandro Saucedo\n' + 17 | ' */' 18 | }, 19 | 20 | qunit: { 21 | files: [ 'test/*.html' ] 22 | }, 23 | 24 | uglify: { 25 | options: { 26 | banner: '<%= meta.banner %>\n' 27 | }, 28 | build: { 29 | src: 'js/reveal.js', 30 | dest: 'js/reveal.min.js' 31 | } 32 | }, 33 | 34 | sass: { 35 | core: { 36 | files: { 37 | 'css/reveal.css': 'css/reveal.scss', 38 | } 39 | }, 40 | themes: { 41 | files: [ 42 | { 43 | expand: true, 44 | cwd: 'css/theme/source', 45 | src: ['*.scss'], 46 | dest: 'css/theme', 47 | ext: '.css' 48 | } 49 | ] 50 | } 51 | }, 52 | 53 | autoprefixer: { 54 | dist: { 55 | src: 'css/reveal.css' 56 | } 57 | }, 58 | 59 | cssmin: { 60 | compress: { 61 | files: { 62 | 'css/reveal.min.css': [ 'css/reveal.css' ] 63 | } 64 | } 65 | }, 66 | 67 | jshint: { 68 | options: { 69 | curly: false, 70 | eqeqeq: true, 71 | immed: true, 72 | latedef: true, 73 | newcap: true, 74 | noarg: true, 75 | sub: true, 76 | undef: true, 77 | eqnull: true, 78 | browser: true, 79 | expr: true, 80 | globals: { 81 | head: false, 82 | module: false, 83 | console: false, 84 | unescape: false, 85 | define: false, 86 | exports: false 87 | } 88 | }, 89 | files: [ 'Gruntfile.js', 'js/reveal.js' ] 90 | }, 91 | 92 | connect: { 93 | server: { 94 | options: { 95 | port: port, 96 | base: base, 97 | livereload: true, 98 | open: true 99 | } 100 | } 101 | }, 102 | 103 | zip: { 104 | 'reveal-js-presentation.zip': [ 105 | 'index.html', 106 | 'css/**', 107 | 'js/**', 108 | 'lib/**', 109 | 'images/**', 110 | 'plugin/**', 111 | '**.md' 112 | ] 113 | }, 114 | 115 | watch: { 116 | options: { 117 | livereload: true 118 | }, 119 | js: { 120 | files: [ 'Gruntfile.js', 'js/reveal.js' ], 121 | tasks: 'js' 122 | }, 123 | theme: { 124 | files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ], 125 | tasks: 'css-themes' 126 | }, 127 | css: { 128 | files: [ 'css/reveal.scss' ], 129 | tasks: 'css-core' 130 | }, 131 | html: { 132 | files: [ 'index.html'] 133 | }, 134 | markdown: { 135 | files: [ './*.md' ] 136 | } 137 | } 138 | 139 | }); 140 | 141 | // Dependencies 142 | grunt.loadNpmTasks( 'grunt-contrib-qunit' ); 143 | grunt.loadNpmTasks( 'grunt-contrib-jshint' ); 144 | grunt.loadNpmTasks( 'grunt-contrib-cssmin' ); 145 | grunt.loadNpmTasks( 'grunt-contrib-uglify' ); 146 | grunt.loadNpmTasks( 'grunt-contrib-watch' ); 147 | grunt.loadNpmTasks( 'grunt-sass' ); 148 | grunt.loadNpmTasks( 'grunt-contrib-connect' ); 149 | grunt.loadNpmTasks( 'grunt-autoprefixer' ); 150 | grunt.loadNpmTasks( 'grunt-zip' ); 151 | 152 | // Default task 153 | grunt.registerTask( 'default', [ 'css', 'js' ] ); 154 | 155 | // JS task 156 | grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] ); 157 | 158 | // Theme CSS 159 | grunt.registerTask( 'css-themes', [ 'sass:themes' ] ); 160 | 161 | // Core framework CSS 162 | grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] ); 163 | 164 | // All CSS 165 | grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] ); 166 | 167 | // Package presentation to archive 168 | grunt.registerTask( 'package', [ 'default', 'zip' ] ); 169 | 170 | // Serve presentation locally 171 | grunt.registerTask( 'serve', [ 'connect', 'watch' ] ); 172 | 173 | // Run tests 174 | grunt.registerTask( 'test', [ 'jshint', 'qunit' ] ); 175 | 176 | }; 177 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 Alejandro Saucedo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Kubecon Shanghai 2020: The state of machine learning operations in 2020 2 | 3 | This repository contains a presentation of the state of machine learning operations in 2020. 4 | 5 | 6 | 7 | 8 | 11 | 14 | 15 |
9 | Click here to watch the video of a short version of the talk at FOSDEM 2018 10 | 12 | 13 |
16 | 17 | 18 | 19 | 22 | 25 | 26 |
20 | Click here to check out the Awesome Production ML Repo 21 | 23 | 24 |
27 | 28 | 29 | ## Contents 30 | 31 | * This talk contains an overview of the production machine learning ecosystem in 2020. 32 | * It provides an insight on the relevant themes [which are all listed in our Awesome Production ML list](https://github.com/EthicalML/awesome-production-machine-learning) 33 | * For each theme, we dive into its definition, challenges, libraries available and a hands-on example 34 | * We cover dive into three themes: 35 | * Explainablility of Black Box Models 36 | * Production Machine Learning Orchestration 37 | * ML Model Reproducitbility and Versioning 38 | * As an overview, the content for each of the themes is as follows: 39 | * ML Model Reproducitbility and Versioning 40 | * Abstraction of code, config and data 41 | * [Example building an re-usable NLP pipeline with Kubeflow + deploying with Seldon](https://github.com/SeldonIO/seldon-core/blob/master/examples/kubeflow/kubeflow_seldon_e2e_pipeline.ipynb) 42 | * Other libraries, including MLFlow, DVC and Pachyderm 43 | * Production Machine Learning Orchestration 44 | * Automation of model deployment through gitops and standardisation of metrics 45 | * [Example building general PyTorch Hub Wrapper with Seldon]() 46 | * Other libraries including MLeap, Deep Detect 47 | * Explainablility of Black Box Models 48 | * Explanations of black box models for compliance 49 | * [Explainer design pattern example building a production income classifier]() 50 | * Other libraries including ELI5, SHAP and XAI 51 | 52 | 53 | ## Speaker: Alejandro Saucedo 54 | * Linkedin: https://linkedin.com/in/AxSaucedo/ 55 | * Twitter: https://twitter.com/AxSaucedo/ 56 | * Github: https://github.com/axsauze/ 57 | * About: Alejandro is the Director of Machine Learning Engineering at [Seldon Technologies](https://seldon.io), where he leads large scale projects implementing open source and enterprise infrastructure for Machine Learning Orchestration and Explainability. Alejandro is also the Chief Scientist at [the Institute for Ethical AI & Machine Learning](https://ethical.institute/), where he leads the development of industry standards on machine learning bias, adversarial attacks and differential privacy. With over 10 years of software development experience, Alejandro has held technical leadership positions across hyper-growth scale-ups and has delivered multi-national projects with top tier investment banks, magic circle law firms and global insurance companies. He has a strong track record building departments of machine learning engineers from scratch, and leading the delivery of large-scale machine learning system across the financial, insurance, legal, transport, manufacturing and construction sectors (in Europe, US and Latin America). 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Industrial Machine Learning", 3 | "version": "3.2.0", 4 | "main": [ 5 | "js/reveal.js", 6 | "css/reveal.css" 7 | ], 8 | "homepage": "http://github.com/axsauze/industrial-machine-learning", 9 | "license": "MIT", 10 | "description": "Industrial Machine Learning - distributed, horizontally scalable machine learning pipelines", 11 | "authors": [ 12 | "Alejandro Saucedo." 13 | ], 14 | "dependencies": { 15 | "headjs": "~1.0.3" 16 | }, 17 | "repository": { 18 | "type": "git", 19 | "url": "git://github.com/hakimel/reveal.js.git" 20 | }, 21 | "ignore": [ 22 | "**/.*", 23 | "node_modules", 24 | "bower_components", 25 | "test" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /css/custom.css: -------------------------------------------------------------------------------- 1 | .reveal section img { 2 | border: 0px; 3 | box-shadow: none; 4 | } 5 | 6 | .left-col { 7 | width: 50%; 8 | float: left; 9 | } 10 | 11 | .right-col { 12 | width: 50%; 13 | float: right; 14 | } 15 | 16 | .clear-col { 17 | float: none; 18 | clear: both; 19 | } 20 | 21 | .small-table td { 22 | border: 0px; 23 | font-size: 24px; 24 | margin: 0px; 25 | } 26 | 27 | p.small, 28 | a.small { 29 | font-size: 18px; 30 | } 31 | 32 | p.medium, 33 | a.medium { 34 | font-size: 28px; 35 | } 36 | 37 | .small td, 38 | .small th { 39 | font-size: 32px; 40 | } 41 | 42 | .small code { 43 | font-size: 16px; 44 | line-height: 18px; 45 | } 46 | 47 | .smaller code { 48 | font-size: 12px; 49 | line-height: 13px; 50 | } 51 | 52 | .smallest code { 53 | font-size: 8px; 54 | line-height: 10px; 55 | } 56 | 57 | .two-col-code { 58 | min-height: 400px; 59 | } 60 | 61 | .smallquote blockquote { 62 | font-size: 32px !important; 63 | } 64 | 65 | .smallestquote blockquote { 66 | font-size: 28px !important; 67 | } 68 | 69 | /* Custom Coding Style */ 70 | code { 71 | color: #22F; 72 | } 73 | 74 | code.medium { 75 | font-size: 18px; 76 | line-height: 20px; 77 | } 78 | 79 | /* Background Slides */ 80 | 81 | .background h1, 82 | .background h2 83 | { 84 | color: #00ffda !important; 85 | } 86 | 87 | .background h3, 88 | .background h4, 89 | .background h5, 90 | .background p 91 | { 92 | color: white !important; 93 | } 94 | 95 | .background blockquote { 96 | background-color: rgba(255, 255, 255, 0.075); 97 | } 98 | 99 | .background a { 100 | color: #4c98ff; 101 | } 102 | 103 | .large p { 104 | font-size: 64px !important; 105 | font-weight: bold !important; 106 | } 107 | 108 | /* Padding Styles */ 109 | 110 | .low-padding p, 111 | .low-padding img { 112 | margin: 0px !important; 113 | } 114 | 115 | /* Images */ 116 | img[alt="portrait"] { 117 | width: 350px; 118 | border: 2px solid black !important; 119 | } 120 | 121 | img[alt="celery_celery"] { 122 | width: 500px; 123 | } 124 | 125 | img[alt="small_portrait"] { 126 | width: 220px; 127 | border: 2px solid black !important; 128 | } 129 | 130 | img[alt="prize"] { 131 | width: 250px; 132 | } 133 | 134 | img[alt="perceptron_learning"] { 135 | zoom: 0.5; /* all browsers */ 136 | -moz-transform: scale(0.5); /* Firefox */ 137 | } 138 | 139 | img[alt="rnn_diagram"] { 140 | width: 512px; 141 | } 142 | 143 | img[alt="rnn_compressed"] { 144 | width: 800px; 145 | } 146 | 147 | img[alt="perceptron"] { 148 | width: 600px; 149 | } 150 | 151 | img[alt="char_perceptron"] { 152 | width: 600px; 153 | margin: 0px; 154 | padding: 0px; 155 | } 156 | 157 | img[alt="char_perceptron_filled"] { 158 | width: 400px; 159 | margin: 0px; 160 | padding: 0px; 161 | } 162 | 163 | img[alt="nn_chars_filled_in"] { 164 | width: 400px; 165 | } 166 | 167 | img[alt="weight_matrix"] { 168 | width: 600px; 169 | } 170 | 171 | img[alt="gradient_descent"] { 172 | width: 400px; 173 | } 174 | 175 | img[alt="rnn_diagram"] { 176 | width: 400px; 177 | } 178 | 179 | img[alt="distributed_architecture"]{ 180 | width: 800px; 181 | } 182 | 183 | img[alt="deep_rnn_diagram"] { 184 | width: 600px; 185 | } 186 | 187 | img[alt="rnn_long_term_deps"] { 188 | width: 580px; 189 | } 190 | 191 | img[alt="rnn_unrolled"] { 192 | width: 460px; 193 | } 194 | 195 | img[alt="rnn_hiddenstate"] { 196 | width: 600px; 197 | } 198 | 199 | img[alt="rnn_unrolled_chars"] { 200 | max-width: 700px; 201 | } 202 | 203 | img[alt="tensorflow"] { 204 | width: 400px; 205 | } 206 | 207 | img[alt="nn_backprop_algebra"] { 208 | width: 550px; 209 | } 210 | 211 | img[alt="donald"] { 212 | width: 225px; 213 | } 214 | 215 | img { 216 | background: rgba(255, 255, 255, 0) !important; 217 | } 218 | 219 | /* Library Icons */ 220 | 221 | img[alt="icon_tensorflow"] { 222 | width: 100px; 223 | padding: 0px 32px 0px 32px; 224 | } 225 | img[alt="icon_keras"] { 226 | width: 100px; 227 | padding: 0px 32px 0px 32px; 228 | } 229 | img[alt="icon_caffe"] { 230 | width: 250px; 231 | padding: 0px 32px 0px 32px; 232 | } 233 | img[alt="icon_pytorch"] { 234 | width: 200px; 235 | padding: 0px 32px 0px 32px; 236 | } 237 | img[alt="icon_theano"] { 238 | width: 200px; 239 | padding: 0px 32px 0px 32px; 240 | } 241 | 242 | img[alt="novel_preprocessing"] { 243 | width: 550px; 244 | padding-left: 128px; 245 | } 246 | 247 | img[alt="mini_batch_chars"] { 248 | padding-top: 32px; 249 | width: 1000px; 250 | } 251 | 252 | img[alt="full_height"] { 253 | height: 60vh; 254 | } 255 | img[alt="full_network"] { 256 | width: 800px; 257 | } 258 | 259 | img[alt="full_network_small"] { 260 | width: 550px; 261 | } 262 | 263 | img[alt="full_network_smaller"] { 264 | width: 400px; 265 | } 266 | 267 | img[alt="full_network_loss"] { 268 | width: 700px; 269 | } 270 | 271 | img[alt="tensorflow_graph"] { 272 | width: 800px; 273 | } 274 | 275 | img[alt="tensorflow_graph_marked"] { 276 | width: 800px; 277 | } 278 | 279 | img[alt="classification"] { 280 | width: 550px; 281 | } 282 | 283 | img[alt="full_width"] { 284 | width: 80vw; 285 | } 286 | 287 | img[alt="mid_width"] { 288 | width: 40vw; 289 | } 290 | img[alt="classification_small"] { 291 | width: 450px; 292 | } 293 | 294 | .bio-table td { 295 | text-align: center !important; 296 | border: 0px !important; 297 | max-width: 400px; 298 | } 299 | 300 | .github { 301 | font-size: 20px !important; 302 | } 303 | 304 | ul li { 305 | color: white 306 | } 307 | .small-list li { 308 | font-size: 0.7em; 309 | margin-top: 0.6em; 310 | } 311 | .flashing .slide iframe:nth-of-type(1) { 312 | animation: fadeInFromNone 5s infinite; 313 | } 314 | .flashing .slide .slide-background { 315 | animation: fadeInFromLess 5s infinite; 316 | background-color: black; 317 | } 318 | body { 319 | background-color: black 320 | } 321 | @keyframes fadeInFromLess { 322 | 0% { 323 | opacity: 0.1; 324 | } 325 | 326 | 50% { 327 | opacity: 0.7; 328 | } 329 | 330 | 100% { 331 | opacity: 0.1; 332 | } 333 | } 334 | @keyframes fadeInFromNone { 335 | 0% { 336 | opacity: 0.1; 337 | } 338 | 339 | 50% { 340 | opacity: 0.5; 341 | } 342 | 343 | 100% { 344 | opacity: 0.1; 345 | } 346 | } 347 | div { 348 | color: white; 349 | } 350 | .break-line { 351 | clear: both; 352 | width:100%; 353 | } 354 | 355 | @media screen and (max-width: 1000px)/* , screen and (max-height: 1100px) */ { 356 | #ribbon-writing { 357 | display: none; 358 | } 359 | } 360 | -------------------------------------------------------------------------------- /css/print/paper.css: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | 9 | @media print { 10 | 11 | /* SECTION 1: Set default width, margin, float, and 12 | background. This prevents elements from extending 13 | beyond the edge of the printed page, and prevents 14 | unnecessary background images from printing */ 15 | html { 16 | background: #fff; 17 | width: auto; 18 | height: auto; 19 | overflow: visible; 20 | } 21 | body { 22 | background: #fff; 23 | font-size: 20pt; 24 | width: auto; 25 | height: auto; 26 | border: 0; 27 | margin: 0 5%; 28 | padding: 0; 29 | overflow: visible; 30 | float: none !important; 31 | } 32 | 33 | /* SECTION 2: Remove any elements not needed in print. 34 | This would include navigation, ads, sidebars, etc. */ 35 | .nestedarrow, 36 | .controls, 37 | .fork-reveal, 38 | .share-reveal, 39 | .state-background, 40 | .reveal .progress, 41 | .reveal .backgrounds { 42 | display: none !important; 43 | } 44 | 45 | /* SECTION 3: Set body font face, size, and color. 46 | Consider using a serif font for readability. */ 47 | body, p, td, li, div { 48 | font-size: 20pt!important; 49 | font-family: Georgia, "Times New Roman", Times, serif !important; 50 | color: #000; 51 | } 52 | 53 | /* SECTION 4: Set heading font face, sizes, and color. 54 | Differentiate your headings from your body text. 55 | Perhaps use a large sans-serif for distinction. */ 56 | h1,h2,h3,h4,h5,h6 { 57 | color: #000!important; 58 | height: auto; 59 | line-height: normal; 60 | font-family: Georgia, "Times New Roman", Times, serif !important; 61 | text-shadow: 0 0 0 #000 !important; 62 | text-align: left; 63 | letter-spacing: normal; 64 | } 65 | /* Need to reduce the size of the fonts for printing */ 66 | h1 { font-size: 28pt !important; } 67 | h2 { font-size: 24pt !important; } 68 | h3 { font-size: 22pt !important; } 69 | h4 { font-size: 22pt !important; font-variant: small-caps; } 70 | h5 { font-size: 21pt !important; } 71 | h6 { font-size: 20pt !important; font-style: italic; } 72 | 73 | /* SECTION 5: Make hyperlinks more usable. 74 | Ensure links are underlined, and consider appending 75 | the URL to the end of the link for usability. */ 76 | a:link, 77 | a:visited { 78 | color: #000 !important; 79 | font-weight: bold; 80 | text-decoration: underline; 81 | } 82 | /* 83 | .reveal a:link:after, 84 | .reveal a:visited:after { 85 | content: " (" attr(href) ") "; 86 | color: #222 !important; 87 | font-size: 90%; 88 | } 89 | */ 90 | 91 | 92 | /* SECTION 6: more reveal.js specific additions by @skypanther */ 93 | ul, ol, div, p { 94 | visibility: visible; 95 | position: static; 96 | width: auto; 97 | height: auto; 98 | display: block; 99 | overflow: visible; 100 | margin: 0; 101 | text-align: left !important; 102 | } 103 | .reveal pre, 104 | .reveal table { 105 | margin-left: 0; 106 | margin-right: 0; 107 | } 108 | .reveal pre code { 109 | padding: 20px; 110 | border: 1px solid #ddd; 111 | } 112 | .reveal blockquote { 113 | margin: 20px 0; 114 | } 115 | .reveal .slides { 116 | position: static !important; 117 | width: auto !important; 118 | height: auto !important; 119 | 120 | left: 0 !important; 121 | top: 0 !important; 122 | margin-left: 0 !important; 123 | margin-top: 0 !important; 124 | padding: 0 !important; 125 | zoom: 1 !important; 126 | 127 | overflow: visible !important; 128 | display: block !important; 129 | 130 | text-align: left !important; 131 | -webkit-perspective: none; 132 | -moz-perspective: none; 133 | -ms-perspective: none; 134 | perspective: none; 135 | 136 | -webkit-perspective-origin: 50% 50%; 137 | -moz-perspective-origin: 50% 50%; 138 | -ms-perspective-origin: 50% 50%; 139 | perspective-origin: 50% 50%; 140 | } 141 | .reveal .slides section { 142 | visibility: visible !important; 143 | position: static !important; 144 | width: auto !important; 145 | height: auto !important; 146 | display: block !important; 147 | overflow: visible !important; 148 | 149 | left: 0 !important; 150 | top: 0 !important; 151 | margin-left: 0 !important; 152 | margin-top: 0 !important; 153 | padding: 60px 20px !important; 154 | z-index: auto !important; 155 | 156 | opacity: 1 !important; 157 | 158 | page-break-after: always !important; 159 | 160 | -webkit-transform-style: flat !important; 161 | -moz-transform-style: flat !important; 162 | -ms-transform-style: flat !important; 163 | transform-style: flat !important; 164 | 165 | -webkit-transform: none !important; 166 | -moz-transform: none !important; 167 | -ms-transform: none !important; 168 | transform: none !important; 169 | 170 | -webkit-transition: none !important; 171 | -moz-transition: none !important; 172 | -ms-transition: none !important; 173 | transition: none !important; 174 | } 175 | .reveal .slides section.stack { 176 | padding: 0 !important; 177 | } 178 | .reveal section:last-of-type { 179 | page-break-after: avoid !important; 180 | } 181 | .reveal section .fragment { 182 | opacity: 1 !important; 183 | visibility: visible !important; 184 | 185 | -webkit-transform: none !important; 186 | -moz-transform: none !important; 187 | -ms-transform: none !important; 188 | transform: none !important; 189 | } 190 | .reveal section img { 191 | display: block; 192 | margin: 15px 0px; 193 | background: rgba(255,255,255,1); 194 | border: 1px solid #666; 195 | box-shadow: none; 196 | } 197 | 198 | .reveal section small { 199 | font-size: 0.8em; 200 | } 201 | 202 | } -------------------------------------------------------------------------------- /css/print/pdf.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This stylesheet is used to print reveal.js 3 | * presentations to PDF. 4 | * 5 | * https://github.com/hakimel/reveal.js#pdf-export 6 | */ 7 | 8 | * { 9 | -webkit-print-color-adjust: exact; 10 | } 11 | 12 | body { 13 | margin: 0 auto !important; 14 | border: 0; 15 | padding: 0; 16 | float: none !important; 17 | overflow: visible; 18 | } 19 | 20 | html { 21 | width: 100%; 22 | height: 100%; 23 | overflow: visible; 24 | } 25 | 26 | /* Remove any elements not needed in print. */ 27 | .nestedarrow, 28 | .reveal .controls, 29 | .reveal .progress, 30 | .reveal .playback, 31 | .reveal.overview, 32 | .fork-reveal, 33 | .share-reveal, 34 | .state-background { 35 | display: none !important; 36 | } 37 | 38 | h1, h2, h3, h4, h5, h6 { 39 | text-shadow: 0 0 0 #000 !important; 40 | } 41 | 42 | .reveal pre code { 43 | overflow: hidden !important; 44 | font-family: Courier, 'Courier New', monospace !important; 45 | } 46 | 47 | ul, ol, div, p { 48 | visibility: visible; 49 | position: static; 50 | width: auto; 51 | height: auto; 52 | display: block; 53 | overflow: visible; 54 | margin: auto; 55 | } 56 | .reveal { 57 | width: auto !important; 58 | height: auto !important; 59 | overflow: hidden !important; 60 | } 61 | .reveal .slides { 62 | position: static; 63 | width: 100%; 64 | height: auto; 65 | 66 | left: auto; 67 | top: auto; 68 | margin: 0 !important; 69 | padding: 0 !important; 70 | 71 | overflow: visible; 72 | display: block; 73 | 74 | -webkit-perspective: none; 75 | -moz-perspective: none; 76 | -ms-perspective: none; 77 | perspective: none; 78 | 79 | -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */ 80 | -moz-perspective-origin: 50% 50%; 81 | -ms-perspective-origin: 50% 50%; 82 | perspective-origin: 50% 50%; 83 | } 84 | 85 | .reveal .slides section { 86 | page-break-after: always !important; 87 | 88 | visibility: visible !important; 89 | position: relative !important; 90 | display: block !important; 91 | position: relative !important; 92 | 93 | margin: 0 !important; 94 | padding: 0 !important; 95 | box-sizing: border-box !important; 96 | min-height: 1px; 97 | 98 | opacity: 1 !important; 99 | 100 | -webkit-transform-style: flat !important; 101 | -moz-transform-style: flat !important; 102 | -ms-transform-style: flat !important; 103 | transform-style: flat !important; 104 | 105 | -webkit-transform: none !important; 106 | -moz-transform: none !important; 107 | -ms-transform: none !important; 108 | transform: none !important; 109 | } 110 | 111 | .reveal section.stack { 112 | margin: 0 !important; 113 | padding: 0 !important; 114 | page-break-after: avoid !important; 115 | height: auto !important; 116 | min-height: auto !important; 117 | } 118 | 119 | .reveal img { 120 | box-shadow: none; 121 | } 122 | 123 | .reveal .roll { 124 | overflow: visible; 125 | line-height: 1em; 126 | } 127 | 128 | /* Slide backgrounds are placed inside of their slide when exporting to PDF */ 129 | .reveal section .slide-background { 130 | display: block !important; 131 | position: absolute; 132 | top: 0; 133 | left: 0; 134 | width: 100%; 135 | z-index: -1; 136 | } 137 | 138 | /* All elements should be above the slide-background */ 139 | .reveal section>* { 140 | position: relative; 141 | z-index: 1; 142 | } 143 | 144 | /* Display slide speaker notes when 'showNotes' is enabled */ 145 | .reveal .speaker-notes-pdf { 146 | display: block; 147 | width: 100%; 148 | max-height: none; 149 | left: auto; 150 | top: auto; 151 | z-index: 100; 152 | } 153 | 154 | /* Display slide numbers when 'slideNumber' is enabled */ 155 | .reveal .slide-number-pdf { 156 | display: block; 157 | position: absolute; 158 | font-size: 14px; 159 | } 160 | 161 | -------------------------------------------------------------------------------- /css/theme/README.md: -------------------------------------------------------------------------------- 1 | ## Dependencies 2 | 3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#full-setup 4 | 5 | ## Creating a Theme 6 | 7 | To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `grunt css-themes`. 8 | 9 | Each theme file does four things in the following order: 10 | 11 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** 12 | Shared utility functions. 13 | 14 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** 15 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. 16 | 17 | 3. **Override** 18 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding any selectors and styles you please. 19 | 20 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** 21 | The template theme file which will generate final CSS output based on the currently defined variables. 22 | -------------------------------------------------------------------------------- /css/theme/moon.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | @import url(../../lib/font/league-gothic/league-gothic.css); 6 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 7 | /** 8 | * Solarized colors by Ethan Schoonover 9 | */ 10 | html * { 11 | color-profile: sRGB; 12 | rendering-intent: auto; } 13 | 14 | /********************************************* 15 | * GLOBAL STYLES 16 | *********************************************/ 17 | body { 18 | background: #002b36; 19 | background-color: #002b36; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 36px; 24 | font-weight: normal; 25 | color: #93a1a1; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: #d33682; 30 | text-shadow: none; } 31 | 32 | .reveal .slides > section, 33 | .reveal .slides > section > section { 34 | line-height: 1.3; 35 | font-weight: inherit; } 36 | 37 | /********************************************* 38 | * HEADERS 39 | *********************************************/ 40 | .reveal h1, 41 | .reveal h2, 42 | .reveal h3, 43 | .reveal h4, 44 | .reveal h5, 45 | .reveal h6 { 46 | margin: 0 0 20px 0; 47 | color: #eee8d5; 48 | font-family: "League Gothic", Impact, sans-serif; 49 | font-weight: normal; 50 | line-height: 1.2; 51 | letter-spacing: normal; 52 | text-transform: uppercase; 53 | text-shadow: none; 54 | word-wrap: break-word; } 55 | 56 | .reveal h1 { 57 | font-size: 3.77em; } 58 | 59 | .reveal h2 { 60 | font-size: 2.11em; } 61 | 62 | .reveal h3 { 63 | font-size: 1.55em; } 64 | 65 | .reveal h4 { 66 | font-size: 1em; } 67 | 68 | .reveal h1 { 69 | text-shadow: none; } 70 | 71 | /********************************************* 72 | * OTHER 73 | *********************************************/ 74 | .reveal p { 75 | margin: 20px 0; 76 | line-height: 1.3; } 77 | 78 | /* Ensure certain elements are never larger than the slide itself */ 79 | .reveal img, 80 | .reveal video, 81 | .reveal iframe { 82 | max-width: 95%; 83 | max-height: 95%; } 84 | 85 | .reveal strong, 86 | .reveal b { 87 | font-weight: bold; } 88 | 89 | .reveal em { 90 | font-style: italic; } 91 | 92 | .reveal ol, 93 | .reveal dl, 94 | .reveal ul { 95 | display: inline-block; 96 | text-align: left; 97 | margin: 0 0 0 1em; } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; } 101 | 102 | .reveal ul { 103 | list-style-type: disc; } 104 | 105 | .reveal ul ul { 106 | list-style-type: square; } 107 | 108 | .reveal ul ul ul { 109 | list-style-type: circle; } 110 | 111 | .reveal ul ul, 112 | .reveal ul ol, 113 | .reveal ol ol, 114 | .reveal ol ul { 115 | display: block; 116 | margin-left: 40px; } 117 | 118 | .reveal dt { 119 | font-weight: bold; } 120 | 121 | .reveal dd { 122 | margin-left: 40px; } 123 | 124 | .reveal q, 125 | .reveal blockquote { 126 | quotes: none; } 127 | 128 | .reveal blockquote { 129 | display: block; 130 | position: relative; 131 | width: 70%; 132 | margin: 20px auto; 133 | padding: 5px; 134 | font-style: italic; 135 | background: rgba(255, 255, 255, 0.05); 136 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 137 | 138 | .reveal blockquote p:first-child, 139 | .reveal blockquote p:last-child { 140 | display: inline-block; } 141 | 142 | .reveal q { 143 | font-style: italic; } 144 | 145 | .reveal pre { 146 | display: block; 147 | position: relative; 148 | width: 90%; 149 | margin: 20px auto; 150 | text-align: left; 151 | font-size: 0.55em; 152 | font-family: monospace; 153 | line-height: 1.2em; 154 | word-wrap: break-word; 155 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 156 | 157 | .reveal code { 158 | font-family: monospace; } 159 | 160 | .reveal pre code { 161 | display: block; 162 | padding: 5px; 163 | overflow: auto; 164 | max-height: 400px; 165 | word-wrap: normal; } 166 | 167 | .reveal table { 168 | margin: auto; 169 | border-collapse: collapse; 170 | border-spacing: 0; } 171 | 172 | .reveal table th { 173 | font-weight: bold; } 174 | 175 | .reveal table th, 176 | .reveal table td { 177 | text-align: left; 178 | padding: 0.2em 0.5em 0.2em 0.5em; 179 | border-bottom: 1px solid; } 180 | 181 | .reveal table th[align="center"], 182 | .reveal table td[align="center"] { 183 | text-align: center; } 184 | 185 | .reveal table th[align="right"], 186 | .reveal table td[align="right"] { 187 | text-align: right; } 188 | 189 | .reveal table tr:last-child td { 190 | border-bottom: none; } 191 | 192 | .reveal sup { 193 | vertical-align: super; } 194 | 195 | .reveal sub { 196 | vertical-align: sub; } 197 | 198 | .reveal small { 199 | display: inline-block; 200 | font-size: 0.6em; 201 | line-height: 1.2em; 202 | vertical-align: top; } 203 | 204 | .reveal small * { 205 | vertical-align: top; } 206 | 207 | /********************************************* 208 | * LINKS 209 | *********************************************/ 210 | .reveal a { 211 | color: #268bd2; 212 | text-decoration: none; 213 | -webkit-transition: color 0.15s ease; 214 | -moz-transition: color 0.15s ease; 215 | transition: color 0.15s ease; } 216 | 217 | .reveal a:hover { 218 | color: #78b9e6; 219 | text-shadow: none; 220 | border: none; } 221 | 222 | .reveal .roll span:after { 223 | color: #fff; 224 | background: #1a6091; } 225 | 226 | /********************************************* 227 | * IMAGES 228 | *********************************************/ 229 | .reveal section img { 230 | margin: 15px 0px; 231 | background: rgba(255, 255, 255, 0.12); 232 | border: 4px solid #93a1a1; 233 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 234 | 235 | .reveal section img.plain { 236 | border: 0; 237 | box-shadow: none; } 238 | 239 | .reveal a img { 240 | -webkit-transition: all 0.15s linear; 241 | -moz-transition: all 0.15s linear; 242 | transition: all 0.15s linear; } 243 | 244 | .reveal a:hover img { 245 | background: rgba(255, 255, 255, 0.2); 246 | border-color: #268bd2; 247 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 248 | 249 | /********************************************* 250 | * NAVIGATION CONTROLS 251 | *********************************************/ 252 | .reveal .controls .navigate-left, 253 | .reveal .controls .navigate-left.enabled { 254 | border-right-color: #268bd2; } 255 | 256 | .reveal .controls .navigate-right, 257 | .reveal .controls .navigate-right.enabled { 258 | border-left-color: #268bd2; } 259 | 260 | .reveal .controls .navigate-up, 261 | .reveal .controls .navigate-up.enabled { 262 | border-bottom-color: #268bd2; } 263 | 264 | .reveal .controls .navigate-down, 265 | .reveal .controls .navigate-down.enabled { 266 | border-top-color: #268bd2; } 267 | 268 | .reveal .controls .navigate-left.enabled:hover { 269 | border-right-color: #78b9e6; } 270 | 271 | .reveal .controls .navigate-right.enabled:hover { 272 | border-left-color: #78b9e6; } 273 | 274 | .reveal .controls .navigate-up.enabled:hover { 275 | border-bottom-color: #78b9e6; } 276 | 277 | .reveal .controls .navigate-down.enabled:hover { 278 | border-top-color: #78b9e6; } 279 | 280 | /********************************************* 281 | * PROGRESS BAR 282 | *********************************************/ 283 | .reveal .progress { 284 | background: rgba(0, 0, 0, 0.2); } 285 | 286 | .reveal .progress span { 287 | background: #268bd2; 288 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 289 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 291 | -------------------------------------------------------------------------------- /css/theme/night.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 8 | /********************************************* 9 | * GLOBAL STYLES 10 | *********************************************/ 11 | body { 12 | background: #111; 13 | background-color: #111; } 14 | 15 | .reveal { 16 | font-family: "Open Sans", sans-serif; 17 | font-size: 30px; 18 | font-weight: normal; 19 | color: #eee; } 20 | 21 | ::selection { 22 | color: #fff; 23 | background: #e7ad52; 24 | text-shadow: none; } 25 | 26 | .reveal .slides > section, 27 | .reveal .slides > section > section { 28 | line-height: 1.3; 29 | font-weight: inherit; } 30 | 31 | /********************************************* 32 | * HEADERS 33 | *********************************************/ 34 | .reveal h1, 35 | .reveal h2, 36 | .reveal h3, 37 | .reveal h4, 38 | .reveal h5, 39 | .reveal h6 { 40 | margin: 0 0 20px 0; 41 | color: #eee; 42 | font-family: "Montserrat", Impact, sans-serif; 43 | font-weight: normal; 44 | line-height: 1.2; 45 | letter-spacing: -0.03em; 46 | text-transform: none; 47 | text-shadow: none; 48 | word-wrap: break-word; } 49 | 50 | .reveal h1 { 51 | font-size: 3.77em; } 52 | 53 | .reveal h2 { 54 | font-size: 2.11em; } 55 | 56 | .reveal h3 { 57 | font-size: 1.55em; } 58 | 59 | .reveal h4 { 60 | font-size: 1em; } 61 | 62 | .reveal h1 { 63 | text-shadow: none; } 64 | 65 | /********************************************* 66 | * OTHER 67 | *********************************************/ 68 | .reveal p { 69 | margin: 20px 0; 70 | line-height: 1.3; } 71 | 72 | /* Ensure certain elements are never larger than the slide itself */ 73 | .reveal img, 74 | .reveal video, 75 | .reveal iframe { 76 | max-width: 95%; 77 | max-height: 95%; } 78 | 79 | .reveal strong, 80 | .reveal b { 81 | font-weight: bold; } 82 | 83 | .reveal em { 84 | font-style: italic; } 85 | 86 | .reveal ol, 87 | .reveal dl, 88 | .reveal ul { 89 | display: inline-block; 90 | text-align: left; 91 | margin: 0 0 0 1em; } 92 | 93 | .reveal ol { 94 | list-style-type: decimal; } 95 | 96 | .reveal ul { 97 | list-style-type: disc; } 98 | 99 | .reveal ul ul { 100 | list-style-type: square; } 101 | 102 | .reveal ul ul ul { 103 | list-style-type: circle; } 104 | 105 | .reveal ul ul, 106 | .reveal ul ol, 107 | .reveal ol ol, 108 | .reveal ol ul { 109 | display: block; 110 | margin-left: 40px; } 111 | 112 | .reveal dt { 113 | font-weight: bold; } 114 | 115 | .reveal dd { 116 | margin-left: 40px; } 117 | 118 | .reveal q, 119 | .reveal blockquote { 120 | quotes: none; } 121 | 122 | .reveal blockquote { 123 | display: block; 124 | position: relative; 125 | width: 70%; 126 | margin: 20px auto; 127 | padding: 5px; 128 | font-style: italic; 129 | background: rgba(255, 255, 255, 0.05); 130 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 131 | 132 | .reveal blockquote p:first-child, 133 | .reveal blockquote p:last-child { 134 | display: inline-block; } 135 | 136 | .reveal q { 137 | font-style: italic; } 138 | 139 | .reveal pre { 140 | display: block; 141 | position: relative; 142 | width: 90%; 143 | margin: 20px auto; 144 | text-align: left; 145 | font-size: 0.55em; 146 | font-family: monospace; 147 | line-height: 1.2em; 148 | word-wrap: break-word; 149 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 150 | 151 | .reveal code { 152 | font-family: monospace; } 153 | 154 | .reveal pre code { 155 | display: block; 156 | padding: 5px; 157 | overflow: auto; 158 | max-height: 400px; 159 | word-wrap: normal; } 160 | 161 | .reveal table { 162 | margin: auto; 163 | border-collapse: collapse; 164 | border-spacing: 0; } 165 | 166 | .reveal table th { 167 | font-weight: bold; } 168 | 169 | .reveal table th, 170 | .reveal table td { 171 | text-align: left; 172 | padding: 0.2em 0.5em 0.2em 0.5em; 173 | border-bottom: 1px solid; } 174 | 175 | .reveal table th[align="center"], 176 | .reveal table td[align="center"] { 177 | text-align: center; } 178 | 179 | .reveal table th[align="right"], 180 | .reveal table td[align="right"] { 181 | text-align: right; } 182 | 183 | .reveal table tr:last-child td { 184 | border-bottom: none; } 185 | 186 | .reveal sup { 187 | vertical-align: super; } 188 | 189 | .reveal sub { 190 | vertical-align: sub; } 191 | 192 | .reveal small { 193 | display: inline-block; 194 | font-size: 0.6em; 195 | line-height: 1.2em; 196 | vertical-align: top; } 197 | 198 | .reveal small * { 199 | vertical-align: top; } 200 | 201 | /********************************************* 202 | * LINKS 203 | *********************************************/ 204 | .reveal a { 205 | color: #e7ad52; 206 | text-decoration: none; 207 | -webkit-transition: color 0.15s ease; 208 | -moz-transition: color 0.15s ease; 209 | transition: color 0.15s ease; } 210 | 211 | .reveal a:hover { 212 | color: #f3d7ac; 213 | text-shadow: none; 214 | border: none; } 215 | 216 | .reveal .roll span:after { 217 | color: #fff; 218 | background: #d08a1d; } 219 | 220 | /********************************************* 221 | * IMAGES 222 | *********************************************/ 223 | .reveal section img { 224 | margin: 15px 0px; 225 | background: rgba(255, 255, 255, 0.12); 226 | border: 4px solid #eee; 227 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 228 | 229 | .reveal section img.plain { 230 | border: 0; 231 | box-shadow: none; } 232 | 233 | .reveal a img { 234 | -webkit-transition: all 0.15s linear; 235 | -moz-transition: all 0.15s linear; 236 | transition: all 0.15s linear; } 237 | 238 | .reveal a:hover img { 239 | background: rgba(255, 255, 255, 0.2); 240 | border-color: #e7ad52; 241 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 242 | 243 | /********************************************* 244 | * NAVIGATION CONTROLS 245 | *********************************************/ 246 | .reveal .controls .navigate-left, 247 | .reveal .controls .navigate-left.enabled { 248 | border-right-color: #e7ad52; } 249 | 250 | .reveal .controls .navigate-right, 251 | .reveal .controls .navigate-right.enabled { 252 | border-left-color: #e7ad52; } 253 | 254 | .reveal .controls .navigate-up, 255 | .reveal .controls .navigate-up.enabled { 256 | border-bottom-color: #e7ad52; } 257 | 258 | .reveal .controls .navigate-down, 259 | .reveal .controls .navigate-down.enabled { 260 | border-top-color: #e7ad52; } 261 | 262 | .reveal .controls .navigate-left.enabled:hover { 263 | border-right-color: #f3d7ac; } 264 | 265 | .reveal .controls .navigate-right.enabled:hover { 266 | border-left-color: #f3d7ac; } 267 | 268 | .reveal .controls .navigate-up.enabled:hover { 269 | border-bottom-color: #f3d7ac; } 270 | 271 | .reveal .controls .navigate-down.enabled:hover { 272 | border-top-color: #f3d7ac; } 273 | 274 | /********************************************* 275 | * PROGRESS BAR 276 | *********************************************/ 277 | .reveal .progress { 278 | background: rgba(0, 0, 0, 0.2); } 279 | 280 | .reveal .progress span { 281 | background: #e7ad52; 282 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 283 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 284 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 285 | -------------------------------------------------------------------------------- /css/theme/serif.css: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is brown. 4 | * 5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. 6 | */ 7 | .reveal a { 8 | line-height: 1.3em; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #F0F1EB; 15 | background-color: #F0F1EB; } 16 | 17 | .reveal { 18 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 19 | font-size: 36px; 20 | font-weight: normal; 21 | color: #000; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #26351C; 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #383D3D; 44 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 45 | font-weight: normal; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: none; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 3.77em; } 54 | 55 | .reveal h2 { 56 | font-size: 2.11em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.55em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tr:last-child td { 186 | border-bottom: none; } 187 | 188 | .reveal sup { 189 | vertical-align: super; } 190 | 191 | .reveal sub { 192 | vertical-align: sub; } 193 | 194 | .reveal small { 195 | display: inline-block; 196 | font-size: 0.6em; 197 | line-height: 1.2em; 198 | vertical-align: top; } 199 | 200 | .reveal small * { 201 | vertical-align: top; } 202 | 203 | /********************************************* 204 | * LINKS 205 | *********************************************/ 206 | .reveal a { 207 | color: #51483D; 208 | text-decoration: none; 209 | -webkit-transition: color 0.15s ease; 210 | -moz-transition: color 0.15s ease; 211 | transition: color 0.15s ease; } 212 | 213 | .reveal a:hover { 214 | color: #8b7c69; 215 | text-shadow: none; 216 | border: none; } 217 | 218 | .reveal .roll span:after { 219 | color: #fff; 220 | background: #25211c; } 221 | 222 | /********************************************* 223 | * IMAGES 224 | *********************************************/ 225 | .reveal section img { 226 | margin: 15px 0px; 227 | background: rgba(255, 255, 255, 0.12); 228 | border: 4px solid #000; 229 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 230 | 231 | .reveal section img.plain { 232 | border: 0; 233 | box-shadow: none; } 234 | 235 | .reveal a img { 236 | -webkit-transition: all 0.15s linear; 237 | -moz-transition: all 0.15s linear; 238 | transition: all 0.15s linear; } 239 | 240 | .reveal a:hover img { 241 | background: rgba(255, 255, 255, 0.2); 242 | border-color: #51483D; 243 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 244 | 245 | /********************************************* 246 | * NAVIGATION CONTROLS 247 | *********************************************/ 248 | .reveal .controls .navigate-left, 249 | .reveal .controls .navigate-left.enabled { 250 | border-right-color: #51483D; } 251 | 252 | .reveal .controls .navigate-right, 253 | .reveal .controls .navigate-right.enabled { 254 | border-left-color: #51483D; } 255 | 256 | .reveal .controls .navigate-up, 257 | .reveal .controls .navigate-up.enabled { 258 | border-bottom-color: #51483D; } 259 | 260 | .reveal .controls .navigate-down, 261 | .reveal .controls .navigate-down.enabled { 262 | border-top-color: #51483D; } 263 | 264 | .reveal .controls .navigate-left.enabled:hover { 265 | border-right-color: #8b7c69; } 266 | 267 | .reveal .controls .navigate-right.enabled:hover { 268 | border-left-color: #8b7c69; } 269 | 270 | .reveal .controls .navigate-up.enabled:hover { 271 | border-bottom-color: #8b7c69; } 272 | 273 | .reveal .controls .navigate-down.enabled:hover { 274 | border-top-color: #8b7c69; } 275 | 276 | /********************************************* 277 | * PROGRESS BAR 278 | *********************************************/ 279 | .reveal .progress { 280 | background: rgba(0, 0, 0, 0.2); } 281 | 282 | .reveal .progress span { 283 | background: #51483D; 284 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 285 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 287 | -------------------------------------------------------------------------------- /css/theme/source/beige.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Beige theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(../../lib/font/league-gothic/league-gothic.css); 17 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainColor: #333; 22 | $headingColor: #333; 23 | $headingTextShadow: none; 24 | $backgroundColor: #f7f3de; 25 | $linkColor: #8b743d; 26 | $linkColorHover: lighten( $linkColor, 20% ); 27 | $selectionBackgroundColor: rgba(79, 64, 28, 0.99); 28 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 29 | 30 | // Background generator 31 | @mixin bodyBackground() { 32 | @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) ); 33 | } 34 | 35 | 36 | 37 | // Theme template ------------------------------ 38 | @import "../template/theme"; 39 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/source/black.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #222; 20 | 21 | $mainColor: #fff; 22 | $headingColor: #fff; 23 | 24 | $mainFontSize: 38px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #42affa; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | section.has-light-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #222; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/source/blood.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Blood theme for reveal.js 3 | * Author: Walther http://github.com/Walther 4 | * 5 | * Designed to be used with highlight.js theme 6 | * "monokai_sublime.css" available from 7 | * https://github.com/isagalaev/highlight.js/ 8 | * 9 | * For other themes, change $codeBackground accordingly. 10 | * 11 | */ 12 | 13 | // Default mixins and settings ----------------- 14 | @import "../template/mixins"; 15 | @import "../template/settings"; 16 | // --------------------------------------------- 17 | 18 | // Include theme-specific fonts 19 | 20 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic); 21 | 22 | // Colors used in the theme 23 | $blood: #a23; 24 | $coal: #222; 25 | $codeBackground: #23241f; 26 | 27 | $backgroundColor: $coal; 28 | 29 | // Main text 30 | $mainFont: Ubuntu, 'sans-serif'; 31 | $mainFontSize: 36px; 32 | $mainColor: #eee; 33 | 34 | // Headings 35 | $headingFont: Ubuntu, 'sans-serif'; 36 | $headingTextShadow: 2px 2px 2px $coal; 37 | 38 | // h1 shadow, borrowed humbly from 39 | // (c) Default theme by Hakim El Hattab 40 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 41 | 42 | // Links 43 | $linkColor: $blood; 44 | $linkColorHover: lighten( $linkColor, 20% ); 45 | 46 | // Text selection 47 | $selectionBackgroundColor: $blood; 48 | $selectionColor: #fff; 49 | 50 | 51 | // Theme template ------------------------------ 52 | @import "../template/theme"; 53 | // --------------------------------------------- 54 | 55 | // some overrides after theme template import 56 | 57 | .reveal p { 58 | font-weight: 300; 59 | text-shadow: 1px 1px $coal; 60 | } 61 | 62 | .reveal h1, 63 | .reveal h2, 64 | .reveal h3, 65 | .reveal h4, 66 | .reveal h5, 67 | .reveal h6 { 68 | font-weight: 700; 69 | } 70 | 71 | .reveal p code { 72 | background-color: $codeBackground; 73 | display: inline-block; 74 | border-radius: 7px; 75 | } 76 | 77 | .reveal small code { 78 | vertical-align: baseline; 79 | } -------------------------------------------------------------------------------- /css/theme/source/league.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * League theme for reveal.js. 3 | * 4 | * This was the default theme pre-3.0.0. 5 | * 6 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(../../lib/font/league-gothic/league-gothic.css); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | // Override theme settings (see ../template/settings.scss) 22 | $headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2); 23 | $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15); 24 | 25 | // Background generator 26 | @mixin bodyBackground() { 27 | @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) ); 28 | } 29 | 30 | 31 | 32 | // Theme template ------------------------------ 33 | @import "../template/theme"; 34 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/source/moon.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | /** 19 | * Solarized colors by Ethan Schoonover 20 | */ 21 | html * { 22 | color-profile: sRGB; 23 | rendering-intent: auto; 24 | } 25 | 26 | // Solarized colors 27 | $base03: #002b36; 28 | $base02: #073642; 29 | $base01: #586e75; 30 | $base00: #657b83; 31 | $base0: #839496; 32 | $base1: #93a1a1; 33 | $base2: #eee8d5; 34 | $base3: #fdf6e3; 35 | $yellow: #b58900; 36 | $orange: #cb4b16; 37 | $red: #dc322f; 38 | $magenta: #d33682; 39 | $violet: #6c71c4; 40 | $blue: #268bd2; 41 | $cyan: #2aa198; 42 | $green: #859900; 43 | 44 | // Override theme settings (see ../template/settings.scss) 45 | $mainColor: $base1; 46 | $headingColor: $base2; 47 | $headingTextShadow: none; 48 | $backgroundColor: $base03; 49 | $linkColor: $blue; 50 | $linkColorHover: lighten( $linkColor, 20% ); 51 | $selectionBackgroundColor: $magenta; 52 | 53 | 54 | 55 | // Theme template ------------------------------ 56 | @import "../template/theme"; 57 | // --------------------------------------------- 58 | -------------------------------------------------------------------------------- /css/theme/source/night.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 16 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 17 | 18 | 19 | // Override theme settings (see ../template/settings.scss) 20 | $backgroundColor: #111; 21 | 22 | $mainFont: 'Open Sans', sans-serif; 23 | $linkColor: #e7ad52; 24 | $linkColorHover: lighten( $linkColor, 20% ); 25 | $headingFont: 'Montserrat', Impact, sans-serif; 26 | $headingTextShadow: none; 27 | $headingLetterSpacing: -0.03em; 28 | $headingTextTransform: none; 29 | $selectionBackgroundColor: #e7ad52; 30 | $mainFontSize: 30px; 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/source/serif.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is brown. 4 | * 5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. 6 | */ 7 | 8 | 9 | // Default mixins and settings ----------------- 10 | @import "../template/mixins"; 11 | @import "../template/settings"; 12 | // --------------------------------------------- 13 | 14 | 15 | 16 | // Override theme settings (see ../template/settings.scss) 17 | $mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 18 | $mainColor: #000; 19 | $headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; 20 | $headingColor: #383D3D; 21 | $headingTextShadow: none; 22 | $headingTextTransform: none; 23 | $backgroundColor: #F0F1EB; 24 | $linkColor: #51483D; 25 | $linkColorHover: lighten( $linkColor, 20% ); 26 | $selectionBackgroundColor: #26351C; 27 | 28 | .reveal a { 29 | line-height: 1.3em; 30 | } 31 | 32 | 33 | // Theme template ------------------------------ 34 | @import "../template/theme"; 35 | // --------------------------------------------- 36 | -------------------------------------------------------------------------------- /css/theme/source/simple.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | 9 | 10 | // Default mixins and settings ----------------- 11 | @import "../template/mixins"; 12 | @import "../template/settings"; 13 | // --------------------------------------------- 14 | 15 | 16 | 17 | // Include theme-specific fonts 18 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 19 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 20 | 21 | 22 | // Override theme settings (see ../template/settings.scss) 23 | $mainFont: 'Lato', sans-serif; 24 | $mainColor: #000; 25 | $headingFont: 'News Cycle', Impact, sans-serif; 26 | $headingColor: #000; 27 | $headingTextShadow: none; 28 | $headingTextTransform: none; 29 | $backgroundColor: #fff; 30 | $linkColor: #00008B; 31 | $linkColorHover: lighten( $linkColor, 20% ); 32 | $selectionBackgroundColor: rgba(0, 0, 0, 0.99); 33 | 34 | 35 | 36 | // Theme template ------------------------------ 37 | @import "../template/theme"; 38 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/source/sky.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | 15 | // Include theme-specific fonts 16 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 17 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 18 | 19 | 20 | // Override theme settings (see ../template/settings.scss) 21 | $mainFont: 'Open Sans', sans-serif; 22 | $mainColor: #333; 23 | $headingFont: 'Quicksand', sans-serif; 24 | $headingColor: #333; 25 | $headingLetterSpacing: -0.08em; 26 | $headingTextShadow: none; 27 | $backgroundColor: #f7fbfc; 28 | $linkColor: #3b759e; 29 | $linkColorHover: lighten( $linkColor, 20% ); 30 | $selectionBackgroundColor: #134674; 31 | 32 | // Fix links so they are not cut off 33 | .reveal a { 34 | line-height: 1.3em; 35 | } 36 | 37 | // Background generator 38 | @mixin bodyBackground() { 39 | @include radial-gradient( #add9e4, #f7fbfc ); 40 | } 41 | 42 | 43 | 44 | // Theme template ------------------------------ 45 | @import "../template/theme"; 46 | // --------------------------------------------- 47 | -------------------------------------------------------------------------------- /css/theme/source/solarized.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Light theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | 6 | 7 | // Default mixins and settings ----------------- 8 | @import "../template/mixins"; 9 | @import "../template/settings"; 10 | // --------------------------------------------- 11 | 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/league-gothic/league-gothic.css); 16 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 17 | 18 | 19 | /** 20 | * Solarized colors by Ethan Schoonover 21 | */ 22 | html * { 23 | color-profile: sRGB; 24 | rendering-intent: auto; 25 | } 26 | 27 | // Solarized colors 28 | $base03: #002b36; 29 | $base02: #073642; 30 | $base01: #586e75; 31 | $base00: #657b83; 32 | $base0: #839496; 33 | $base1: #93a1a1; 34 | $base2: #eee8d5; 35 | $base3: #fdf6e3; 36 | $yellow: #b58900; 37 | $orange: #cb4b16; 38 | $red: #dc322f; 39 | $magenta: #d33682; 40 | $violet: #6c71c4; 41 | $blue: #268bd2; 42 | $cyan: #2aa198; 43 | $green: #859900; 44 | 45 | // Override theme settings (see ../template/settings.scss) 46 | $mainColor: $base00; 47 | $headingColor: $base01; 48 | $headingTextShadow: none; 49 | $backgroundColor: $base3; 50 | $linkColor: $blue; 51 | $linkColorHover: lighten( $linkColor, 20% ); 52 | $selectionBackgroundColor: $magenta; 53 | 54 | // Background generator 55 | // @mixin bodyBackground() { 56 | // @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) ); 57 | // } 58 | 59 | 60 | 61 | // Theme template ------------------------------ 62 | @import "../template/theme"; 63 | // --------------------------------------------- 64 | -------------------------------------------------------------------------------- /css/theme/source/white.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * White theme for reveal.js. This is the opposite of the 'black' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | 8 | // Default mixins and settings ----------------- 9 | @import "../template/mixins"; 10 | @import "../template/settings"; 11 | // --------------------------------------------- 12 | 13 | 14 | // Include theme-specific fonts 15 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 16 | 17 | 18 | // Override theme settings (see ../template/settings.scss) 19 | $backgroundColor: #fff; 20 | 21 | $mainColor: #222; 22 | $headingColor: #222; 23 | 24 | $mainFontSize: 38px; 25 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 26 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 27 | $headingTextShadow: none; 28 | $headingLetterSpacing: normal; 29 | $headingTextTransform: uppercase; 30 | $headingFontWeight: 600; 31 | $linkColor: #2a76dd; 32 | $linkColorHover: lighten( $linkColor, 15% ); 33 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 34 | 35 | $heading1Size: 2.5em; 36 | $heading2Size: 1.6em; 37 | $heading3Size: 1.3em; 38 | $heading4Size: 1.0em; 39 | 40 | section.has-dark-background { 41 | &, h1, h2, h3, h4, h5, h6 { 42 | color: #fff; 43 | } 44 | } 45 | 46 | 47 | // Theme template ------------------------------ 48 | @import "../template/theme"; 49 | // --------------------------------------------- -------------------------------------------------------------------------------- /css/theme/template/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } -------------------------------------------------------------------------------- /css/theme/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Vertical spacing between blocks of text 13 | $blockMargin: 20px; 14 | 15 | // Headings 16 | $headingMargin: 0 0 $blockMargin 0; 17 | $headingFont: 'League Gothic', Impact, sans-serif; 18 | $headingColor: #eee; 19 | $headingLineHeight: 1.2; 20 | $headingLetterSpacing: normal; 21 | $headingTextTransform: uppercase; 22 | $headingTextShadow: none; 23 | $headingFontWeight: normal; 24 | $heading1TextShadow: $headingTextShadow; 25 | 26 | $heading1Size: 3.77em; 27 | $heading2Size: 2.11em; 28 | $heading3Size: 1.55em; 29 | $heading4Size: 1.00em; 30 | 31 | // Links and actions 32 | $linkColor: #13DAEC; 33 | $linkColorHover: lighten( $linkColor, 20% ); 34 | 35 | // Text selection 36 | $selectionBackgroundColor: #FF5E99; 37 | $selectionColor: #fff; 38 | 39 | // Generates the presentation background, can be overridden 40 | // to return a background image or gradient 41 | @mixin bodyBackground() { 42 | background: $backgroundColor; 43 | } -------------------------------------------------------------------------------- /graphs/deep_nn_chars_filled_in.py: -------------------------------------------------------------------------------- 1 | g = PGM([5.1, 3.9], origin=[0.5, 0.4]) 2 | 3 | input_layer = helpers.layer( 4 | g, 5 | [0, 1, 0, 0, 0], 6 | 1, 4, spacing=0.75) 7 | hidden_layers = [ 8 | helpers.layer( 9 | g, 10 | [f'$h_{{{i},{j}}}$' for j in range(3)], 11 | 2 + (1 * i), 3.25, 12 | spacing=0.75, observed=True) 13 | for i in range(3) 14 | ] 15 | output_layer = helpers.layer( 16 | g, 17 | [1, 0, 0, 0, 0], 18 | 5, 4, spacing=0.75) 19 | 20 | helpers.fully_connect(g, input_layer, hidden_layers[0]) 21 | helpers.fully_connect(g, hidden_layers[0], hidden_layers[1]) 22 | helpers.fully_connect(g, hidden_layers[1], hidden_layers[2]) 23 | helpers.fully_connect(g, hidden_layers[2], output_layer) 24 | 25 | helpers.add_label_range( 26 | g, 27 | ['a', 'b', 'c', 'd', 'e'], 28 | 0.6, 4, spacing=0.75, direction='V', 29 | color='blue', size='medium', weight='bold', 30 | overrides={'b': {'color': 'red'}}) 31 | helpers.add_label_range( 32 | g, 33 | ['a', 'b', 'c', 'd', 'e'], 34 | 5.4, 4, spacing=0.75, direction='V', 35 | color='blue', size='medium', weight='bold', 36 | overrides={'a': {'color': 'red'}}) 37 | 38 | helpers.add_label(g, '...etc.', 1, 0.5, weight='bold') 39 | helpers.add_label(g, '...etc.', 5, 0.5, weight='bold') 40 | -------------------------------------------------------------------------------- /graphs/full_text_generation_architecture.py: -------------------------------------------------------------------------------- 1 | ONE_HOT_SIZE = 5 2 | HIDDEN_LAYER_SIZE = 5 3 | NUM_HIDDEN_LAYERS = 3 4 | 5 | SEQUENCE_LENGTH = 30 6 | UNROLLED = False 7 | 8 | g = PGM([9, 10], origin=[0, 0]) 9 | 10 | input_char = g.add_node(Node('input_char', '$x$', 1.25, 2)) 11 | input_one_hot = helpers.layer( 12 | g, 13 | [f'$xo_{i}$' for i in range(ONE_HOT_SIZE)], 14 | 2.25, 3.5, spacing=0.75) 15 | helpers.fully_connect(g, [input_char], input_one_hot) 16 | 17 | hidden_layers = [ 18 | helpers.layer( 19 | g, 20 | [f'$h_{{{i,j}}}$' for j in range(HIDDEN_LAYER_SIZE)], 21 | 3.5 + i, 22 | 3.5, 23 | spacing=0.75, 24 | observed=True) 25 | for i in range(NUM_HIDDEN_LAYERS) 26 | ] 27 | helpers.fully_connect(g, input_one_hot, hidden_layers[0]) 28 | for i in range(1, NUM_HIDDEN_LAYERS): 29 | helpers.fully_connect( 30 | g, hidden_layers[i - 1], hidden_layers[i]) 31 | 32 | if UNROLLED: 33 | pass 34 | 35 | output_one_hot = helpers.layer( 36 | g, 37 | ['$yo_{i}$' for i in range(ONE_HOT_SIZE)], 38 | 6.75, 3.5, spacing=0.75) 39 | output_char = g.add_node(Node('output_char', '$y$', 7.75, 2)) 40 | 41 | helpers.fully_connect(g, hidden_layers[-1], output_one_hot) 42 | helpers.fully_connect(g, output_one_hot, [output_char]) 43 | 44 | helpers.add_label(g, 'current\ncharacter', 0.5, 2, weight='bold') 45 | helpers.add_label(g, 'next\ncharacter', 8.5, 2, weight='bold') 46 | -------------------------------------------------------------------------------- /graphs/graph_editor.py: -------------------------------------------------------------------------------- 1 | import math 2 | from io import StringIO 3 | from typing import List 4 | from urllib.parse import unquote 5 | import uuid 6 | 7 | from daft import Node, PGM 8 | from flask import Flask, request, Response, send_from_directory 9 | 10 | 11 | app = Flask(__name__) 12 | 13 | 14 | @app.route('/static/') 15 | def static_file(path): 16 | return send_from_directory('static', path) 17 | 18 | 19 | @app.route('/render') 20 | def render(): 21 | # Retrieve generation code and wrap in required boilerplate 22 | import datetime 23 | print(datetime.datetime.utcnow()) 24 | print(request.args) 25 | generation_code = request.args.get('code') 26 | if not generation_code: 27 | print('No generation code given') 28 | return Response('', mimetype='image/svg+xml') 29 | generation_code = unquote(generation_code) 30 | generation_code = generation_code.replace('\n', '\n ') 31 | code_wrapper = f'''\ 32 | # Define objects and modules that generation code can use 33 | helpers = GraphGenerationHelpers() 34 | from daft import PGM, Node 35 | 36 | def generate(): 37 | {generation_code} 38 | return g 39 | 40 | graph = generate()''' 41 | 42 | # Run generation code supplied by the user 43 | print(f'Running code:\n{code_wrapper}') 44 | exec(code_wrapper, globals()) 45 | 46 | # Render the resulting SVG file and return it 47 | svg_buffer = StringIO() 48 | graph.render().figure.savefig(svg_buffer, format='svg') 49 | svg = svg_buffer.getvalue() 50 | 51 | return Response(svg, mimetype='image/svg+xml') 52 | 53 | 54 | class GraphGenerationHelpers: 55 | 56 | def layer(self, 57 | graph: PGM, 58 | node_texts: List[str], 59 | x: float, 60 | y: float, 61 | spacing: float=1, 62 | spacing_pow: float=1, 63 | **other_node_params) -> List[Node]: 64 | nodes = [ 65 | Node( 66 | str(uuid.uuid4()), 67 | node_texts[i], 68 | x, 69 | y - (spacing * float(i)), 70 | **other_node_params) 71 | for i in range(len(node_texts))] 72 | for node in nodes: 73 | graph.add_node(node) 74 | return nodes 75 | 76 | def fully_connect(self, 77 | graph: PGM, 78 | layer1: List[Node], 79 | layer2: List[Node]): 80 | for l1_node in layer1: 81 | for l2_node in layer2: 82 | graph.add_edge(l1_node.name, l2_node.name) 83 | 84 | def add_label(self, 85 | graph: PGM, 86 | text: str, 87 | x: float, 88 | y: float, 89 | label_id: str=None, 90 | color: str=None, 91 | size: str=None, 92 | weight: str=None): 93 | if label_id is None: 94 | label_id = str(uuid.uuid4()) 95 | graph.add_node(Node( 96 | label_id, text, x, y, 97 | plot_params={ 98 | 'fill': False, 99 | 'linewidth': 0.0 100 | }, 101 | label_params={ 102 | 'color': color or 'black', 103 | 'size': size or 'small', 104 | 'weight': weight or 'normal' 105 | })) 106 | 107 | def add_label_range(self, 108 | graph: PGM, 109 | labels: List[str], 110 | x: float, 111 | y: float, 112 | spacing: float=1, 113 | spacing_exp: float=1, 114 | direction: str='H', # Horizontal or Vertical 115 | overrides: dict=None, 116 | **other_label_args): 117 | n_labels = len(labels) 118 | if direction == 'H': 119 | coordinates = [(x + (spacing * float(i)), y) for i in range(n_labels)] 120 | elif direction == 'V': 121 | coordinates = [ 122 | (x, y - math.pow(spacing * float(i), spacing_exp)) 123 | for i in range(n_labels) 124 | ] 125 | else: 126 | raise ValueError(f'Invalid direction: {direction}') 127 | 128 | overrides = overrides or {} 129 | 130 | for i in range(n_labels): 131 | label_text = labels[i] 132 | label_args = dict(other_label_args) 133 | label_overrides = overrides.get(label_text, {}) 134 | for key, value in label_overrides.items(): 135 | label_args[key] = value 136 | self.add_label( 137 | graph, label_text, coordinates[i][0], coordinates[i][1], 138 | **label_args) 139 | -------------------------------------------------------------------------------- /graphs/nn_chars_filled_in.py: -------------------------------------------------------------------------------- 1 | g = PGM([5.1, 4.1], origin=[0.5, 0.2]) 2 | 3 | input_layer = helpers.layer( 4 | g, 5 | [0, 1, 0, 0, 0], 6 | 1, 4, spacing=0.75) 7 | hidden_layer = helpers.layer( 8 | g, 9 | [f'$h_{i}$' for i in range(3)], 10 | 3, 3.25, spacing=0.75, observed=True) 11 | output_layer = helpers.layer( 12 | g, 13 | [1, 0, 0, 0, 0], 14 | 5, 4, spacing=0.75) 15 | 16 | helpers.fully_connect(g, input_layer, hidden_layer) 17 | helpers.fully_connect(g, hidden_layer, output_layer) 18 | 19 | helpers.add_label_range( 20 | g, 21 | ['a', 'b', 'c', 'd', 'e'], 22 | 0.6, 4, spacing=0.75, direction='V', 23 | color='blue', size='medium', weight='bold', 24 | overrides={'b': {'color': 'red'}}) 25 | helpers.add_label_range( 26 | g, 27 | ['a', 'b', 'c', 'd', 'e'], 28 | 5.4, 4, spacing=0.75, direction='V', 29 | color='blue', size='medium', weight='bold', 30 | overrides={'a': {'color': 'red'}}) 31 | 32 | helpers.add_label(g, '...etc.', 1, 0.5, weight='bold') 33 | -------------------------------------------------------------------------------- /graphs/perceptron.py: -------------------------------------------------------------------------------- 1 | g = PGM([3.6, 2.15], origin=[0.7, 0.2]) 2 | 3 | g.add_node(Node('feature_0', '$x_0$', 1, 2)) 4 | g.add_node(Node('feature_1', '$x_1$', 1, 1)) 5 | g.add_node(Node('bias', '$b$', 2, 0.5)) 6 | g.add_node(Node('weighted_sum', 'Σ', 2, 1.5, observed=True)) 7 | g.add_node(Node('activation_function', '$f(Σ)$', 3, 1.5, observed=True)) 8 | g.add_node(Node('output', '$y$', 4, 1.5)) 9 | 10 | g.add_edge('feature_0', 'weighted_sum') 11 | g.add_edge('feature_1', 'weighted_sum') 12 | g.add_edge('bias', 'weighted_sum') 13 | g.add_edge('weighted_sum', 'activation_function') 14 | g.add_edge('activation_function', 'output') 15 | 16 | helpers.add_label(g, '$w_0$', 1.5, 1.9) 17 | helpers.add_label(g, '$w_1$', 1.5, 1.1) 18 | helpers.add_label(g, '1', 2.2, 1) 19 | 20 | helpers.add_label(g, 'sum', 2, 2, weight='bold') 21 | helpers.add_label(g, 'activation\nfunction', 3, 2, weight='bold') 22 | helpers.add_label(g, 'output', 4, 2, weight='bold') 23 | -------------------------------------------------------------------------------- /graphs/perceptron_chars.py: -------------------------------------------------------------------------------- 1 | g = PGM([5.7, 4.1], origin=[0.5, 0.2]) 2 | 3 | perceptron = Node('weighted_sum', 'Σ', 2, 2.5, observed=True) 4 | g.add_node(perceptron) 5 | 6 | activation = Node('activation_function', '$f(Σ)$', 3, 2.5, observed=True) 7 | g.add_node(activation) 8 | 9 | g.add_node(Node('bias', '$b$', 2, 1)) 10 | g.add_edge('bias', 'weighted_sum') 11 | g.add_edge('weighted_sum', 'activation_function') 12 | 13 | helpers.add_label(g, 'next character', 5.4, 2.5, 14 | color='red', size='medium', weight='bold') 15 | 16 | input_layer = helpers.layer( 17 | g, 18 | [f'$x_{i}$' for i in range(5)], 19 | 1, 4, spacing=0.75) 20 | helpers.fully_connect(g, input_layer, [perceptron]) 21 | 22 | output_layer = helpers.layer( 23 | g, 24 | [f'$y_{i}$' for i in range(5)], 25 | 4, 4, spacing=0.75) 26 | helpers.fully_connect(g, [activation], output_layer) 27 | 28 | weight_label_y_offsets = [0.5, 0.975, 1.4, 1.724, 2.05] 29 | for i in range(5): 30 | helpers.add_label( 31 | g, f'$w_{i}$', 1.5, 4 - weight_label_y_offsets[i]) 32 | 33 | helpers.add_label(g, '1', 2.2, 1.5) 34 | 35 | helpers.add_label_range( 36 | g, 37 | ['a', 'b', 'c', 'd', 'e'], 38 | 0.6, 4, spacing=0.75, direction='V', 39 | color='blue', size='medium', weight='bold') 40 | helpers.add_label_range( 41 | g, 42 | ['a', 'b', 'c', 'd', 'e'], 43 | 4.4, 4, spacing=0.75, direction='V', 44 | color='blue', size='medium', weight='bold') 45 | 46 | helpers.add_label(g, '...etc.', 1, 0.5, weight='bold') 47 | -------------------------------------------------------------------------------- /graphs/perceptron_chars_filled_in.py: -------------------------------------------------------------------------------- 1 | g = PGM([4.1, 4.1], origin=[0.5, 0.2]) 2 | 3 | perceptron = Node('weighted_sum', 'Σ', 2, 2.5, observed=True) 4 | g.add_node(perceptron) 5 | 6 | activation = Node('activation_function', '$f(Σ)$', 3, 2.5, observed=True) 7 | g.add_node(activation) 8 | 9 | g.add_node(Node('bias', '$b$', 2, 1)) 10 | g.add_edge('bias', 'weighted_sum') 11 | g.add_edge('weighted_sum', 'activation_function') 12 | 13 | input_layer = helpers.layer( 14 | g, 15 | [0, 1, 0, 0, 0], 16 | 1, 4, spacing=0.75) 17 | helpers.fully_connect(g, input_layer, [perceptron]) 18 | 19 | output_layer = helpers.layer( 20 | g, 21 | [1, 0, 0, 0, 0], 22 | 4, 4, spacing=0.75) 23 | helpers.fully_connect(g, [activation], output_layer) 24 | 25 | weight_label_y_offsets = [0.5, 0.975, 1.4, 1.724, 2.05] 26 | for i in range(5): 27 | helpers.add_label( 28 | g, f'$w_{i}$', 1.5, 4 - weight_label_y_offsets[i]) 29 | 30 | helpers.add_label(g, '1', 2.2, 1.5) 31 | 32 | helpers.add_label_range( 33 | g, 34 | ['a', 'b', 'c', 'd', 'e'], 35 | 0.6, 4, spacing=0.75, direction='V', 36 | color='blue', size='medium', weight='bold', 37 | overrides={'b': {'color': 'red'}}) 38 | helpers.add_label_range( 39 | g, 40 | ['a', 'b', 'c', 'd', 'e'], 41 | 4.4, 4, spacing=0.75, direction='V', 42 | color='blue', size='medium', weight='bold', 43 | overrides={'a': {'color': 'red'}}) 44 | 45 | helpers.add_label(g, '...etc.', 1, 0.5, weight='bold') 46 | -------------------------------------------------------------------------------- /graphs/perceptron_shapes.py: -------------------------------------------------------------------------------- 1 | g = PGM([7, 5], origin=[-0.5, 0]) 2 | 3 | g.add_node(Node('feature_0', '$x_0$', 1, 2)) 4 | g.add_node(Node('feature_1', '$x_1$', 1, 1)) 5 | g.add_node(Node('bias', '$b$', 2, 0.5)) 6 | g.add_node(Node('weighted_sum', 'Σ', 2, 1.5, observed=True)) 7 | g.add_node(Node('activation_function', '$f(x)$', 3, 1.5, observed=True)) 8 | g.add_node(Node('output', '$y$', 4, 1.5)) 9 | 10 | g.add_edge('feature_0', 'weighted_sum') 11 | g.add_edge('feature_1', 'weighted_sum') 12 | g.add_edge('bias', 'weighted_sum') 13 | g.add_edge('weighted_sum', 'activation_function') 14 | g.add_edge('activation_function', 'output') 15 | 16 | helpers.add_label(g, '$w_0$', 1.5, 2) 17 | helpers.add_label(g, '$w_1$', 1.5, 1) 18 | helpers.add_label(g, '1', 2.2, 1) 19 | 20 | helpers.add_label(g, 'Area', 0.2, 2, 21 | color='blue', size='medium', weight='bold') 22 | helpers.add_label(g, 'Perimeter', 0.2, 1, 23 | color='blue', size='medium', weight='bold') 24 | helpers.add_label(g, 'Square OR Triangle', 5.3, 1.5, 25 | color='red', size='medium', weight='bold') 26 | -------------------------------------------------------------------------------- /graphs/requirements.txt: -------------------------------------------------------------------------------- 1 | daft 2 | flask 3 | matplotlib 4 | -------------------------------------------------------------------------------- /graphs/run_editor.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export FLASK_APP=graph_editor.py 4 | python -m flask run 5 | -------------------------------------------------------------------------------- /graphs/static/editor_page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 38 | 41 | 42 | 43 | 44 | 45 | 46 |
36 | 37 | 39 | 40 |
47 | 48 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /images/ _files/render: -------------------------------------------------------------------------------- 1 | 2 | 500 Internal Server Error 3 |

Internal Server Error

4 |

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

5 | -------------------------------------------------------------------------------- /images/acm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/acm.jpg -------------------------------------------------------------------------------- /images/activation_functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/activation_functions.png -------------------------------------------------------------------------------- /images/airflow-2.0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/airflow-2.0.png -------------------------------------------------------------------------------- /images/airflow.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/airflow.jpeg -------------------------------------------------------------------------------- /images/airflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/airflow.png -------------------------------------------------------------------------------- /images/airflowoperators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/airflowoperators.png -------------------------------------------------------------------------------- /images/alejandro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/alejandro.jpg -------------------------------------------------------------------------------- /images/aletechuk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/aletechuk.png -------------------------------------------------------------------------------- /images/alibi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/alibi.jpg -------------------------------------------------------------------------------- /images/alibianchors.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/alibianchors.jpg -------------------------------------------------------------------------------- /images/arch1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/arch1.png -------------------------------------------------------------------------------- /images/arch2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/arch2.png -------------------------------------------------------------------------------- /images/arch3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/arch3.png -------------------------------------------------------------------------------- /images/automation.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/automation.mp4 -------------------------------------------------------------------------------- /images/babylon-heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/babylon-heart.png -------------------------------------------------------------------------------- /images/backprop_forwardpass.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/backprop_forwardpass.sketch -------------------------------------------------------------------------------- /images/bias.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/bias.jpeg -------------------------------------------------------------------------------- /images/bias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/bias.png -------------------------------------------------------------------------------- /images/bitcoin-dec.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/bitcoin-dec.jpg -------------------------------------------------------------------------------- /images/bloomberg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/bloomberg.png -------------------------------------------------------------------------------- /images/blueml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/blueml.png -------------------------------------------------------------------------------- /images/books_opened.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/books_opened.jpg -------------------------------------------------------------------------------- /images/boring-dag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/boring-dag.png -------------------------------------------------------------------------------- /images/boring-dag2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/boring-dag2.png -------------------------------------------------------------------------------- /images/caffe_icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/celery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/celery.jpg -------------------------------------------------------------------------------- /images/char_perceptron.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/char_perceptron.sketch -------------------------------------------------------------------------------- /images/chart-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/chart-more.png -------------------------------------------------------------------------------- /images/chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/chart.png -------------------------------------------------------------------------------- /images/cicd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/cicd.png -------------------------------------------------------------------------------- /images/class-imbalance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/class-imbalance.png -------------------------------------------------------------------------------- /images/classification-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/classification-line.png -------------------------------------------------------------------------------- /images/classification-newinput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/classification-newinput.png -------------------------------------------------------------------------------- /images/classification-points.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/classification-points.png -------------------------------------------------------------------------------- /images/compliant-ml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/compliant-ml.png -------------------------------------------------------------------------------- /images/copypasta.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/copypasta.jpg -------------------------------------------------------------------------------- /images/crontab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/crontab.jpg -------------------------------------------------------------------------------- /images/cryptodag-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/cryptodag-2.png -------------------------------------------------------------------------------- /images/cryptodag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/cryptodag.png -------------------------------------------------------------------------------- /images/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/dashboard.png -------------------------------------------------------------------------------- /images/deepdetect-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/deepdetect-dashboard.png -------------------------------------------------------------------------------- /images/deepdetect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/deepdetect.png -------------------------------------------------------------------------------- /images/distributed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/distributed.png -------------------------------------------------------------------------------- /images/docker-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/docker-mac.png -------------------------------------------------------------------------------- /images/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/docker.png -------------------------------------------------------------------------------- /images/dog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/dog.gif -------------------------------------------------------------------------------- /images/duck.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/duck.gif -------------------------------------------------------------------------------- /images/dvc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/dvc.png -------------------------------------------------------------------------------- /images/eigen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/eigen.png -------------------------------------------------------------------------------- /images/eli5-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/eli5-text.png -------------------------------------------------------------------------------- /images/eml-logo-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/eml-logo-black.png -------------------------------------------------------------------------------- /images/eml-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/eml-logo-white.png -------------------------------------------------------------------------------- /images/ethical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ethical.png -------------------------------------------------------------------------------- /images/everywhere.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/everywhere.jpg -------------------------------------------------------------------------------- /images/exponential.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/exponential.png -------------------------------------------------------------------------------- /images/extrapolating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/extrapolating.png -------------------------------------------------------------------------------- /images/feature-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/feature-1.jpg -------------------------------------------------------------------------------- /images/feature-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/feature-2.jpg -------------------------------------------------------------------------------- /images/feature-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/feature-3.jpg -------------------------------------------------------------------------------- /images/flask.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/flask.jpg -------------------------------------------------------------------------------- /images/flower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/flower.png -------------------------------------------------------------------------------- /images/full-desired-architecture.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/full-desired-architecture.sketch -------------------------------------------------------------------------------- /images/full_network_no_marks.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/full_network_no_marks.sketch -------------------------------------------------------------------------------- /images/gitblame.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/gitblame.jpg -------------------------------------------------------------------------------- /images/gradient_descent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/gradient_descent.gif -------------------------------------------------------------------------------- /images/gradient_descent_cropped.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/gradient_descent_cropped.gif -------------------------------------------------------------------------------- /images/grafana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/grafana.jpg -------------------------------------------------------------------------------- /images/graphview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/graphview.png -------------------------------------------------------------------------------- /images/hacking.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/hacking.gif -------------------------------------------------------------------------------- /images/helper.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /images/hg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/hg.png -------------------------------------------------------------------------------- /images/horizon-outline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/horizon-outline.png -------------------------------------------------------------------------------- /images/horizon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/horizon.jpg -------------------------------------------------------------------------------- /images/hp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/hp.png -------------------------------------------------------------------------------- /images/img1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img1.png -------------------------------------------------------------------------------- /images/img2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img2.png -------------------------------------------------------------------------------- /images/img3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img3.png -------------------------------------------------------------------------------- /images/img4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img4.png -------------------------------------------------------------------------------- /images/img5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img5.png -------------------------------------------------------------------------------- /images/img6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img6.png -------------------------------------------------------------------------------- /images/img7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/img7.png -------------------------------------------------------------------------------- /images/inferencepipe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/inferencepipe.png -------------------------------------------------------------------------------- /images/institute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/institute.png -------------------------------------------------------------------------------- /images/iris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/iris.png -------------------------------------------------------------------------------- /images/keras_icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/kibana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/kibana.jpg -------------------------------------------------------------------------------- /images/kube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/kube.png -------------------------------------------------------------------------------- /images/kubectl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/kubectl.png -------------------------------------------------------------------------------- /images/kubeflowexample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/kubeflowexample.jpg -------------------------------------------------------------------------------- /images/laptop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/laptop.gif -------------------------------------------------------------------------------- /images/latex-generation-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/latex-generation-example.png -------------------------------------------------------------------------------- /images/layer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/layer.jpg -------------------------------------------------------------------------------- /images/lego.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/lego.gif -------------------------------------------------------------------------------- /images/lfai-institute.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/lfai-institute.jpg -------------------------------------------------------------------------------- /images/lfai-landscape.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/lfai-landscape.jpg -------------------------------------------------------------------------------- /images/linear-regression.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/linear-regression.png -------------------------------------------------------------------------------- /images/linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/linkedin.png -------------------------------------------------------------------------------- /images/linreg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/linreg.gif -------------------------------------------------------------------------------- /images/martin_gorner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/martin_gorner.jpg -------------------------------------------------------------------------------- /images/mini-batch-chars.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mini-batch-chars.sketch -------------------------------------------------------------------------------- /images/minst-image-plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/minst-image-plot.png -------------------------------------------------------------------------------- /images/ml-pipeline-extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ml-pipeline-extended.png -------------------------------------------------------------------------------- /images/ml-pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ml-pipeline.png -------------------------------------------------------------------------------- /images/ml_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ml_workflow.png -------------------------------------------------------------------------------- /images/mlall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlall.png -------------------------------------------------------------------------------- /images/mldiag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mldiag.png -------------------------------------------------------------------------------- /images/mleapbundle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mleapbundle.png -------------------------------------------------------------------------------- /images/mleapruntime.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mleapruntime.jpg -------------------------------------------------------------------------------- /images/mlecosystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlecosystem.png -------------------------------------------------------------------------------- /images/mleng-expertise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mleng-expertise.png -------------------------------------------------------------------------------- /images/mleng-roles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mleng-roles.png -------------------------------------------------------------------------------- /images/mlflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlflow.png -------------------------------------------------------------------------------- /images/mlibs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlibs.jpg -------------------------------------------------------------------------------- /images/mlmodles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlmodles.png -------------------------------------------------------------------------------- /images/mlops-link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops-link.png -------------------------------------------------------------------------------- /images/mlops-now.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops-now.png -------------------------------------------------------------------------------- /images/mlops-slides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops-slides.png -------------------------------------------------------------------------------- /images/mlops-stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops-stats.png -------------------------------------------------------------------------------- /images/mlops1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops1.png -------------------------------------------------------------------------------- /images/mlops2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops2.png -------------------------------------------------------------------------------- /images/mlops3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlops3.png -------------------------------------------------------------------------------- /images/mlstep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mlstep.png -------------------------------------------------------------------------------- /images/mltemp1 (copy).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp1 (copy).png -------------------------------------------------------------------------------- /images/mltemp1-serving.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp1-serving.png -------------------------------------------------------------------------------- /images/mltemp1-training.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp1-training.png -------------------------------------------------------------------------------- /images/mltemp1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp1.png -------------------------------------------------------------------------------- /images/mltemp2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp2.png -------------------------------------------------------------------------------- /images/mltemp3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp3.png -------------------------------------------------------------------------------- /images/mltemp4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp4.png -------------------------------------------------------------------------------- /images/mltemp5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp5.png -------------------------------------------------------------------------------- /images/mltemp6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltemp6.png -------------------------------------------------------------------------------- /images/mltrain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltrain.png -------------------------------------------------------------------------------- /images/mltrainhighlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/mltrainhighlight.png -------------------------------------------------------------------------------- /images/modeldb-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/modeldb-dashboard.png -------------------------------------------------------------------------------- /images/modelvers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/modelvers.png -------------------------------------------------------------------------------- /images/network-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/network-background.jpg -------------------------------------------------------------------------------- /images/network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/network.png -------------------------------------------------------------------------------- /images/nn_backprop_algebra.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/nn_backprop_algebra.png -------------------------------------------------------------------------------- /images/nn_computation_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/nn_computation_graph.png -------------------------------------------------------------------------------- /images/novel-preprocessing.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/novel-preprocessing.sketch -------------------------------------------------------------------------------- /images/overfitting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/overfitting.png -------------------------------------------------------------------------------- /images/pachyderm-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/pachyderm-dashboard.png -------------------------------------------------------------------------------- /images/pachyderm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/pachyderm.png -------------------------------------------------------------------------------- /images/parti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/parti.png -------------------------------------------------------------------------------- /images/particles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/particles.gif -------------------------------------------------------------------------------- /images/partistat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/partistat.png -------------------------------------------------------------------------------- /images/perceptron_learning1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/perceptron_learning1.png -------------------------------------------------------------------------------- /images/perceptron_learning2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/perceptron_learning2.png -------------------------------------------------------------------------------- /images/perceptron_learning3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/perceptron_learning3.png -------------------------------------------------------------------------------- /images/perceptron_learning4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/perceptron_learning4.png -------------------------------------------------------------------------------- /images/perceptron_learning_all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/perceptron_learning_all.png -------------------------------------------------------------------------------- /images/pie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/pie.gif -------------------------------------------------------------------------------- /images/plaugh.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/plaugh.gif -------------------------------------------------------------------------------- /images/plex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/plex.jpg -------------------------------------------------------------------------------- /images/polyreg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/polyreg.gif -------------------------------------------------------------------------------- /images/principles-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/principles-large.png -------------------------------------------------------------------------------- /images/principles.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/principles.jpg -------------------------------------------------------------------------------- /images/principles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/principles.png -------------------------------------------------------------------------------- /images/process-unbias.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/process-unbias.png -------------------------------------------------------------------------------- /images/process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/process.png -------------------------------------------------------------------------------- /images/programming-gods.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/programming-gods.jpg -------------------------------------------------------------------------------- /images/pytorch_icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/pytorchhub.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/pytorchhub.jpg -------------------------------------------------------------------------------- /images/rfx-cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rfx-cover.png -------------------------------------------------------------------------------- /images/ribbonlink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ribbonlink.png -------------------------------------------------------------------------------- /images/rnn-compress-expanded.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-compress-expanded.sketch -------------------------------------------------------------------------------- /images/rnn-hiddenstate.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-hiddenstate.sketch -------------------------------------------------------------------------------- /images/rnn-long-term-deps-solved.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-long-term-deps-solved.sketch -------------------------------------------------------------------------------- /images/rnn-long-term-deps.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-long-term-deps.sketch -------------------------------------------------------------------------------- /images/rnn-stateloopcompressed.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-stateloopcompressed.sketch -------------------------------------------------------------------------------- /images/rnn-unrolled-chars.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rnn-unrolled-chars.sketch -------------------------------------------------------------------------------- /images/robot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/robot.gif -------------------------------------------------------------------------------- /images/robotfall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/robotfall.gif -------------------------------------------------------------------------------- /images/roc-monitoring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/roc-monitoring.png -------------------------------------------------------------------------------- /images/rrn-loopcompressed.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/rrn-loopcompressed.sketch -------------------------------------------------------------------------------- /images/santa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/santa.jpg -------------------------------------------------------------------------------- /images/scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/scheduler.png -------------------------------------------------------------------------------- /images/seldon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/seldon1.png -------------------------------------------------------------------------------- /images/seldon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/seldon2.png -------------------------------------------------------------------------------- /images/seldon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/seldon3.png -------------------------------------------------------------------------------- /images/serverless-popularity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/serverless-popularity.png -------------------------------------------------------------------------------- /images/serverless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/serverless.png -------------------------------------------------------------------------------- /images/shap-values.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/shap-values.png -------------------------------------------------------------------------------- /images/shap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/shap.png -------------------------------------------------------------------------------- /images/shapes.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Group 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /images/sigmoid-function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/sigmoid-function.png -------------------------------------------------------------------------------- /images/simple-model.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/simple-model.jpg -------------------------------------------------------------------------------- /images/space.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/space.jpg -------------------------------------------------------------------------------- /images/spaceline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/spaceline.jpg -------------------------------------------------------------------------------- /images/subdags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/subdags.png -------------------------------------------------------------------------------- /images/sv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/sv.gif -------------------------------------------------------------------------------- /images/tensorboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/tensorboard.gif -------------------------------------------------------------------------------- /images/tensorboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/tensorboard.png -------------------------------------------------------------------------------- /images/tensorflow.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/tensorflow_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/tensorflow_graph.png -------------------------------------------------------------------------------- /images/tensorflow_graph.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/tensorflow_graph.sketch -------------------------------------------------------------------------------- /images/tensorflow_graph_marked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/tensorflow_graph_marked.png -------------------------------------------------------------------------------- /images/tensorflow_icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 13 | 15 | 17 | 18 | 20 | image/svg+xml 21 | 23 | 24 | 25 | 26 | 27 | 30 | 32 | 37 | 42 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /images/theano_icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/ticket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/ticket.png -------------------------------------------------------------------------------- /images/train.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/train.gif -------------------------------------------------------------------------------- /images/treeview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/treeview.png -------------------------------------------------------------------------------- /images/typerror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/typerror.png -------------------------------------------------------------------------------- /images/versioning.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/versioning.jpg -------------------------------------------------------------------------------- /images/xai-pr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/xai-pr.png -------------------------------------------------------------------------------- /images/xcom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/images/xcom.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Industrial Machine Learning - Alejandro Saucedo 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 45 | 46 | 49 | 50 | 51 | 52 | 53 | 58 | 59 |
60 |
61 |
65 |
66 |
67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 113 | 114 | 121 | 122 | 123 | 124 | 125 | 126 | -------------------------------------------------------------------------------- /index2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Ethical Machine Learning Workshop - Alejandro Saucedo 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 36 | 37 | 40 | 41 | 42 | 43 | 44 |
45 |
46 |
50 |
51 |
52 |
53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 98 | 99 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /lib/css/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 3 | based on dark.css by Ivan Sagalaev 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #3f3f3f; 11 | color: #dcdcdc; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-tag, 17 | .css .hljs-class, 18 | .css .hljs-id, 19 | .lisp .hljs-title, 20 | .nginx .hljs-title, 21 | .hljs-request, 22 | .hljs-status, 23 | .clojure .hljs-attribute { 24 | color: #e3ceab; 25 | } 26 | 27 | .django .hljs-template_tag, 28 | .django .hljs-variable, 29 | .django .hljs-filter .hljs-argument { 30 | color: #dcdcdc; 31 | } 32 | 33 | .hljs-number, 34 | .hljs-date { 35 | color: #8cd0d3; 36 | } 37 | 38 | .dos .hljs-envvar, 39 | .dos .hljs-stream, 40 | .hljs-variable, 41 | .apache .hljs-sqbracket, 42 | .hljs-name { 43 | color: #efdcbc; 44 | } 45 | 46 | .dos .hljs-flow, 47 | .diff .hljs-change, 48 | .python .exception, 49 | .python .hljs-built_in, 50 | .hljs-literal, 51 | .tex .hljs-special { 52 | color: #efefaf; 53 | } 54 | 55 | .diff .hljs-chunk, 56 | .hljs-subst { 57 | color: #8f8f8f; 58 | } 59 | 60 | .dos .hljs-keyword, 61 | .hljs-decorator, 62 | .hljs-title, 63 | .hljs-type, 64 | .diff .hljs-header, 65 | .ruby .hljs-class .hljs-parent, 66 | .apache .hljs-tag, 67 | .nginx .hljs-built_in, 68 | .tex .hljs-command, 69 | .hljs-prompt { 70 | color: #efef8f; 71 | } 72 | 73 | .dos .hljs-winutils, 74 | .ruby .hljs-symbol, 75 | .ruby .hljs-symbol .hljs-string, 76 | .ruby .hljs-string { 77 | color: #dca3a3; 78 | } 79 | 80 | .diff .hljs-deletion, 81 | .hljs-string, 82 | .hljs-tag .hljs-value, 83 | .hljs-preprocessor, 84 | .hljs-pragma, 85 | .hljs-built_in, 86 | .smalltalk .hljs-class, 87 | .smalltalk .hljs-localvars, 88 | .smalltalk .hljs-array, 89 | .css .hljs-rule .hljs-value, 90 | .hljs-attr_selector, 91 | .hljs-pseudo, 92 | .apache .hljs-cbracket, 93 | .tex .hljs-formula, 94 | .coffeescript .hljs-attribute { 95 | color: #cc9393; 96 | } 97 | 98 | .hljs-shebang, 99 | .diff .hljs-addition, 100 | .hljs-comment, 101 | .hljs-annotation, 102 | .hljs-pi, 103 | .hljs-doctype { 104 | color: #7f9f7f; 105 | } 106 | 107 | .coffeescript .javascript, 108 | .javascript .xml, 109 | .tex .hljs-formula, 110 | .xml .javascript, 111 | .xml .vbscript, 112 | .xml .css, 113 | .xml .hljs-cdata { 114 | opacity: 0.5; 115 | } -------------------------------------------------------------------------------- /lib/font/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('league-gothic.eot'); 4 | src: url('league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('league-gothic.woff') format('woff'), 6 | url('league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License 2 | 3 | Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. 4 | 5 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 6 | This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL 7 | 8 | —————————————————————————————- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | —————————————————————————————- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. 14 | 15 | The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. 16 | 17 | DEFINITIONS 18 | “Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. 19 | 20 | “Reserved Font Name” refers to any names specified as such after the copyright statement(s). 21 | 22 | “Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s). 23 | 24 | “Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. 25 | 26 | “Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. 27 | 28 | PERMISSION & CONDITIONS 29 | Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 30 | 31 | 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 32 | 33 | 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 34 | 35 | 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 36 | 37 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 38 | 39 | 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. 40 | 41 | TERMINATION 42 | This license becomes null and void if any of the above conditions are not met. 43 | 44 | DISCLAIMER 45 | THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EthicalML/state-of-mlops-2020/6bce7713c772da4fbc390bae0288342936b97094/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('source-sans-pro-regular.eot'); 4 | src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('source-sans-pro-regular.woff') format('woff'), 6 | url('source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('source-sans-pro-italic.eot'); 14 | src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('source-sans-pro-italic.woff') format('woff'), 16 | url('source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('source-sans-pro-semibold.eot'); 24 | src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('source-sans-pro-semibold.woff') format('woff'), 26 | url('source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('source-sans-pro-semibolditalic.eot'); 34 | src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } -------------------------------------------------------------------------------- /lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p 3 | Copyright Tero Piirainen (tipiirai) 4 | License MIT / http://bit.ly/mit-license 5 | Version 0.96 6 | 7 | http://headjs.com 8 | */(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}return b}function t(a){return Object.prototype.toString.call(a)=="[object Function]"}function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c 4 | * (c) Eevans Internet Construction Company, Inc. 5 | * Released under the MIT licesne 6 | * Load external files into a reveal.js presentation. 7 | * 8 | * This is a reveal.js plugin to load external html files. It replaces the 9 | * content of any element with a data-external="file.ext" with the contents 10 | * of file.ext. 11 | * 12 | * This started life as markdown.js. Thank you to whomever wrote it. 13 | */ 14 | 15 | (function(){ 16 | loadExternal(); 17 | 18 | function loadExternal() { 19 | 20 | var sections = document.querySelectorAll( '[data-external]'), 21 | section; 22 | 23 | for( var i = 0, len = sections.length; i < len; i++ ) { 24 | 25 | section = sections[i]; 26 | 27 | if( section.getAttribute( 'data-external' ).length ) { 28 | 29 | var xhr = new XMLHttpRequest(), 30 | url = section.getAttribute( 'data-external' ); 31 | 32 | // see https://developer.mozilla.org/en-US/docs/Web/API/element.getAttribute#Notes 33 | xhr.onreadystatechange = function() { 34 | if( xhr.readyState === 4 ) { 35 | // file protocol yields status code 0 (useful for local debug, mobile applications etc.) 36 | if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) { 37 | 38 | section.innerHTML = xhr.responseText; 39 | 40 | 41 | } 42 | else { 43 | 44 | section.innerHTML = '
' + 45 | 'ERROR: The attempt to fetch ' + url + ' failed with HTTP status ' + xhr.status + '.' + 46 | 'Check your browser\'s JavaScript console for more details.' + 47 | '

Remember that you need to serve the presentation HTML from a HTTP server.

' + 48 | '
'; 49 | 50 | } 51 | } 52 | }; 53 | 54 | xhr.open( 'GET', url, false ); 55 | 56 | try { 57 | xhr.send(); 58 | } 59 | catch ( e ) { 60 | alert( 'Failed to get the file ' + url + '. Make sure that the presentation and the file are served by a HTTP server and the file can be found there. ' + e ); 61 | } 62 | 63 | } 64 | 65 | } 66 | 67 | return; 68 | } 69 | 70 | 71 | })(); 72 | -------------------------------------------------------------------------------- /plugin/markdown/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Markdown Demo 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 |
23 | 24 | 25 |
26 | 36 |
37 | 38 | 39 |
40 | 54 |
55 | 56 | 57 |
58 | 69 |
70 | 71 | 72 |
73 | 77 |
78 | 79 | 80 |
81 | 86 |
87 | 88 | 89 |
90 | 100 |
101 | 102 |
103 |
104 | 105 | 106 | 107 | 108 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /plugin/markdown/example.md: -------------------------------------------------------------------------------- 1 | # Markdown Demo 2 | 3 | 4 | 5 | ## External 1.1 6 | 7 | Content 1.1 8 | 9 | Note: This will only appear in the speaker notes window. 10 | 11 | 12 | ## External 1.2 13 | 14 | Content 1.2 15 | 16 | 17 | 18 | ## External 2 19 | 20 | Content 2.1 21 | 22 | 23 | 24 | ## External 3.1 25 | 26 | Content 3.1 27 | 28 | 29 | ## External 3.2 30 | 31 | Content 3.2 32 | -------------------------------------------------------------------------------- /plugin/math/math.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | var RevealMath = window.RevealMath || (function(){ 8 | 9 | var options = Reveal.getConfig().math || {}; 10 | options.mathjax = options.mathjax || 'https://cdn.mathjax.org/mathjax/latest/MathJax.js'; 11 | options.config = options.config || 'TeX-AMS_HTML-full'; 12 | 13 | loadScript( options.mathjax + '?config=' + options.config, function() { 14 | 15 | MathJax.Hub.Config({ 16 | messageStyle: 'none', 17 | tex2jax: { 18 | inlineMath: [['$','$'],['\\(','\\)']] , 19 | skipTags: ['script','noscript','style','textarea','pre'] 20 | }, 21 | skipStartupTypeset: true 22 | }); 23 | 24 | // Typeset followed by an immediate reveal.js layout since 25 | // the typesetting process could affect slide height 26 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub ] ); 27 | MathJax.Hub.Queue( Reveal.layout ); 28 | 29 | // Reprocess equations in slides when they turn visible 30 | Reveal.addEventListener( 'slidechanged', function( event ) { 31 | 32 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 33 | 34 | } ); 35 | 36 | } ); 37 | 38 | function loadScript( url, callback ) { 39 | 40 | var head = document.querySelector( 'head' ); 41 | var script = document.createElement( 'script' ); 42 | script.type = 'text/javascript'; 43 | script.src = url; 44 | 45 | // Wrapper for callback to make sure it only fires once 46 | var finish = function() { 47 | if( typeof callback === 'function' ) { 48 | callback.call(); 49 | callback = null; 50 | } 51 | } 52 | 53 | script.onload = finish; 54 | 55 | // IE 56 | script.onreadystatechange = function() { 57 | if ( this.readyState === 'loaded' ) { 58 | finish(); 59 | } 60 | } 61 | 62 | // Normal browsers 63 | head.appendChild( script ); 64 | 65 | } 66 | 67 | })(); 68 | -------------------------------------------------------------------------------- /plugin/multiplex/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var multiplex = Reveal.getConfig().multiplex; 3 | var socketId = multiplex.id; 4 | var socket = io.connect(multiplex.url); 5 | 6 | socket.on(multiplex.id, function(data) { 7 | // ignore data from sockets that aren't ours 8 | if (data.socketId !== socketId) { return; } 9 | if( window.location.host === 'localhost:1947' ) return; 10 | 11 | Reveal.setState(data.state); 12 | }); 13 | }()); 14 | -------------------------------------------------------------------------------- /plugin/multiplex/index.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var express = require('express'); 3 | var fs = require('fs'); 4 | var io = require('socket.io'); 5 | var crypto = require('crypto'); 6 | 7 | var app = express(); 8 | var staticDir = express.static; 9 | var server = http.createServer(app); 10 | 11 | io = io(server); 12 | 13 | var opts = { 14 | port: process.env.PORT || 1948, 15 | baseDir : __dirname + '/../../' 16 | }; 17 | 18 | io.on( 'connection', function( socket ) { 19 | socket.on('multiplex-statechanged', function(data) { 20 | if (typeof data.secret == 'undefined' || data.secret == null || data.secret === '') return; 21 | if (createHash(data.secret) === data.socketId) { 22 | data.secret = null; 23 | socket.broadcast.emit(data.socketId, data); 24 | }; 25 | }); 26 | }); 27 | 28 | [ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) { 29 | app.use('/' + dir, staticDir(opts.baseDir + dir)); 30 | }); 31 | 32 | app.get("/", function(req, res) { 33 | res.writeHead(200, {'Content-Type': 'text/html'}); 34 | fs.createReadStream(opts.baseDir + '/index.html').pipe(res); 35 | }); 36 | 37 | app.get("/token", function(req,res) { 38 | var ts = new Date().getTime(); 39 | var rand = Math.floor(Math.random()*9999999); 40 | var secret = ts.toString() + rand.toString(); 41 | res.send({secret: secret, socketId: createHash(secret)}); 42 | }); 43 | 44 | var createHash = function(secret) { 45 | var cipher = crypto.createCipher('blowfish', secret); 46 | return(cipher.final('hex')); 47 | }; 48 | 49 | // Actually listen 50 | server.listen( opts.port || null ); 51 | 52 | var brown = '\033[33m', 53 | green = '\033[32m', 54 | reset = '\033[0m'; 55 | 56 | console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset ); -------------------------------------------------------------------------------- /plugin/multiplex/master.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // Don't emit events from inside of notes windows 4 | if ( window.location.search.match( /receiver/gi ) ) { return; } 5 | 6 | var multiplex = Reveal.getConfig().multiplex; 7 | 8 | var socket = io.connect( multiplex.url ); 9 | 10 | function post() { 11 | 12 | var messageData = { 13 | state: Reveal.getState(), 14 | secret: multiplex.secret, 15 | socketId: multiplex.id 16 | }; 17 | 18 | socket.emit( 'multiplex-statechanged', messageData ); 19 | 20 | }; 21 | 22 | // Monitor events that trigger a change in state 23 | Reveal.addEventListener( 'slidechanged', post ); 24 | Reveal.addEventListener( 'fragmentshown', post ); 25 | Reveal.addEventListener( 'fragmenthidden', post ); 26 | Reveal.addEventListener( 'overviewhidden', post ); 27 | Reveal.addEventListener( 'overviewshown', post ); 28 | Reveal.addEventListener( 'paused', post ); 29 | Reveal.addEventListener( 'resumed', post ); 30 | 31 | }()); -------------------------------------------------------------------------------- /plugin/notes-server/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // don't emit events from inside the previews themselves 4 | if( window.location.search.match( /receiver/gi ) ) { return; } 5 | 6 | var socket = io.connect( window.location.origin ), 7 | socketId = Math.random().toString().slice( 2 ); 8 | 9 | console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId ); 10 | 11 | window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId ); 12 | 13 | /** 14 | * Posts the current slide data to the notes window 15 | */ 16 | function post() { 17 | 18 | var slideElement = Reveal.getCurrentSlide(), 19 | notesElement = slideElement.querySelector( 'aside.notes' ); 20 | 21 | var messageData = { 22 | notes: '', 23 | markdown: false, 24 | socketId: socketId, 25 | state: Reveal.getState() 26 | }; 27 | 28 | // Look for notes defined in a slide attribute 29 | if( slideElement.hasAttribute( 'data-notes' ) ) { 30 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 31 | } 32 | 33 | // Look for notes defined in an aside element 34 | if( notesElement ) { 35 | messageData.notes = notesElement.innerHTML; 36 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 37 | } 38 | 39 | socket.emit( 'statechanged', messageData ); 40 | 41 | } 42 | 43 | // When a new notes window connects, post our current state 44 | socket.on( 'new-subscriber', function( data ) { 45 | post(); 46 | } ); 47 | 48 | // When the state changes from inside of the speaker view 49 | socket.on( 'statechanged-speaker', function( data ) { 50 | Reveal.setState( data.state ); 51 | } ); 52 | 53 | // Monitor events that trigger a change in state 54 | Reveal.addEventListener( 'slidechanged', post ); 55 | Reveal.addEventListener( 'fragmentshown', post ); 56 | Reveal.addEventListener( 'fragmenthidden', post ); 57 | Reveal.addEventListener( 'overviewhidden', post ); 58 | Reveal.addEventListener( 'overviewshown', post ); 59 | Reveal.addEventListener( 'paused', post ); 60 | Reveal.addEventListener( 'resumed', post ); 61 | 62 | // Post the initial state 63 | post(); 64 | 65 | }()); 66 | -------------------------------------------------------------------------------- /plugin/notes-server/index.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var express = require('express'); 3 | var fs = require('fs'); 4 | var io = require('socket.io'); 5 | var _ = require('underscore'); 6 | var Mustache = require('mustache'); 7 | 8 | var app = express(); 9 | var staticDir = express.static; 10 | var server = http.createServer(app); 11 | 12 | io = io(server); 13 | 14 | var opts = { 15 | port : 1947, 16 | baseDir : __dirname + '/../../' 17 | }; 18 | 19 | io.on( 'connection', function( socket ) { 20 | 21 | socket.on( 'new-subscriber', function( data ) { 22 | socket.broadcast.emit( 'new-subscriber', data ); 23 | }); 24 | 25 | socket.on( 'statechanged', function( data ) { 26 | socket.broadcast.emit( 'statechanged', data ); 27 | }); 28 | 29 | socket.on( 'statechanged-speaker', function( data ) { 30 | socket.broadcast.emit( 'statechanged-speaker', data ); 31 | }); 32 | 33 | }); 34 | 35 | [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) { 36 | app.use( '/' + dir, staticDir( opts.baseDir + dir ) ); 37 | }); 38 | 39 | app.get('/', function( req, res ) { 40 | 41 | res.writeHead( 200, { 'Content-Type': 'text/html' } ); 42 | fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res ); 43 | 44 | }); 45 | 46 | app.get( '/notes/:socketId', function( req, res ) { 47 | 48 | fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) { 49 | res.send( Mustache.to_html( data.toString(), { 50 | socketId : req.params.socketId 51 | })); 52 | }); 53 | 54 | }); 55 | 56 | // Actually listen 57 | server.listen( opts.port || null ); 58 | 59 | var brown = '\033[33m', 60 | green = '\033[32m', 61 | reset = '\033[0m'; 62 | 63 | var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : '' ); 64 | 65 | console.log( brown + 'reveal.js - Speaker Notes' + reset ); 66 | console.log( '1. Open the slides at ' + green + slidesLocation + reset ); 67 | console.log( '2. Click on the link your JS console to go to the notes page' ); 68 | console.log( '3. Advance through your slides and your notes will advance automatically' ); 69 | -------------------------------------------------------------------------------- /plugin/notes/notes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Handles opening of and synchronization with the reveal.js 3 | * notes window. 4 | * 5 | * Handshake process: 6 | * 1. This window posts 'connect' to notes window 7 | * - Includes URL of presentation to show 8 | * 2. Notes window responds with 'connected' when it is available 9 | * 3. This window proceeds to send the current presentation state 10 | * to the notes window 11 | */ 12 | var RevealNotes = (function() { 13 | 14 | function openNotes() { 15 | var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path 16 | jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path 17 | var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1100,height=700' ); 18 | 19 | /** 20 | * Connect to the notes window through a postmessage handshake. 21 | * Using postmessage enables us to work in situations where the 22 | * origins differ, such as a presentation being opened from the 23 | * file system. 24 | */ 25 | function connect() { 26 | // Keep trying to connect until we get a 'connected' message back 27 | var connectInterval = setInterval( function() { 28 | notesPopup.postMessage( JSON.stringify( { 29 | namespace: 'reveal-notes', 30 | type: 'connect', 31 | url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search, 32 | state: Reveal.getState() 33 | } ), '*' ); 34 | }, 500 ); 35 | 36 | window.addEventListener( 'message', function( event ) { 37 | var data = JSON.parse( event.data ); 38 | if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) { 39 | clearInterval( connectInterval ); 40 | onConnected(); 41 | } 42 | } ); 43 | } 44 | 45 | /** 46 | * Posts the current slide data to the notes window 47 | */ 48 | function post() { 49 | 50 | var slideElement = Reveal.getCurrentSlide(), 51 | notesElement = slideElement.querySelector( 'aside.notes' ); 52 | 53 | var messageData = { 54 | namespace: 'reveal-notes', 55 | type: 'state', 56 | notes: '', 57 | markdown: false, 58 | whitespace: 'normal', 59 | state: Reveal.getState() 60 | }; 61 | 62 | // Look for notes defined in a slide attribute 63 | if( slideElement.hasAttribute( 'data-notes' ) ) { 64 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 65 | messageData.whitespace = 'pre-wrap'; 66 | } 67 | 68 | // Look for notes defined in an aside element 69 | if( notesElement ) { 70 | messageData.notes = notesElement.innerHTML; 71 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 72 | } 73 | 74 | notesPopup.postMessage( JSON.stringify( messageData ), '*' ); 75 | 76 | } 77 | 78 | /** 79 | * Called once we have established a connection to the notes 80 | * window. 81 | */ 82 | function onConnected() { 83 | 84 | // Monitor events that trigger a change in state 85 | Reveal.addEventListener( 'slidechanged', post ); 86 | Reveal.addEventListener( 'fragmentshown', post ); 87 | Reveal.addEventListener( 'fragmenthidden', post ); 88 | Reveal.addEventListener( 'overviewhidden', post ); 89 | Reveal.addEventListener( 'overviewshown', post ); 90 | Reveal.addEventListener( 'paused', post ); 91 | Reveal.addEventListener( 'resumed', post ); 92 | 93 | // Post the initial state 94 | post(); 95 | 96 | } 97 | 98 | connect(); 99 | } 100 | 101 | if( !/receiver/i.test( window.location.search ) ) { 102 | 103 | // If the there's a 'notes' query set, open directly 104 | if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { 105 | openNotes(); 106 | } 107 | 108 | // Open the notes when the 's' key is hit 109 | document.addEventListener( 'keydown', function( event ) { 110 | // Disregard the event if the target is editable or a 111 | // modifier is present 112 | if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; 113 | 114 | // Disregard the event if keyboard is disabled 115 | if ( Reveal.getConfig().keyboard === false ) return; 116 | 117 | if( event.keyCode === 83 ) { 118 | event.preventDefault(); 119 | openNotes(); 120 | } 121 | }, false ); 122 | 123 | } 124 | 125 | return { open: openNotes }; 126 | 127 | })(); 128 | -------------------------------------------------------------------------------- /plugin/print-pdf/print-pdf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * phantomjs script for printing presentations to PDF. 3 | * 4 | * Example: 5 | * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf 6 | * 7 | * By Manuel Bieh (https://github.com/manuelbieh) 8 | */ 9 | 10 | // html2pdf.js 11 | var page = new WebPage(); 12 | var system = require( 'system' ); 13 | 14 | var slideWidth = system.args[3] ? system.args[3].split( 'x' )[0] : 960; 15 | var slideHeight = system.args[3] ? system.args[3].split( 'x' )[1] : 700; 16 | 17 | page.viewportSize = { 18 | width: slideWidth, 19 | height: slideHeight 20 | }; 21 | 22 | // TODO 23 | // Something is wrong with these config values. An input 24 | // paper width of 1920px actually results in a 756px wide 25 | // PDF. 26 | page.paperSize = { 27 | width: Math.round( slideWidth * 2 ), 28 | height: Math.round( slideHeight * 2 ), 29 | border: 0 30 | }; 31 | 32 | var inputFile = system.args[1] || 'index.html?print-pdf'; 33 | var outputFile = system.args[2] || 'slides.pdf'; 34 | 35 | if( outputFile.match( /\.pdf$/gi ) === null ) { 36 | outputFile += '.pdf'; 37 | } 38 | 39 | console.log( 'Printing PDF (Paper size: '+ page.paperSize.width + 'x' + page.paperSize.height +')' ); 40 | 41 | page.open( inputFile, function( status ) { 42 | window.setTimeout( function() { 43 | console.log( 'Printed succesfully' ); 44 | page.render( outputFile ); 45 | phantom.exit(); 46 | }, 1000 ); 47 | } ); 48 | 49 | --------------------------------------------------------------------------------