Created
April 1, 2020 21:11
-
-
Save cancinos/d743f556dc05dac4ab47b34bbf619f22 to your computer and use it in GitHub Desktop.
Logistic regression console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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") | |
evaluate_decision = input('--> ') | |
if evaluate_decision == 'y': | |
print("3. Where's your evaluation set?") | |
evaluation_set_path = input('--> ') | |
else: | |
print("3. Ok then, we are going to use 10-fold cross-validation for it!") | |
print("4. Give me your learning rate (alpha)") | |
alpha = input('--> ') | |
print("4. Give me your iterations number") | |
numIterations = input('--> ') | |
print("4. Give me your threshold") | |
alpha = input('--> ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment