Skip to content

Instantly share code, notes, and snippets.

View jkarakas's full-sized avatar
🎯
Focusing

Ioannis K Breier jkarakas

🎯
Focusing
View GitHub Profile
@jkarakas
jkarakas / Import(run) a ipynb file from another folder in a jupyter notebook.ipynb
Created June 14, 2018 07:14
Import(run) a ipynb file from another folder in a jupyter notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkarakas
jkarakas / NumericToLatex.ipynb
Last active June 14, 2018 07:47
Turn regular numeric expressions in python into latex
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jkarakas
jkarakas / Lesson_2_Linear_Regression.ipynb
Last active February 7, 2022 15:28
Linear regression quizes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# DSND - Lesson 2 - Quiz 8 / 2
# Let's say that we have a line whose equation is y = -0.6x + 4. For the point (x,y) = (-5, 3), apply the square trick to get the new equation for the line, using a learning rate of alpha = 0.01alpha=0.01.
# Report your answer in the form y = w_1x + w_2, substituting appropriate values for w_1 and w_2.
a = 0.01
w1 = -0.6
w2 = 4
p = -5
@jkarakas
jkarakas / Makefile
Created November 12, 2017 09:16 — forked from nonsleepr/Makefile
Makefile to download Kaggle's datasets
# Requires presence of credentials.txt file containing login/password in the following format:
# UserName=my_username&Password=my_password
COMPETITION=diabetic-retinopathy-detection
all: download_files
session.cookie: credentials.txt
curl -o /dev/null -c session.cookie https://www.kaggle.com/account/login
curl -o /dev/null -c session.cookie -b session.cookie -L -d @credentials.txt https://www.kaggle.com/account/login