Skip to content

Commit

Permalink
Compatibility with Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislemke committed Nov 8, 2022
1 parent c2e82be commit c3886e7
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 108 deletions.
9 changes: 8 additions & 1 deletion example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@
"# Autoembedder"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Read data and split by target"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -317,7 +324,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Everything is set up. Now we can [fit](https://chrislemke.github.io/autoembedder/autoembedder.learner/#autoembedder.learner.fit) the model. Since we are also passing data for evaluation (`eval_df`), after the model is fitted it will be evaluated. \n",
"Everything is set up. Now we can [fit](https://chrislemke.github.io/autoembedder/autoembedder.learner/#autoembedder.learner.fit) the model. Since we are also passing data for [evaluation](https://chrislemke.github.io/autoembedder/autoembedder.evaluator/#autoembedder.evaluator.loss_delta) (`eval_df`), after the model is fitted it will be evaluated. \n",
"`mean loss delta` and `median loss delta` express the differences between the mean/median loss of the `Class` `0` and `Class` `1` samples. A higher value indicates that the model is able to distinguish between the two classes."
]
},
Expand Down
23 changes: 21 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Autoembedder"
version = "0.1.10"
version = "0.1.11"
description = "PyTorch autoencoder with additional embeddings layer for categorical data."
authors = ["Christopher Lemke <chris@syhbl.mozmail.com>"]
license = "MIT"
Expand All @@ -25,7 +25,7 @@ keywords = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
python = ">=3.8,<3.11"
dask = "2022.10.2"
pyarrow = "10.0.0"
pandas = "1.5.1"
Expand Down
Loading

0 comments on commit c3886e7

Please sign in to comment.