You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/modules/generated/sklearn.base.BaseEstimator.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@
172
172
<h1><aclass="reference internal" href="../classes.html#module-sklearn.base" title="sklearn.base"><ttclass="xref py py-mod docutils literal"><spanclass="pre">sklearn.base</span></tt></a>.BaseEstimator<aclass="headerlink" href="#sklearn-base-baseestimator" title="Permalink to this headline">¶</a></h1>
173
173
<dlclass="class">
174
174
<dtid="sklearn.base.BaseEstimator">
175
-
<emclass="property">class </em><ttclass="descclassname">sklearn.base.</tt><ttclass="descname">BaseEstimator</tt><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L169"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator" title="Permalink to this definition">¶</a></dt>
175
+
<emclass="property">class </em><ttclass="descclassname">sklearn.base.</tt><ttclass="descname">BaseEstimator</tt><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L169"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator" title="Permalink to this definition">¶</a></dt>
176
176
<dd><p>Base class for all estimators in scikit-learn</p>
177
177
<pclass="rubric">Notes</p>
178
178
<p>All estimators should specify all the parameters that can be set
<ttclass="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L206"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator.get_params" title="Permalink to this definition">¶</a></dt>
204
+
<ttclass="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L206"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator.get_params" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L243"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator.set_params" title="Permalink to this definition">¶</a></dt>
229
+
<ttclass="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L243"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.BaseEstimator.set_params" title="Permalink to this definition">¶</a></dt>
230
230
<dd><p>Set the parameters of this estimator.</p>
231
231
<p>The method works on simple estimators as well as on nested objects
232
232
(such as pipelines). The former have parameters of the form
Copy file name to clipboardExpand all lines: dev/modules/generated/sklearn.base.TransformerMixin.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@
172
172
<h1><aclass="reference internal" href="../classes.html#module-sklearn.base" title="sklearn.base"><ttclass="xref py py-mod docutils literal"><spanclass="pre">sklearn.base</span></tt></a>.TransformerMixin<aclass="headerlink" href="#sklearn-base-transformermixin" title="Permalink to this headline">¶</a></h1>
173
173
<dlclass="class">
174
174
<dtid="sklearn.base.TransformerMixin">
175
-
<emclass="property">class </em><ttclass="descclassname">sklearn.base.</tt><ttclass="descname">TransformerMixin</tt><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L435"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.TransformerMixin" title="Permalink to this definition">¶</a></dt>
175
+
<emclass="property">class </em><ttclass="descclassname">sklearn.base.</tt><ttclass="descname">TransformerMixin</tt><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L435"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.TransformerMixin" title="Permalink to this definition">¶</a></dt>
176
176
<dd><p>Mixin class for all transformers in scikit-learn.</p>
<ttclass="descname">fit_transform</tt><big>(</big><em>X</em>, <em>y=None</em>, <em>**fit_params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L438"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.TransformerMixin.fit_transform" title="Permalink to this definition">¶</a></dt>
197
+
<ttclass="descname">fit_transform</tt><big>(</big><em>X</em>, <em>y=None</em>, <em>**fit_params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L438"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.base.TransformerMixin.fit_transform" title="Permalink to this definition">¶</a></dt>
198
198
<dd><p>Fit to data, then transform it.</p>
199
199
<p>Fits transformer to X and y with optional parameters fit_params
<ttclass="descname">__init__</tt><big>(</big><em>base_estimator=None</em>, <em>method='sigmoid'</em>, <em>cv=3</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/calibration.py#L98"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.__init__" title="Permalink to this definition">¶</a></dt>
297
+
<ttclass="descname">__init__</tt><big>(</big><em>base_estimator=None</em>, <em>method='sigmoid'</em>, <em>cv=3</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/calibration.py#L98"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.__init__" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">fit</tt><big>(</big><em>X</em>, <em>y</em>, <em>sample_weight=None</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/calibration.py#L103"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.fit" title="Permalink to this definition">¶</a></dt>
302
+
<ttclass="descname">fit</tt><big>(</big><em>X</em>, <em>y</em>, <em>sample_weight=None</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/calibration.py#L103"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.fit" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L206"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.get_params" title="Permalink to this definition">¶</a></dt>
334
+
<ttclass="descname">get_params</tt><big>(</big><em>deep=True</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L206"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.get_params" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">predict</tt><big>(</big><em>X</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/calibration.py#L216"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.predict" title="Permalink to this definition">¶</a></dt>
359
+
<ttclass="descname">predict</tt><big>(</big><em>X</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/calibration.py#L216"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.predict" title="Permalink to this definition">¶</a></dt>
360
360
<dd><p>Predict the target of new samples. Can be different from the
<ttclass="descname">predict_proba</tt><big>(</big><em>X</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/calibration.py#L186"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.predict_proba" title="Permalink to this definition">¶</a></dt>
384
+
<ttclass="descname">predict_proba</tt><big>(</big><em>X</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/calibration.py#L186"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.predict_proba" title="Permalink to this definition">¶</a></dt>
385
385
<dd><p>Posterior probabilities of classification</p>
386
386
<p>This function returns posterior probabilities of classification
387
387
according to each class on an array of test vectors X.</p>
<ttclass="descname">score</tt><big>(</big><em>X</em>, <em>y</em>, <em>sample_weight=None</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L292"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.score" title="Permalink to this definition">¶</a></dt>
410
+
<ttclass="descname">score</tt><big>(</big><em>X</em>, <em>y</em>, <em>sample_weight=None</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L292"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.score" title="Permalink to this definition">¶</a></dt>
411
411
<dd><p>Returns the mean accuracy on the given test data and labels.</p>
412
412
<p>In multi-label classification, this is the subset accuracy
413
413
which is a harsh metric since you require for each sample that
<ttclass="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/53bc02a/sklearn/base.py#L243"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.set_params" title="Permalink to this definition">¶</a></dt>
445
+
<ttclass="descname">set_params</tt><big>(</big><em>**params</em><big>)</big><aclass="reference external" href="https://github.com/scikit-learn/scikit-learn/blob/8192cea/sklearn/base.py#L243"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#sklearn.calibration.CalibratedClassifierCV.set_params" title="Permalink to this definition">¶</a></dt>
446
446
<dd><p>Set the parameters of this estimator.</p>
447
447
<p>The method works on simple estimators as well as on nested objects
448
448
(such as pipelines). The former have parameters of the form
0 commit comments