Skip to content

Commit 2073bfe

Browse files
authored
[RELEASE] v0.5 release (#186)
* Starting v0.5 release --------- Signed-off-by: Adam Li <adam2392@gmail.com>
1 parent 56d18fa commit 2073bfe

File tree

9 files changed

+67
-8
lines changed

9 files changed

+67
-8
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ repos:
4242
- id: yamllint
4343
args: [--strict, -c, .yamllint.yml]
4444

45+
# toml-sort
46+
- repo: https://github.com/pappasam/toml-sort
47+
rev: v0.23.1
48+
hooks:
49+
- id: toml-sort
50+
files: ^pyproject\.toml$
51+
4552
# rstcheck
4653
- repo: https://github.com/rstcheck/rstcheck.git
4754
rev: v6.2.0

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ pydocstyle:
7373
docstyle: pydocstyle
7474

7575
build-doc:
76+
@echo "Building documentation"
77+
make -C doc/ clean
78+
make -C doc/ html
79+
cd doc/ && make view
80+
81+
build-doc-noplot:
7682
@echo "Building documentation"
7783
make -C doc/ clean
7884
make -C doc/ html-noplot

doc/_static/versions.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
[
22
{
3-
"name": "0.5 (devel)",
3+
"name": "0.6 (devel)",
44
"version": "dev",
55
"url": "https://docs.neurodata.io/scikit-tree/dev/"
66
},
7+
{
8+
"name": "0.5",
9+
"version": "stable",
10+
"url": "https://docs.neurodata.io/scikit-tree/stable/"
11+
},
712
{
813
"name": "0.4",
9-
"version": "dev",
14+
"version": "0.4",
1015
"url": "https://docs.neurodata.io/scikit-tree/v0.4/"
1116
},
1217
{

doc/use.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:orphan:
22

33
Examples using scikit-tree
4-
===========================
4+
==========================
55

66
To be able to effectively use scikit-tree, look at some of the examples here
77
to learn everything you need!

doc/whats_new/v0.5.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
.. include:: _contributors.rst
44
.. currentmodule:: sktree
55

6-
.. _current:
6+
.. _v0_5:
77

88
Version 0.5
99
===========
1010

11-
**In Development**
11+
This release includes a number of enhancements and bug fixes, mainly
12+
to the :class:`sktree.tree.MultiViewDecisionTreeClassifier`. Most notably,
13+
the ``max_features`` argument now supports an array of values, which
14+
applies a different ``max_features`` argument per feature view.
1215

1316
Changelog
1417
---------

doc/whats_new/v0.6.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:orphan:
2+
3+
.. include:: _contributors.rst
4+
.. currentmodule:: sktree
5+
6+
.. _current:
7+
8+
Version 0.6
9+
===========
10+
11+
**In Development**
12+
13+
Changelog
14+
---------
15+
16+
- |Enhancement| :class:`sktree.tree.MultiViewDecisionTreeClassifier` now
17+
rounds up the number of features to split on to the nearest integer when
18+
applying ``max_features`` to each feature view, by `Adam Li`_ (:pr:`#183`).
19+
- |Feature| :class:`sktree.tree.MultiViewDecisionTreeClassifier` now
20+
supports an array passed in for ``max_features``, which applies a different
21+
max_features argument per view, by `Adam Li`_ (:pr:`#183`).
22+
- |Fix| :class:`sktree.tree.MultiViewDecisionTreeClassifier` now correctly
23+
handles the case where there is one feature view that is exhausted, and
24+
another that is not for ``apply_max_features_per_feature_set = False``,
25+
by `Adam Li`_ (:pr:`#183`).
26+
- |Fix| :class:`sktree.stats.FeatureImportanceForestClassifier` now correctly passes
27+
metric kwargs to the null distribution function, by `Adam Li`_ (:pr:`#183`).
28+
29+
Code and Documentation Contributors
30+
-----------------------------------
31+
32+
Thanks to everyone who has contributed to the maintenance and improvement of
33+
the project since version inception, including:
34+
35+
* `Adam Li`_
36+

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(
44
# Note that the git commit hash cannot be added dynamically here
55
# That only happens when importing from a git repository.
66
# See `sktree/__init__.py`
7-
version: '0.5.0dev0',
7+
version: '0.5.0',
88
license: 'BSD-3',
99
meson_version: '>= 0.64.0',
1010
default_options: [

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requires = [
1717

1818
[project]
1919
name = "scikit-tree"
20-
version = "0.5.0dev0"
20+
version = "0.5.0"
2121
description = "Modern decision trees in Python"
2222
maintainers = [
2323
{name = "Neurodata", email = "adam.li@columbia.edu"}
@@ -292,6 +292,8 @@ ignore_roles = [
292292
"arxiv"
293293
]
294294
report_level = "WARNING"
295+
ignore = ["SEVERE/4"]
296+
paths = ["doc/use.rst"]
295297

296298
[tool.ruff]
297299
extend-exclude = [

sktree/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import sys
55

6-
__version__ = "0.5.0dev0"
6+
__version__ = "0.5.0"
77
logger = logging.getLogger(__name__)
88

99

0 commit comments

Comments
 (0)