Home
last modified time | relevance | path

Searched refs:interaction_only (Results 1 – 6 of 6) sorted by relevance

/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/preprocessing/
H A D_csr_polynomial_expansion.pyx18 INDEX_T interaction_only) nogil: argument
24 if interaction_only:
31 INDEX_T interaction_only) nogil: argument
37 if interaction_only:
50 INDEX_T d, INDEX_T interaction_only, argument
73 interaction_only : int
91 - interaction_only*d**2)
103 total_nnz += (nnz ** 2 + nnz) / 2 - interaction_only * nnz
106 - interaction_only * nnz ** 2)
132 col = _deg2_column(d, i, j, interaction_only)
[all …]
H A D_polynomial.py134 self, degree=2, *, interaction_only=False, include_bias=True, order="C" argument
137 self.interaction_only = interaction_only
143 n_features, min_degree, max_degree, interaction_only, include_bias argument
145 comb = combinations if interaction_only else combinations_w_r
156 n_features, min_degree, max_degree, interaction_only, include_bias argument
164 if interaction_only:
191 interaction_only=self.interaction_only,
323 interaction_only=self.interaction_only,
332 interaction_only=self.interaction_only,
404 interaction_only=self.interaction_only,
[all …]
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/preprocessing/tests/
H A Dtest_polynomial.py518 interaction_only, argument
527 degree=degree, include_bias=include_bias, interaction_only=interaction_only
592 interaction_only, argument
709 deg, include_bias=include_bias, interaction_only=interaction_only
736 deg, include_bias=include_bias, interaction_only=interaction_only
756 interaction_only, argument
765 interaction_only=interaction_only,
775 interaction_only=interaction_only,
795 deg, include_bias=include_bias, interaction_only=interaction_only
847 4, include_bias=include_bias, interaction_only=interaction_only
[all …]
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/applications/
H A Dplot_cyclical_feature_engineering.py626 PolynomialFeatures(degree=2, interaction_only=True, include_bias=False),
/dports/science/py-scikit-learn/scikit-learn-1.0.2/doc/modules/
H A Dpreprocessing.rst885 be gotten with the setting ``interaction_only=True``::
892 >>> poly = PolynomialFeatures(degree=3, interaction_only=True)
H A Dlinear_model.rst1668 ``interaction_only=True``.
1682 >>> X = PolynomialFeatures(interaction_only=True).fit_transform(X).astype(int)