repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
lale | lale-master/lale/lib/rasl/map.py | # Copyright 2020 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 11,081 | 33.958991 | 190 | py |
lale | lale-master/lale/lib/rasl/one_hot_encoder.py | # Copyright 2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 6,313 | 34.077778 | 150 | py |
lale | lale-master/lale/lib/rasl/concat_features.py | # Copyright 2019 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 10,375 | 35.407018 | 126 | py |
lale | lale-master/lale/lib/rasl/metrics.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 12,931 | 34.141304 | 129 | py |
lale | lale-master/lale/lib/rasl/convert.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 5,448 | 28.61413 | 100 | py |
lale | lale-master/lale/lib/rasl/relational.py | # Copyright 2019 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 4,450 | 32.719697 | 146 | py |
lale | lale-master/lale/lib/rasl/__init__.py | # Copyright 2021-2023 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 7,794 | 39.180412 | 103 | py |
lale | lale-master/lale/lib/rasl/group_by.py | # Copyright 2020 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 4,148 | 31.928571 | 143 | py |
lale | lale-master/lale/lib/rasl/target_encoder.py | # Copyright 2023 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 9,881 | 37.007692 | 144 | py |
lale | lale-master/lale/lib/rasl/split_xy.py | # Copyright 2021, 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 4,260 | 29.654676 | 151 | py |
lale | lale-master/lale/lib/rasl/ordinal_encoder.py | # Copyright 2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 6,824 | 35.693548 | 268 | py |
lale | lale-master/lale/lib/rasl/monoid.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 3,473 | 33.39604 | 105 | py |
lale | lale-master/lale/lib/rasl/batched_bagging_classifier.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 4,158 | 33.94958 | 118 | py |
lale | lale-master/lale/lib/rasl/min_max_scaler.py | # Copyright 2021-2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 7,335 | 34.61165 | 123 | py |
lale | lale-master/lale/lib/category_encoders/hashing_encoder.py | # Copyright 2019 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 4,812 | 31.52027 | 124 | py |
lale | lale-master/lale/lib/category_encoders/__init__.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 1,355 | 34.684211 | 108 | py |
lale | lale-master/lale/lib/category_encoders/target_encoder.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 7,581 | 34.933649 | 309 | py |
lale | lale-master/lale/lib/autogen/max_abs_scaler.py | from numpy import inf, nan
from sklearn.preprocessing import MaxAbsScaler as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MaxAbsScalerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpar... | 3,179 | 33.193548 | 145 | py |
lale | lale-master/lale/lib/autogen/cca.py | from numpy import inf, nan
from sklearn.cross_decomposition import CCA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _CCAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
de... | 6,276 | 37.042424 | 139 | py |
lale | lale-master/lale/lib/autogen/ard_regression.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import ARDRegression as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _ARDRegressionImpl:
def __init__(self, **hyperparams):
self._hyperparams = h... | 7,072 | 36.031414 | 155 | py |
lale | lale-master/lale/lib/autogen/label_binarizer.py | from numpy import inf, nan
from sklearn.preprocessing import LabelBinarizer as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LabelBinarizerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hype... | 4,388 | 34.682927 | 149 | py |
lale | lale-master/lale/lib/autogen/truncated_svd.py | from numpy import inf, nan
from sklearn.decomposition import TruncatedSVD as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _TruncatedSVDImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpar... | 4,673 | 35.80315 | 263 | py |
lale | lale-master/lale/lib/autogen/theil_sen_regressor.py | from numpy import inf, nan
from sklearn.linear_model import TheilSenRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _TheilSenRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self.... | 6,633 | 36.480226 | 310 | py |
lale | lale-master/lale/lib/autogen/linear_discriminant_analysis.py | import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _LinearDiscriminantAnalysisImpl:
def __init__(self, **hyper... | 12,053 | 36.551402 | 189 | py |
lale | lale-master/lale/lib/autogen/orthogonal_matching_pursuit.py | from numpy import inf, nan
from sklearn.linear_model import OrthogonalMatchingPursuit as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _OrthogonalMatchingPursuitImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_mo... | 5,485 | 33.2875 | 169 | py |
lale | lale-master/lale/lib/autogen/bayesian_ridge.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import BayesianRidge as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _BayesianRidgeImpl:
def __init__(self, **hyperparams):
self._hyperparams = h... | 6,809 | 34.842105 | 155 | py |
lale | lale-master/lale/lib/autogen/bernoulli_rbm.py | from numpy import inf, nan
from sklearn.neural_network import BernoulliRBM as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _BernoulliRBMImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpa... | 4,825 | 34.485294 | 147 | py |
lale | lale-master/lale/lib/autogen/bernoulli_nb.py | from numpy import inf, nan
from sklearn.naive_bayes import BernoulliNB as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _BernoulliNBImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)... | 5,832 | 36.152866 | 139 | py |
lale | lale-master/lale/lib/autogen/rbf_sampler.py | from numpy import inf, nan
from sklearn.kernel_approximation import RBFSampler as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _RBFSamplerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyper... | 4,098 | 36.605505 | 263 | py |
lale | lale-master/lale/lib/autogen/label_propagation.py | from numpy import inf, nan
from sklearn.semi_supervised import LabelPropagation as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LabelPropagationImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self... | 6,156 | 35.431953 | 157 | py |
lale | lale-master/lale/lib/autogen/lasso_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import LassoCV as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _LassoCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
... | 10,342 | 38.030189 | 219 | py |
lale | lale-master/lale/lib/autogen/pls_canonical.py | from numpy import inf, nan
from sklearn.cross_decomposition import PLSCanonical as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PLSCanonicalImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hy... | 7,029 | 36.795699 | 157 | py |
lale | lale-master/lale/lib/autogen/lasso_lars.py | from numpy import inf, nan
from sklearn.linear_model import LassoLars as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LassoLarsImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 7,285 | 35.248756 | 137 | py |
lale | lale-master/lale/lib/autogen/ridge_classifier_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import RidgeClassifierCV as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _RidgeClassifierCVImpl:
def __init__(self, **hyperparams):
self._hyperpa... | 9,203 | 37.672269 | 173 | py |
lale | lale-master/lale/lib/autogen/mlp_regressor.py | from numpy import inf, nan
from sklearn.neural_network import MLPRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MLPRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpa... | 14,379 | 38.505495 | 263 | py |
lale | lale-master/lale/lib/autogen/huber_regressor.py | from numpy import inf, nan
from sklearn.linear_model import HuberRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _HuberRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyper... | 5,833 | 35.236025 | 172 | py |
lale | lale-master/lale/lib/autogen/lasso_lars_cv.py | from numpy import inf, nan
from sklearn.linear_model import LassoLarsCV as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LassoLarsCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams... | 7,973 | 37.521739 | 141 | py |
lale | lale-master/lale/lib/autogen/ransac_regressor.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import RANSACRegressor as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _RANSACRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams... | 11,063 | 39.527473 | 207 | py |
lale | lale-master/lale/lib/autogen/sparse_random_projection.py | from numpy import inf, nan
from sklearn.random_projection import SparseRandomProjection as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _SparseRandomProjectionImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_mod... | 6,749 | 38.940828 | 180 | py |
lale | lale-master/lale/lib/autogen/birch.py | from numpy import inf, nan
from sklearn.cluster import Birch as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _BirchImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
def fit(se... | 5,312 | 33.277419 | 162 | py |
lale | lale-master/lale/lib/autogen/power_transformer.py | from numpy import inf, nan
from sklearn.preprocessing import PowerTransformer as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PowerTransformerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._... | 4,027 | 35.288288 | 153 | py |
lale | lale-master/lale/lib/autogen/orthogonal_matching_pursuit_cv.py | from numpy import inf, nan
from sklearn.linear_model import OrthogonalMatchingPursuitCV as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _OrthogonalMatchingPursuitCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrappe... | 6,780 | 36.882682 | 173 | py |
lale | lale-master/lale/lib/autogen/complement_nb.py | from numpy import inf, nan
from sklearn.naive_bayes import ComplementNB as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _ComplementNBImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparam... | 5,111 | 35.776978 | 141 | py |
lale | lale-master/lale/lib/autogen/lasso.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import Lasso as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _LassoImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
... | 7,821 | 36.07109 | 219 | py |
lale | lale-master/lale/lib/autogen/radius_neighbors_regressor.py | from numpy import inf, nan
from sklearn.neighbors import RadiusNeighborsRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _RadiusNeighborsRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model =... | 6,332 | 37.615854 | 217 | py |
lale | lale-master/lale/lib/autogen/gaussian_process_regressor.py | from numpy import inf, nan
from sklearn.gaussian_process import GaussianProcessRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _GaussianProcessRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_... | 6,782 | 37.76 | 213 | py |
lale | lale-master/lale/lib/autogen/skewed_chi2_sampler.py | from numpy import inf, nan
from sklearn.kernel_approximation import SkewedChi2Sampler as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _SkewedChi2SamplerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op... | 4,381 | 37.438596 | 263 | py |
lale | lale-master/lale/lib/autogen/latent_dirichlet_allocation.py | from numpy import inf, nan
from sklearn.decomposition import LatentDirichletAllocation as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LatentDirichletAllocationImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_m... | 9,504 | 37.795918 | 263 | py |
lale | lale-master/lale/lib/autogen/multi_task_elastic_net_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import MultiTaskElasticNetCV as Op
import lale.operators
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MultiTaskElasticNetCVImpl:
def __init__(self, **hyperparams):
self._hyperp... | 9,944 | 38.939759 | 219 | py |
lale | lale-master/lale/lib/autogen/kernel_ridge.py | from numpy import inf, nan
from packaging import version
from sklearn.kernel_ridge import KernelRidge as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _KernelRidgeImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyper... | 6,295 | 35.183908 | 149 | py |
lale | lale-master/lale/lib/autogen/nu_svc.py | from numpy import inf, nan
from sklearn.svm import NuSVC as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _NuSVCImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
def fit(self, ... | 10,382 | 38.479087 | 277 | py |
lale | lale-master/lale/lib/autogen/binarizer.py | from numpy import inf, nan
from sklearn.preprocessing import Binarizer as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _BinarizerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 3,475 | 34.111111 | 169 | py |
lale | lale-master/lale/lib/autogen/multi_task_lasso_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import MultiTaskLassoCV as Op
import lale.operators
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MultiTaskLassoCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hy... | 9,589 | 38.628099 | 219 | py |
lale | lale-master/lale/lib/autogen/locally_linear_embedding.py | from numpy import inf, nan
from sklearn.manifold import LocallyLinearEmbedding as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LocallyLinearEmbeddingImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(*... | 8,633 | 39.15814 | 262 | py |
lale | lale-master/lale/lib/autogen/multi_task_lasso.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import MultiTaskLasso as Op
import lale.operators
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MultiTaskLassoImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperp... | 6,854 | 36.664835 | 219 | py |
lale | lale-master/lale/lib/autogen/kernel_pca.py | from numpy import inf, nan
from sklearn.decomposition import KernelPCA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _KernelPCAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 9,282 | 37.201646 | 262 | py |
lale | lale-master/lale/lib/autogen/elastic_net_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import ElasticNetCV as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _ElasticNetCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyp... | 11,493 | 39.329825 | 219 | py |
lale | lale-master/lale/lib/autogen/mini_batch_k_means.py | from numpy import inf, nan
from sklearn.cluster import MiniBatchKMeans as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MiniBatchKMeansImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpar... | 9,839 | 39 | 240 | py |
lale | lale-master/lale/lib/autogen/nearest_centroid.py | from numpy import inf, nan
from sklearn.neighbors import NearestCentroid as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _NearestCentroidImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperp... | 5,357 | 35.951724 | 143 | py |
lale | lale-master/lale/lib/autogen/dictionary_learning.py | from numpy import inf, nan
from sklearn.decomposition import DictionaryLearning as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _DictionaryLearningImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**se... | 9,423 | 40.333333 | 292 | py |
lale | lale-master/lale/lib/autogen/sparse_pca.py | from numpy import inf, nan
from sklearn.decomposition import SparsePCA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _SparsePCAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 7,885 | 37.847291 | 263 | py |
lale | lale-master/lale/lib/autogen/fast_ica.py | from numpy import inf, nan
from sklearn.decomposition import FastICA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _FastICAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 6,789 | 37.361582 | 263 | py |
lale | lale-master/lale/lib/autogen/additive_chi2_sampler.py | from numpy import inf, nan
from sklearn.kernel_approximation import AdditiveChi2Sampler as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _AdditiveChi2SamplerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model ... | 4,362 | 36.93913 | 173 | py |
lale | lale-master/lale/lib/autogen/mini_batch_dictionary_learning.py | import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.decomposition import MiniBatchDictionaryLearning as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _MiniBatchDictionaryLearningImpl:
def __init__(self, **hyperparams... | 10,544 | 40.679842 | 263 | py |
lale | lale-master/lale/lib/autogen/plssvd.py | from numpy import inf, nan
from sklearn.cross_decomposition import PLSSVD as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PLSSVDImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 4,157 | 35.473684 | 145 | py |
lale | lale-master/lale/lib/autogen/multi_label_binarizer.py | from numpy import inf, nan
from sklearn.preprocessing import MultiLabelBinarizer as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MultiLabelBinarizerImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**... | 3,524 | 34.969388 | 159 | py |
lale | lale-master/lale/lib/autogen/factor_analysis.py | import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.decomposition import FactorAnalysis as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _FactorAnalysisImpl:
def __init__(self, **hyperparams):
self._hyperpara... | 8,084 | 38.439024 | 262 | py |
lale | lale-master/lale/lib/autogen/incremental_pca.py | from numpy import inf, nan
from sklearn.decomposition import IncrementalPCA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _IncrementalPCAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hype... | 4,712 | 36.704 | 211 | py |
lale | lale-master/lale/lib/autogen/logistic_regression_cv.py | from numpy import inf, nan
from sklearn.linear_model import LogisticRegressionCV as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LogisticRegressionCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(*... | 12,844 | 40.302251 | 263 | py |
lale | lale-master/lale/lib/autogen/lasso_lars_ic.py | from numpy import inf, nan
from sklearn.linear_model import LassoLarsIC as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LassoLarsICImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams... | 7,452 | 35.356098 | 159 | py |
lale | lale-master/lale/lib/autogen/k_bins_discretizer.py | import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.preprocessing import KBinsDiscretizer as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _KBinsDiscretizerImpl:
def __init__(self, **hyperparams):
self._hyper... | 4,544 | 35.36 | 153 | py |
lale | lale-master/lale/lib/autogen/__init__.py | """ Lale autogen schemas
The JSON schemas of the operators defined in this module were automatically generated from the source code of 115 scikit-learn operators.
The resulting schemas are all valid and usable to build Lale pipelines.
The following paper describes the schema extractor::
@InProceedings{baudart_et_a... | 6,623 | 48.066667 | 137 | py |
lale | lale-master/lale/lib/autogen/multi_task_elastic_net.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import MultiTaskElasticNet as Op
import lale.operators
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MultiTaskElasticNetImpl:
def __init__(self, **hyperparams):
self._hyperparam... | 7,188 | 37.239362 | 219 | py |
lale | lale-master/lale/lib/autogen/gaussian_process_classifier.py | from numpy import inf, nan
from sklearn.gaussian_process import GaussianProcessClassifier as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _GaussianProcessClassifierImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrappe... | 7,336 | 38.659459 | 223 | py |
lale | lale-master/lale/lib/autogen/nu_svr.py | from numpy import inf, nan
from sklearn.svm import NuSVR as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _NuSVRImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
def fit(self, ... | 6,778 | 35.058511 | 140 | py |
lale | lale-master/lale/lib/autogen/elastic_net.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import ElasticNet as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _ElasticNetImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperpa... | 8,125 | 36.275229 | 219 | py |
lale | lale-master/lale/lib/autogen/random_trees_embedding.py | import typing
import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.ensemble import RandomTreesEmbedding as Op
from lale.docstrings import set_docstrings
from lale.operators import PlannedIndividualOp, make_operator, sklearn_version
class _RandomTreesEmbeddingImpl:
def __init__(se... | 9,561 | 38.512397 | 263 | py |
lale | lale-master/lale/lib/autogen/lars.py | from numpy import inf, nan
from sklearn.linear_model import Lars as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LarsImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
def fit... | 7,348 | 35.562189 | 171 | py |
lale | lale-master/lale/lib/autogen/ridge_cv.py | from numpy import inf, nan
from packaging import version
from sklearn.linear_model import RidgeCV as Op
import lale
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _RidgeCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
... | 7,390 | 36.517766 | 173 | py |
lale | lale-master/lale/lib/autogen/transformed_target_regressor.py | from numpy import inf, nan
from sklearn.compose import TransformedTargetRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _TransformedTargetRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model... | 6,863 | 36.304348 | 179 | py |
lale | lale-master/lale/lib/autogen/pls_regression.py | from numpy import inf, nan
from sklearn.cross_decomposition import PLSRegression as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PLSRegressionImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._... | 6,450 | 37.861446 | 159 | py |
lale | lale-master/lale/lib/autogen/gaussian_random_projection.py | from numpy import inf, nan
from sklearn.random_projection import GaussianRandomProjection as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _GaussianRandomProjectionImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped... | 6,407 | 38.801242 | 210 | py |
lale | lale-master/lale/lib/autogen/perceptron.py | from numpy import inf, nan
from sklearn.linear_model import Perceptron as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PerceptronImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
... | 10,859 | 36.839721 | 165 | py |
lale | lale-master/lale/lib/autogen/mini_batch_sparse_pca.py | from numpy import inf, nan
from sklearn.decomposition import MiniBatchSparsePCA as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _MiniBatchSparsePCAImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**se... | 7,597 | 38.367876 | 263 | py |
lale | lale-master/lale/lib/autogen/calibrated_classifier_cv.py | import sklearn
from numpy import inf, nan
from packaging import version
from sklearn.calibration import CalibratedClassifierCV as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
class _CalibratedClassifierCVImpl:
def __init__(self, **hyperparams):
s... | 7,384 | 37.868421 | 161 | py |
lale | lale-master/lale/lib/autogen/label_spreading.py | from numpy import inf, nan
from sklearn.semi_supervised import LabelSpreading as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LabelSpreadingImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hy... | 6,525 | 35.255556 | 153 | py |
lale | lale-master/lale/lib/autogen/radius_neighbors_classifier.py | from numpy import inf, nan
from sklearn.neighbors import RadiusNeighborsClassifier as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _RadiusNeighborsClassifierImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model... | 6,997 | 37.240437 | 205 | py |
lale | lale-master/lale/lib/autogen/label_encoder.py | from numpy import inf, nan
from sklearn.preprocessing import LabelEncoder as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LabelEncoderImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperpar... | 2,606 | 29.670588 | 145 | py |
lale | lale-master/lale/lib/autogen/passive_aggressive_regressor.py | from numpy import inf, nan
from sklearn.linear_model import PassiveAggressiveRegressor as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _PassiveAggressiveRegressorImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_... | 8,652 | 37.118943 | 171 | py |
lale | lale-master/lale/lib/autogen/lars_cv.py | from numpy import inf, nan
from sklearn.linear_model import LarsCV as Op
from lale.docstrings import set_docstrings
from lale.operators import make_operator
class _LarsCVImpl:
def __init__(self, **hyperparams):
self._hyperparams = hyperparams
self._wrapped_model = Op(**self._hyperparams)
def... | 7,982 | 37.565217 | 132 | py |
lale | lale-master/lale/lib/snapml/snap_decision_tree_classifier.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 11,989 | 37.928571 | 188 | py |
lale | lale-master/lale/lib/snapml/snap_random_forest_regressor.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 11,528 | 37.949324 | 188 | py |
lale | lale-master/lale/lib/snapml/batched_tree_ensemble_classifier.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 6,110 | 31.333333 | 152 | py |
lale | lale-master/lale/lib/snapml/snap_boosting_machine_regressor.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 13,618 | 36.210383 | 202 | py |
lale | lale-master/lale/lib/snapml/snap_random_forest_classifier.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 13,096 | 37.863501 | 188 | py |
lale | lale-master/lale/lib/snapml/batched_tree_ensemble_regressor.py | # Copyright 2022 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 6,093 | 31.243386 | 152 | py |
lale | lale-master/lale/lib/snapml/__init__.py | # Copyright 2020,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 3,652 | 40.044944 | 90 | py |
lale | lale-master/lale/lib/snapml/snap_svm_classifier.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 12,175 | 37.531646 | 227 | py |
lale | lale-master/lale/lib/snapml/snap_decision_tree_regressor.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 10,424 | 37.899254 | 188 | py |
lale | lale-master/lale/lib/snapml/snap_linear_regression.py | # Copyright 2019,2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 12,547 | 39.74026 | 279 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.