Skip to content

Instantly share code, notes, and snippets.

@cancinos
cancinos / 0_reuse_code.js
Created August 3, 2016 20:28
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@cancinos
cancinos / logistic_regression.py
Created April 1, 2020 21:11
Logistic regression console
"""
Consoles outputs and inputs:
1. Say Hi and ask for training set, evaluation set, alpha, numIterations and threshold
"""
print("Welcome to your logistic regression engine! Please give me the following variables: ")
print("1. Where's your training set?")
training_set_path = input('--> ')
print("2. Are you going to eveluate it? y/n")