Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scikit-learn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ian Johnson
scikit-learn
Commits
0e944a58
Commit
0e944a58
authored
14 years ago
by
Fabian Pedregosa
Browse files
Options
Downloads
Patches
Plain Diff
Update the developer docs.
parent
e9f67679
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/developers/index.rst
+4
-3
4 additions, 3 deletions
doc/developers/index.rst
with
4 additions
and
3 deletions
doc/developers/index.rst
+
4
−
3
View file @
0e944a58
...
@@ -219,9 +219,8 @@ accept as arguments constants that determine the estimator behavior
...
@@ -219,9 +219,8 @@ accept as arguments constants that determine the estimator behavior
It should not, however, take the actual training data as argument, as
It should not, however, take the actual training data as argument, as
this is leaved to the ``fit()`` method::
this is leaved to the ``fit()`` method::
clf1 = SVM(impl='c_svm')
clf2 = SVC(C=2.3)
clf2 = SVM(C=2.3)
clf3 = SVC([[1, 2], [2, 3]], [-1, 1]) # WRONG!
clf3 = SVM([[1, 2], [2, 3]], [-1, 1]) # WRONG!
The arguments that go in the `__init__` should all be keyword arguments
The arguments that go in the `__init__` should all be keyword arguments
...
@@ -262,6 +261,8 @@ data in the predict method.
...
@@ -262,6 +261,8 @@ data in the predict method.
samples and D is the number of features.
samples and D is the number of features.
* Y : array, with shape = [N], where N is the number of samples.
* Y : array, with shape = [N], where N is the number of samples.
* args, kwargs. Parameters can also be set in the fit method.
X.shape[0] should be the same as Y.shape[0]. If this requisite is not
X.shape[0] should be the same as Y.shape[0]. If this requisite is not
met, an exception should be raised.
met, an exception should be raised.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment