Skip to content

Instantly share code, notes, and snippets.

View e1ijah1's full-sized avatar

elijah e1ijah1

  • NASA
  • Gargantua
  • 19:04 (UTC +08:00)
View GitHub Profile
@e1ijah1
e1ijah1 / πŸ“Š Weekly development breakdown
Last active April 3, 2023 00:47
πŸ“Š Weekly development breakdown
Go 3 hrs 43 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 65.0%
C 33 mins β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 9.7%
YAML 32 mins β–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 9.4%
C++ 14 mins β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 4.3%
Docker 13 mins β–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 3.8%
@e1ijah1
e1ijah1 / plot_lr.py
Created October 10, 2019 06:51
plot linear regression & implement ordinary least squares
import numpy as np
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
from sklearn.metrics import r2_score
def plot():
fig, axs = plt.subplots(1, 2)
fig.set_size_inches(12, 5)
@e1ijah1
e1ijah1 / roc_impl.py
Last active September 14, 2019 16:12
pyplot plot roc curve demo
import numpy as np
import pandas as pd
import seaborn as sn
from sklearn import metrics
import matplotlib.pyplot as plt
TEST_SET_SIZE = 30
THRESHOLD = .5