Skip to content

Instantly share code, notes, and snippets.

View GStechschulte's full-sized avatar

Gabriel Stechschulte GStechschulte

View GitHub Profile
@AlexAndorra
AlexAndorra / new-calibration-plot.ipynb
Created February 22, 2025 22:50
A Novel Calibration Plot for Bayesian Models
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.
@kskilling
kskilling / Pi_WeatherProject_InfluxDB.py
Created March 18, 2021 20:19
Raspberry Pi Python Script to Send Data to InfluxDB
import serial, time
from time import gmtime, strftime
from datetime import datetime
import bme280
import smbus2
import sys
import rx
from rx import operators as ops
from influxdb_client import InfluxDBClient, Point, WritePrecision, WriteOptions
from influxdb_client.client.write_api import SYNCHRONOUS
@liorshk
liorshk / mlflow_gridsearch.py
Created April 22, 2020 15:24
Create MLFlow runs with Sklearn Gridsearch object
def log_run(gridsearch: sklearn.GridSearchCV, experiment_name: str, model_name: str, run_index: int, conda_env, tags={}):
"""Logging of cross validation results to mlflow tracking server
Args:
experiment_name (str): experiment name
model_name (str): Name of the model
run_index (int): Index of the run (in Gridsearch)
conda_env (str): A dictionary that describes the conda environment (MLFlow Format)
tags (dict): Dictionary of extra data and tags (usually features)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# IMPORTS
import pandas as pd
import math
import os.path
import time
from bitmex import bitmex
from binance.client import Client
from datetime import timedelta, datetime
from dateutil import parser
from tqdm import tqdm_notebook #(Optional, used for progress-bars)
@denis-bz
denis-bz / 0-mopta08-py.md
Last active April 15, 2025 06:53
Optimizing MOPTA08 (128 variables, 68 constraints) with SLSQP from python
@danilobatistaqueiroz
danilobatistaqueiroz / mariadb_without_admin_rights.md
Last active July 3, 2023 01:48
mariadb standalone without admin rights
@kashaziz
kashaziz / scrapingexample.py
Last active February 18, 2025 21:18
Example of web scraping using Python and BeautifulSoup.
'''
Example of web scraping using Python and BeautifulSoup.
Sraping ESPN College Football data
http://www.espn.com/college-sports/football/recruiting/databaseresults/_/sportid/24/class/2006/sort/school/starsfilter/GT/ratingfilter/GT/statuscommit/Commitments/statusuncommit/Uncommited
The script will loop through a defined number of pages to extract footballer data.
'''
from bs4 import BeautifulSoup