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

Don't call model.predict #45

Closed
thcrock opened this issue Mar 16, 2017 · 0 comments
Closed

Don't call model.predict #45

thcrock opened this issue Mar 16, 2017 · 0 comments

Comments

@thcrock
Copy link
Contributor

thcrock commented Mar 16, 2017

Restrict to binary subsetting of predict_proba. Also use

if (self.model_name == "SGDClassifier" and (clf.loss =="hinge" or clf.loss == "perceptron")) or self.model_name == "linear.SVC":
            res = list(clf.decision_function(test_x))
        else:
            res = list(clf.predict_proba(test_x)[:,1])
@thcrock thcrock added the bug label Mar 16, 2017
ecsalomon added a commit that referenced this issue Apr 18, 2017
Workflow and performance updates [Resolves #45, #93, #99, #111, #112,…
jesteria pushed a commit that referenced this issue Nov 16, 2017
[WIP] Support collate imputation (Closes #21)
jesteria pushed a commit that referenced this issue Nov 29, 2017
- Add replace kwarg to Architect constructor, which controls whether or not an existing matrix is overwritten
jesteria pushed a commit that referenced this issue Nov 29, 2017
Allow Architect to skip building matrix if it exists [Resolves #45]
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

1 participant