<commit_before>from nolearn.dbn import DBN
from readfacedatabases import *

from sklearn.metrics import classification_report

import argparse



parser = argparse.ArgumentParser(description='nolearn test')
parser.add_argument('--equalize',dest='equalize',action='store_true', default=False,
                    help="if true, the input images are equalized before being fed into the net")
parser.add_argument('--maxEpochs', type=int, default=1000,
                    help='the maximum number of supervised epochs')

args = parser.parse_args()


def KanadeClassifier():

  clf = DBN(
      [1200, 1500, 1500, 7],
      learn_rates=0.1,<commit_msg>import cv in norlearn<commit_after>from nolearn.dbn import DBN
from readfacedatabases import *
from sklearn import cross_validation
from sklearn.metrics import classification_report

import argparse



parser = argparse.ArgumentParser(description='nolearn test')
parser.add_argument('--equalize',dest='equalize',action='store_true', default=False,
                    help="if true, the input images are equalized before being fed into the net")
parser.add_argument('--maxEpochs', type=int, default=1000,
                    help='the maximum number of supervised epochs')

args = parser.parse_args()


def KanadeClassifier():

  clf = DBN(
      [1200, 1500, 1500, 7],
      learn_rates=0.1,
{'fraction_non_alphanumeric': 0.10149253731343283, 'fraction_numerical': 0.028358208955223882, 'mean_word_length': 4.098859315589354, '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': '4782463', 'n_tokens_mistral': 426, 'n_tokens_neox': 377, 'n_words': 108}