Feature/feature hasher

FeatureHasher added as an alternative to DictVectorizer.

Added 2 parameters in config file in Input part:

* feature_hasher = true, could be true or false. By default it is False (works as DictVectorizer)
* hasher_features = 5 (Number of features used in the feature_hasher, at least should be the number of features among all files.)

Hi Dan,

Sorry, my fault. I have fixed it and committed

Thanks

From: Dan Blanchard [mailto:notifications@github.com]
Sent: Monday, June 23, 2014 4:34 PM
To: EducationalTestingService/skll
Cc: Murrugarra Llerena, Nils E
Subject: Re: [skll] Feature/feature hasher (#120)


In skll/experiments.py:

> @@ -588,16 +601,16 @@ def _classify_featureset(args):

>                    file=log_file)

>

>          # check whether a trained model on the same data with the same

> -        # featureset already exists if so, load it and then use it on test data

> -        modelfile = os.path.join(model_path, '{}.model'.format(job_name))

I think you accidentally deleted these lines.

—
Reply to this email directly or view it on GitHub<https://github.com/EducationalTestingService/skll/pull/120/files#r14098340>.

________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________