Skip to content

Commit 5e9e25f

Browse files
[MAINT] Remove circleci (#163)
* remove circleci * update pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d4ec0d5 commit 5e9e25f

File tree

6 files changed

+12
-36
lines changed

6 files changed

+12
-36
lines changed

.circleci/config.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ exclude_lines =
1818
if 0:
1919
if __name__ == .__main__.:
2020
if self.verbose:
21-
show_missing = True
21+
show_missing = True

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.4.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/psf/black
9-
rev: 20.8b1
9+
rev: 23.1.0
1010
hooks:
1111
- id: black
12-
- repo: https://gitlab.com/pycqa/flake8
13-
rev: 3.9.0
12+
- repo: https://github.com/pycqa/flake8
13+
rev: 6.0.0
1414
hooks:
1515
- id: flake8
1616
types: [file, python]

doc/docs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
- scikit-learn(>=0.21)
66
- Cython (>0.28)
77
### User Installation:
8-
You can install scikit-learn-extra using this command:
8+
You can install scikit-learn-extra using this command:
99
`pip install https://github.com/scikit-learn-contrib/scikit-learn-extra/archive/master.zip`
10-

doc/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ scikit-learn-extra is a Python module for machine learning that extends scikit-l
2828

2929
contributing
3030
changelog
31-

doc/modules/kernel_approximation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ Kernel map approximation for faster kernel methods
66

77
.. currentmodule:: sklearn_extra.kernel_approximation
88

9-
Kernel methods, which are among the most flexible and influential tools in
10-
machine learning with applications in virtually all areas of the field, rely
9+
Kernel methods, which are among the most flexible and influential tools in
10+
machine learning with applications in virtually all areas of the field, rely
1111
on high-dimensional feature spaces in order to construct powerfull classifiers or
1212
regressors or clustering algorithms. The main drawback of kernel methods
1313
is their prohibitive computational complexity. Both spatial and temporal complexity
1414
is at least quadratic because we have to compute the whole kernel matrix.
1515

1616
One of the popular way to improve the computational scalability of kernel methods is
1717
to approximate the feature map impicit behind the kernel method. In practice,
18-
this means that we will compute a low dimensional approximation of the
18+
this means that we will compute a low dimensional approximation of the
1919
the otherwise high-dimensional embedding used to define the kernel method.
2020

2121
:class:`Fastfood` approximates feature map of an RBF kernel by Monte Carlo approximation
2222
of its Fourier transform.
2323

24-
Fastfood replaces the random matrix of Random Kitchen Sinks
24+
Fastfood replaces the random matrix of Random Kitchen Sinks
2525
(`RBFSampler <https://scikit-learn.org/stable/modules/generated/sklearn.kernel_approximation.RBFSampler.html#sklearn.kernel_approximation.RBFSampler>`_)
2626
with an approximation that uses the Walsh-Hadamard transformation to gain
2727
significant speed and storage advantages. The computational complexity for
2828
mapping a single example is O(n_components log d). The space complexity is
29-
O(n_components).
29+
O(n_components).
3030

3131
See `scikit-learn User-guide <https://scikit-learn.org/stable/modules/kernel_approximation.html#kernel-approximation>`_ for more general informations on kernel approximations.
3232

33-
See also :class:`EigenProRegressor <sklearn_extra.kernel_methods.EigenProRegressor>` and :class:`EigenProClassifier <sklearn_extra.kernel_methods.EigenProClassifier>` for another
33+
See also :class:`EigenProRegressor <sklearn_extra.kernel_methods.EigenProRegressor>` and :class:`EigenProClassifier <sklearn_extra.kernel_methods.EigenProClassifier>` for another
3434
way to compute fast kernel methods algorithms.

0 commit comments

Comments
 (0)