Skip to content

[DOC] ensure all attributes are documented for Perceptron #14312 #15507

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

Closed
wants to merge 1 commit into from

Conversation

pwalchessen
Copy link
Contributor

This adds the loss function attribute to Perceptron and alphabetizes all of the attributes.

Original problem:
as discussed in #13385 we need to ensure all attributes are documented.

@eickenberg
Copy link
Contributor

Can you change your PR title to

[DOC] ensure all attributes are documented for Perceptron

@pwalchessen pwalchessen changed the title Ensure all attributes are documented #14312 [DOC] ensure all attributes are documented for Perceptron #14312 Nov 2, 2019
coef_ : array, shape = [1, n_features] if n_classes == 2 else [n_classes,\
n_features]
Weights assigned to the features.

intercept_ : array, shape = [1] if n_classes == 2 else [n_classes]
Constants in decision function.

loss_function_ : concrete LossFunction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should probably say loss_function_ : callable

coef_ : array, shape = [1, n_features] if n_classes == 2 else [n_classes,\
n_features]
Weights assigned to the features.

intercept_ : array, shape = [1] if n_classes == 2 else [n_classes]
Constants in decision function.

loss_function_ : concrete LossFunction
The function that determines the loss, or difference between the \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmarmo
Copy link
Contributor

cmarmo commented Jul 9, 2020

Sorry @pwalchessen but this has been fixed in #15521. I'm closing this one. Thanks for your work!

@cmarmo cmarmo closed this Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants