<commit_before>__author__ = 'arkilic'

import csv
import numpy as np
from sklearn.linear_model import SGDRegressor
import random
import pprint




print "Prediction on IBM 30 year data:"
f = open('HD-1984-2014-d.csv')
tmp_data = csv.reader(f)

my_data = list()<commit_msg>Update predict_new.py<commit_after>__author__ = 'arkilic'

import csv
import numpy as np
from sklearn.linear_model import SGDRegressor
import random
import pprint

raise NotImplementedError('This is the non-pydoop version, please see predict_new_map_red.py for the application')


print "Prediction on IBM 30 year data:"
f = open('HD-1984-2014-d.csv')
tmp_data = csv.reader(f)

my_data = list()
{'fraction_non_alphanumeric': 0.09009009009009009, 'fraction_numerical': 0.03003003003003003, 'mean_word_length': 5.413461538461538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3998993', 'n_tokens_mistral': 249, 'n_tokens_neox': 220, 'n_words': 70}