from learn import Learn, Classification
import argparse
import curses

#the only extra argument is "learn" which is used to train the svm
parser = argparse.ArgumentParser(description='Recognize who is typing')
parser.add_argument('--learn', help='teach the algorithm to recognize the user', action='store_true')

args = parser.parse_args()
stdscr = curses.initscr()


#need to know the name of the user for predictive purposes
if args.learn:
    Learn(stdscr)
else:
    Classification(stdscr)
2977d100624c7cd1e20c9f14145648ec01cf2b3c
<mask token>

<mask token>
parser.add_argument('--learn', help=
    'teach the algorithm to recognize the user', action='store_true')
<mask token>
if args.learn:
    Learn(stdscr)
else:
    Classification(stdscr)

<mask token>
parser = argparse.ArgumentParser(description='Recognize who is typing')
parser.add_argument('--learn', help=
    'teach the algorithm to recognize the user', action='store_true')
args = parser.parse_args()
stdscr = curses.initscr()
if args.learn:
    Learn(stdscr)
else:
    Classification(stdscr)

from learn import Learn, Classification
import argparse
import curses
parser = argparse.ArgumentParser(description='Recognize who is typing')
parser.add_argument('--learn', help=
    'teach the algorithm to recognize the user', action='store_true')
args = parser.parse_args()
stdscr = curses.initscr()
if args.learn:
    Learn(stdscr)
else:
    Classification(stdscr)

from learn import Learn, Classification
import argparse
import curses

#the only extra argument is "learn" which is used to train the svm
parser = argparse.ArgumentParser(description='Recognize who is typing')
parser.add_argument('--learn', help='teach the algorithm to recognize the user', action='store_true')

args = parser.parse_args()
stdscr = curses.initscr()


#need to know the name of the user for predictive purposes
if args.learn:
    Learn(stdscr)
else:
    Classification(stdscr)