Skip to content

Commit

Permalink
chore: prepare release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed Oct 13, 2023
1 parent 6c4b523 commit d9d1d58
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
root_url = root_url if root_url.endswith("/") else root_url + "/"

# The full version, including alpha/beta/rc tags
release = "1.2.0"
release = "1.2.1"


# -- General configuration ---------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/developer-guide/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@
- [`quantizers.fill_from_kwargs`](./concrete.ml.quantization.quantizers.md#function-fill_from_kwargs): Fill a parameter set structure from kwargs parameters.
- [`p_error_search.compile_and_simulated_fhe_inference`](./concrete.ml.search_parameters.p_error_search.md#function-compile_and_simulated_fhe_inference): Get the quantized module of a given model in FHE, simulated or not.
- [`tree_to_numpy.add_transpose_after_last_node`](./concrete.ml.sklearn.tree_to_numpy.md#function-add_transpose_after_last_node): Add transpose after last node.
- [`tree_to_numpy.assert_add_node_and_constant_in_xgboost_regressor_graph`](./concrete.ml.sklearn.tree_to_numpy.md#function-assert_add_node_and_constant_in_xgboost_regressor_graph): Assert if an Add node with a specific constant exists in the ONNX graph.
- [`tree_to_numpy.get_onnx_model`](./concrete.ml.sklearn.tree_to_numpy.md#function-get_onnx_model): Create ONNX model with Hummingbird convert method.
- [`tree_to_numpy.preprocess_tree_predictions`](./concrete.ml.sklearn.tree_to_numpy.md#function-preprocess_tree_predictions): Apply post-processing from the graph.
- [`tree_to_numpy.tree_onnx_graph_preprocessing`](./concrete.ml.sklearn.tree_to_numpy.md#function-tree_onnx_graph_preprocessing): Apply pre-processing onto the ONNX graph.
Expand Down
24 changes: 20 additions & 4 deletions docs/developer-guide/api/concrete.ml.sklearn.tree_to_numpy.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,22 @@ ______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L88"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `assert_add_node_and_constant_in_xgboost_regressor_graph`

```python
assert_add_node_and_constant_in_xgboost_regressor_graph(onnx_model: ModelProto)
```

Assert if an Add node with a specific constant exists in the ONNX graph.

**Args:**

- <b>`onnx_model`</b> (onnx.ModelProto): The ONNX model.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L124"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `add_transpose_after_last_node`

```python
Expand All @@ -70,7 +86,7 @@ Add transpose after last node.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L109"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L145"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `preprocess_tree_predictions`

Expand All @@ -94,7 +110,7 @@ Apply post-processing from the graph.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L159"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L195"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `tree_onnx_graph_preprocessing`

Expand All @@ -117,7 +133,7 @@ Apply pre-processing onto the ONNX graph.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L208"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L251"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `tree_values_preprocessing`

Expand All @@ -144,7 +160,7 @@ Pre-process tree values.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L252"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/tree_to_numpy.py#L295"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `tree_to_numpy`

Expand Down
14 changes: 12 additions & 2 deletions docs/developer-guide/api/concrete.ml.sklearn.xgb.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Is None if the model is not fitted.

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/xgb.py#L334"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/xgb.py#L342"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `dump_dict`

Expand All @@ -260,10 +260,20 @@ fit(X, y, *args, **kwargs) → Any

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/xgb.py#L382"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/xgb.py#L390"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>classmethod</kbd> `load_dict`

```python
load_dict(metadata: Dict)
```

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/xgb.py#L334"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `post_processing`

```python
post_processing(y_preds: ndarray) → ndarray
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "concrete-ml"
version = "1.2.0"
version = "1.2.1"
description = "Concrete ML is an open-source set of tools which aims to simplify the use of fully homomorphic encryption (FHE) for data scientists."
license = "BSD-3-Clause-Clear"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/concrete/ml/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""File to manage the version of the package."""
# Auto-generated by "make set_version" do not modify
__version__ = "1.2.0"
__version__ = "1.2.1"

0 comments on commit d9d1d58

Please sign in to comment.