Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populating evolved features is slow #21

Open
zachwooddoughty opened this issue Feb 11, 2014 · 0 comments
Open

Populating evolved features is slow #21

zachwooddoughty opened this issue Feb 11, 2014 · 0 comments
Assignees

Comments

@zachwooddoughty
Copy link
Collaborator

We talked about this today, but the population of evolved features seems to take a disproportionate amount of time -- like an hour for 50 docs.

evolved_feature_three (as example) has an _init method that calls self.get_feature_vectors() on the necessary features, and then saves that information to self.features["evolved_feature_three"]. Each query of evolved_feature_three grabs the necessary values from the self.features hash, and does a simple addition/subtraction combination of the values. The code is below
https://github.com/NoahCarnahan/plagcomps/blob/master/intrinsic/featureextraction.py#L614

Why does this take so long?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants