Skip to content

Commit 8c9bbc6

Browse files
committed
iter
1 parent d915779 commit 8c9bbc6

File tree

7 files changed

+30
-5
lines changed

7 files changed

+30
-5
lines changed

doc/_static/css/imbalanced-learn.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@
5757
margin-bottom: 0rem;
5858
color: #484848;
5959
}
60+
61+
.navbar-brand img {
62+
width: 0%;
63+
height: 0%;
64+
}

doc/_templates/class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:mod:`{{module}}`.{{objname}}
1+
{{objname}}
22
{{ underline }}==============
33

44
.. currentmodule:: {{ module }}

doc/_templates/function.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:mod:`{{module}}`.{{objname}}
1+
{{objname}}
22
{{ underline }}====================
33

44
.. currentmodule:: {{ module }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="navbar-brand-box">
2+
<a class="navbar-brand text-wrap" href="{{ pathto('index') }}">
3+
{% if logo %}
4+
<img
5+
src="{{ pathto('_static/' + logo, 1) }}"
6+
class="logo"
7+
style="width: 60%"
8+
alt="logo"
9+
/>
10+
{% endif %} {% if docstitle %}
11+
<h4 class="site-logo" id="site-title">{{ docstitle }}</h4>
12+
{% endif %}
13+
</a>
14+
</div>

doc/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,20 @@
9090
# The theme to use for HTML and HTML Help pages. See the documentation for
9191
# a list of builtin themes.
9292
html_theme = "pydata_sphinx_theme"
93+
html_title = f"Version {version}"
9394
html_favicon = "_static/img/favicon.ico"
9495
html_logo = "_static/img/logo.png"
9596
html_style = "css/imbalanced-learn.css"
9697
html_css_files = [
9798
"css/imbalanced-learn.css",
9899
]
100+
html_sidebars = {
101+
"contributing": ["sidebar-search-bs.html"],
102+
"changelog": [],
103+
}
99104

100105
html_theme_options = {
106+
"external_links": [],
101107
"github_url": "https://github.com/scikit-learn-contrib/imbalanced-learn",
102108
# "twitter_url": "https://twitter.com/pandas_dev",
103109
"use_edit_page_button": True,

doc/references/metrics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _metrics_ref:
22

3-
:mod:`imblearn.metrics`: Metrics
4-
================================
3+
Metrics
4+
=======
55

66
.. automodule:: imblearn.metrics
77
:no-members:

imblearn/metrics/pairwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ValueDifferenceMetric(BaseEstimator):
4747
of categories will be computed from `X` at `fit`. Otherwise, you can
4848
provide an array-like of such counts to avoid computation. You can use
4949
the fitted attribute `categories_` of the
50-
:class:`~sklearn.preprocesssing.OrdinalEncoder`to deduce these counts.
50+
:class:`~sklearn.preprocesssing.OrdinalEncoder` to deduce these counts.
5151
5252
k : int, default=1
5353
Exponent used to compute the distance between feature value.

0 commit comments

Comments
 (0)