<commit_before>""" model.py
Main programm of the TOPKAPI model.
"""

__author__ = "<NAME>"
__version__ = "$Revision: 1.0 $"
__date__ = "$Date: 08/08/2007 $"


#Python modules
import numpy as np

from ConfigParser import SafeConfigParser
config = SafeConfigParser()

#External modules from pytopkapi
#pretreatment: used for subroutines to read the column type files.
from pytopkapi import pretreatment as pm


def run(ini_file='zero_slope_management.ini'):

    ##================================##
    ##  Read the input file (*.ini)   ##
    ##================================##
    config.read(ini_file)
    print 'Read the file ',ini_file
    ##~~~~~~~~~~~ input files ~~~~~~~~~~~##
    #Param<commit_msg>REF: Remove redundant information. Source control tracks this.<commit_after>""" model.py
Main programm of the TOPKAPI model.
"""

#Python modules
import numpy as np

from ConfigParser import SafeConfigParser
config = SafeConfigParser()

#External modules from pytopkapi
#pretreatment: used for subroutines to read the column type files.
from pytopkapi import pretreatment as pm


def run(ini_file='zero_slope_management.ini'):

    ##================================##
    ##  Read the input file (*.ini)   ##
    ##================================##
    config.read(ini_file)
    print 'Read the file ',ini_file
    ##~~~~~~~~~~~ input files ~~~~~~~~~~~##
    #Param
{'fraction_non_alphanumeric': 0.21890909090909091, 'fraction_numerical': 0.007272727272727273, 'mean_word_length': 4.733333333333333, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6918', 'n_tokens_mistral': 414, 'n_tokens_neox': 382, 'n_words': 126}