Skip to content

Instantly share code, notes, and snippets.

@kieranbrowne
kieranbrowne / Script for Fooling Images as in Nguyen Yosinski Clune (2015)
Created December 14, 2017 04:26
Script for producing "neural network fooling images" with CPPNs. This is a simplified version of the algorithm described in Nguyen, Anh, Jason Yosinski, and Jeff Clune. "Deep neural networks are easily fooled: High confidence predictions for unrecognizable images." In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,…
/*
MIT License
Copyright (c) 2017 Kieran Browne
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@kieranbrowne
kieranbrowne / Neural Interpretation Diagram Redrawn from Ozesmi and Ozesmi 2005
Created December 12, 2017 05:29
Redraw of a Neural Interpretation Diagram published in Özesmi, Stacy L., and Uygar Özesmi. "An artificial neural network approach to spatial habitat modelling with interspecific interaction." Ecological modelling 116, no. 1 (1999): 15-31.
/*
MIT License
Copyright (c) 2017 Kieran Browne
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@kieranbrowne
kieranbrowne / Interpretable long-range LSTM Cells Visualisation Redrawn from Karpathy Johnson and Fei-Fei 2015
Created December 12, 2017 04:42
Redraw of Interpretable, long-range LSTM cells visualisation published in Karpathy, Andrej, Justin Johnson, and Li Fei-Fei. "Visualizing and understanding recurrent networks." arXiv preprint arXiv:1506.02078 (2015).
<!--
MIT License
Copyright (c) 2017 Kieran Browne
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@kieranbrowne
kieranbrowne / Neural Interpretation Diagram Redrawn from Tzeng and Ma 2005
Last active December 19, 2017 07:02
Redraw of a Neural Interpretation Diagram published in F. Y. Tzeng and K. L. Ma, “Opening the black box-data driven visualization of neural networks,” Visualization, 2005.
/*
MIT License
Copyright (c) 2017 Kieran Browne
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@kieranbrowne
kieranbrowne / babel-vim
Last active September 19, 2015 15:01
Run Bable on lines or sections of code inside vim.
" inside your vimrc
nnoremap <c-b> 0d$:read! echo '<c-r>"' \| babel --blacklist useStrict <cr>
inoremap <c-b> <esc>0d$:read! echo '<c-r>"' \| babel --blacklist useStrict <cr>
vnoremap <c-b> d:read! echo '<c-r>"' \| babel --blacklist useStrict <cr>