Skip to content

Instantly share code, notes, and snippets.

View thebigdatajedi's full-sized avatar

Gabe Cruz thebigdatajedi

View GitHub Profile
@thebigdatajedi
thebigdatajedi / In Windows the .profile file if multiple vendors are using ssh keys using GitBash.sh
Created December 17, 2022 11:41
For a few months in the pandemic my Mac Book Pro would not ship because labor shortages, I was then given a Windows box for 6 months. And I quickly found out what I could do to use GitBase with a .profile file to use to Git vendors.
env=~/.ssh/agent.env
agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; }
agent_start () {
(umask 077; ssh-agent >| "$env")
. "$env" >| /dev/null ; }
agent_load_env
#sklearn.metrics has a mean_squared_error function. The RMSE is just the square root of whatever it returns.
#source:https://intellipaat.com/community/1269/is-there-a-library-function-for-root-mean-square-error-rmse-in-python
from sklearn.metrics import mean_squared_error
from math import sqrt
rms = sqrt(mean_squared_error(y_actual, y_predicted))
@thebigdatajedi
thebigdatajedi / README-Template.md
Created March 29, 2022 05:42 — forked from DomPizzie/README-Template.md
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started