Skip to content

Instantly share code, notes, and snippets.

View bobetocalo's full-sized avatar

Roberto Valle bobetocalo

View GitHub Profile
@bobetocalo
bobetocalo / root.md
Last active August 29, 2015 14:07
Rootear dispositivo Android

Bootloader

Básicamente, contiene las instrucciones para iniciar el núcleo del sistema operativo. El bootloader configura el dispositivo a un estado inicial conocido. Es un componente esencial del proceso de inicio, que queda almacenado en un área de memoria segura. Ya que se ejecuta antes que cualquier otro software en un dispositivo, es extremadamente específico para cada hardware, y cada modelo de procesador/placa base tiene su propio bootloader.

¿Qué significa desbloquear el bootloader?

Por seguridad, y ya que los fabricantes prefieren que sus dispositivos operen con el software diseñado específicamente para ellos, estos suelen venir bloqueados. Para poder instalar una versión de Android diferente en un dispositivo, primero hay que desbloquear o reemplazar el bootloader, perdiendo la garantía inmediatamente.

El proceso de desbloquear el bootloader no debe ser confundido con el rooteo, ni tampoco con el desbloqueo de la SIM (liberar la tarjeta) que facilita usar el smartphone con cualquier

@bobetocalo
bobetocalo / ensemble_learning.md
Last active August 29, 2015 14:13
Bootstrap and Ensemble methods (Bagging, Random Forests y Boosting)

Bootstrap

No confundir con el framework diseñado para simplificar el proceso de creación de diseños web que desarrolla Twitter (mismo nombre). El bootstrapping es un método de remuestreo propuesto por Bradley Efron en 1979. Se utiliza para aproximar la distribución en el muestreo de un estadístico ϴ. La idea es obtener muestras aleatorias con reemplazamiento (es posible incluir el mismo dato varias veces), siendo esas muestras de igual tamaño N que el conjunto de datos original.

  • Seleccionar muestras de tamaño N con reemplazamiento de la población original (elevado coste computacional).
  • Para cada muestra de bootstrap calcular el estadístico de interés ϴ* (ejemplo: media, varianza).

La probabilidad de que cierta instancia del conjunto de entrenamiento (población) sea seleccionada para formar parte de una muestra bootstrap es del 63% cuando N es grande. Por ejemplo, dada la población [0,1,2,3,4,5,6,7,8,9], ¿cuál es la probabilidad de elegir el dato 2?. Siendo 1-(1/10)=0.9 la probabilidad de no eleg

@bobetocalo
bobetocalo / linux.md
Last active March 7, 2017 12:56
Linux useful commands

Linux user disk size

The du (disk usage) command reports the sizes of directory trees inclusive of all of their contents and the sizes of individual files.

sudo du -sch /home/*

Linux create soft link

ln -s workspace/faces/doc/bibtex/pcr_defs.tex pcr_defs.tex
@bobetocalo
bobetocalo / LaTeX.md
Last active March 17, 2021 14:43
Add EPS images into LaTeX
apt-get install texlive-base
apt-get install texmaker
  • fontawesome.sty not found in LaTeX

FontAwesome provides a growing useful collection of icon glyphs for social media, nice for LaTeX documents as well. Here’s how to install FontAwesome for LaTeX.

@bobetocalo
bobetocalo / remote.md
Last active June 6, 2024 15:43
Google Remote Desktop
@bobetocalo
bobetocalo / gerative_vs_discriminative.md
Last active June 7, 2019 12:31
Generative VS Discriminative Models

Generative VS Discriminative Models

I would like to start this write up with a story.

Story:

A father has two kids, Kid A and Kid B. Kid A has a special character whereas he can learn everything in depth. Kid B have a special character whereas he can only learn the differences between what he saw.

One fine day, The father takes two of his kids (Kid A and Kid B) to a zoo. This zoo is a very small one and has only two kinds of animals say a lion and an elephant. After they came out of the zoo, the father showed them an animal and asked both of them “is this animal a lion or an elephant?”

The Kid A, the kid suddenly draw the image of lion and elephant in a piece of paper based on what he saw inside the zoo. He compared both the images with the animal standing before and answered based on the closest match of image & animal, he answered: “The animal is Lion”.