This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \begin{tikzpicture} | |
| \tikzstyle{node_style} = [circle,draw=black] | |
| \tikzstyle{edge_style} = [draw=black] | |
| \node[node_style] (v1) at (-2,2) {2}; | |
| \node[node_style] (v2) at (2,2) {3}; | |
| \node[node_style] (v3) at (4,0) {6}; | |
| \node[node_style] (v4) at (2,-2) {4}; | |
| \node[node_style] (v5) at (-2,-2) {5}; | |
| \node[node_style] (v6) at (-4,0) {1}; | |
| \draw[edge_style] (v1) edge (v2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{article} | |
| \usepackage{tikz} | |
| \usepackage{pgfplots} | |
| \begin{document} | |
| \begin{tikzpicture} | |
| \begin{axis}[ | |
| xlabel=$x$, | |
| ylabel={$g(x) = \frac{1}{1+e^{-x}}$} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{article} | |
| \usepackage{tikz} | |
| \usepackage{pgfplots} | |
| \begin{document} | |
| \begin{tikzpicture} | |
| \begin{axis}[ | |
| xlabel=$x$, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/Rscript --vanilla | |
| library(sp) | |
| #library(RColorBrewer) | |
| colorPalette <- colorRampPalette(c("white", "orange"))(32) | |
| spain <- readRDS("ESP_adm1.rds") | |
| # Datos de Informe Anual del Sector TIC y de los Contenidos en España 2016. ONTSI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id | weight | height | sex | race | |
|---|---|---|---|---|---|
| 1 | 143.598135188032 | 80.6382204460964 | Female | White | |
| 2 | 109.094416743981 | 83.7366504377381 | Female | Black | |
| 3 | 148.560463194675 | 63.2674171329737 | Female | Hisp | |
| 4 | 104.881118603777 | 54.6625706634309 | Female | Hisp | |
| 5 | 141.527107821507 | 81.1471863960098 | Female | Black | |
| 6 | 124.598800037726 | 20.5511008074068 | Female | Hisp | |
| 7 | 130.209847885546 | 81.7524637767098 | Male | White | |
| 8 | 176.902741065031 | 59.0953973693696 | Female | Black | |
| 9 | 126.799167717638 | 58.8960064014157 | Male | White |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Docker | |
| Orden para arrancar Jupyter desde la imagen docker oficial de TensorFlow con acceso a un difectorio del host: | |
| docker run -it -p 8888:8888 -v $(pwd):/home/pantalla/david/notebooks/ -w /home/pantalla/david/notebooks/ tensorflow/tensorflow | |
| o bien | |
| docker run -it --rm -p 8888:8888 -v $(pwd):/home/pantalla/david/notebooks/ -w /home/pantalla/david/notebooks/ jupyter/tensorflow-notebook | |
| # Conda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gpg -c file.txt | |
| gpg -d file.txt.gpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd $_ # $_ is the last argument given to the last command | |
| cd - # - is the last folder | |
| # Intall Jupyter support for conda environments | |
| conda install nb_conda | |
| conda install ipykernel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * {{ proyect }} | |
| * | |
| * Copyright (C) {{ year }} {{ Organization }} | |
| * | |
| * File created by {{ author }}. | |
| * | |
| * File modified by {{ contributor }}. | |
| * | |
| * This program is free software: you can redistribute it and/or modify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ Short description of this Python module. | |
| Longer description of this module. | |
| This program is free software: you can redistribute it and/or modify it under | |
| the terms of the GNU General Public License as published by the Free Software | |
| Foundation, either version 3 of the License, or (at your option) any later | |
| version. |