Skip to content

Instantly share code, notes, and snippets.

View leliel12's full-sized avatar
😡
always angry

Juan BC leliel12

😡
always angry
View GitHub Profile
#!/usr/bin/env python3
"""
Git Open - Extract and display Git remote URLs, open in browser
Author: Juan BC
Email: [email protected]
License: BSD-3-Clause
Installation:
1. Copy this script to a directory in your PATH (e.g., ~/.local/bin/)
@leliel12
leliel12 / git-iacommit.py
Last active December 2, 2025 16:38
git plugin for autocommit with claude
#!/usr/bin/env python3
"""
Git AI Commit - Automated commit creation using Claude AI
Author: Juan BC
Email: [email protected]
License: BSD-3-Clause
Installation:
1. Copy this script to a directory in your PATH (e.g., ~/.local/bin/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leliel12
leliel12 / corrigeitor.py
Last active November 18, 2023 19:38
Corrigeitor
# Corrigeitor
# 18/nov/2023
# Juan Cabral
__version__ = "0.4"
import glob
import os
import re
import sys
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

--- Para pablo

Bueno los pasos del experimento son los siguientes

  • El experimento consiste en entrenar un clasificador con dos tiles y 2000 fuentes cada uno y tratar de aprender de que tile es cada una de esas fuentes.
  • Las 2000 fuentes son sacas al azar sin reposicion y todas son desconocidas.
  • El clasificador se entrena siempre usando 10 kfolds.
  • Primero se buscaros cuales eran los hiper parametros para los clasificadores
  • SVM-Linear

Para correr un solo test se puede hacer

$ tox -e py37 -- -k test_SEIR_migration -s -n 0

Donde

  • tox -e py37 es que vamos a correr solo el environment py37.