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

pep8 fixes #1

Merged
merged 687 commits into from
May 24, 2011
Merged

pep8 fixes #1

merged 687 commits into from
May 24, 2011

Conversation

ogrisel
Copy link

@ogrisel ogrisel commented May 24, 2011

Here are some small pep8 fixes for your branch.

larsmans and others added 30 commits May 2, 2011 11:56
* Plumb memory leaks in allocation
* Don't cast return value from malloc
* Remove unused variables
* No more register keyword; is a no-op in modern compilers
* Cosmetic changes
Make ball tree code safer and 64-bit clean
Copy editing in developers' docs by Lars
…n grid_search

That would make it easier to allow using system-wide installed joblib on Debian
installations which provide only rudimentary externals/joblib/__init__.py

Please cherry-pick into 0.8.X
RF: use joblib.logger submodule itself while accessing its function in grid_search
ogrisel and others added 27 commits May 22, 2011 00:33
* use size_t consistently
* use auto_ptr to prevent memory leaks
* some minor fixes
The user can now choose either Mean Squared Error, Root Mean Squared
Error or Sum of Squared Errors through a keyword.
Others types of error may be implemented depending on future needs.
I feel it is a little hacky  since I copy init at the very begining, not in "_init_centroids".
But in this function, X_mean would not be available. And I like this solution better than adding
another argument to _init_centroids.
…with k_means

function. Don't know if this is the desirable default.
pre_dispatch limits the amount of jobs spawn, and thus puts a bound on
memory usage.
Accept list arguments in grid_search
@ogrisel
Copy link
Author

ogrisel commented May 24, 2011

Actually the pep8 fixes is just the last checking. All other changesets have happened on master since your forked your branch. Please feel free to merge all of them as well to keep you branch close to the current master.

pberkes added a commit that referenced this pull request May 24, 2011
@pberkes pberkes merged commit 4ec4a02 into pberkes:mldata May 24, 2011
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

Successfully merging this pull request may close these issues.