Skip to content

Commit aa5484d

Browse files
authored
Merge branch 'master' into feat/skorch-compatible
2 parents 7594b44 + ee98b87 commit aa5484d

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
)$
2828
2929
- repo: https://github.com/adrienverge/yamllint.git
30-
rev: v1.33.0
30+
rev: v1.35.1
3131
hooks:
3232
- id: yamllint
3333
name: Lint yaml
@@ -47,21 +47,21 @@ repos:
4747
name: Sort imports
4848

4949
- repo: https://github.com/PyCQA/flake8
50-
rev: 6.1.0
50+
rev: 7.0.0
5151
hooks:
5252
- id: flake8
5353
name: Check PEP8
5454
additional_dependencies: [Flake8-pyproject]
5555

5656
- repo: https://github.com/astral-sh/ruff-pre-commit
57-
rev: v0.1.9
57+
rev: v0.3.5
5858
hooks:
5959
- id: ruff
6060
name: Ruff formatting
6161
args: [--fix, --exit-non-zero-on-fix]
6262

6363
- repo: https://github.com/pre-commit/mirrors-mypy
64-
rev: v1.8.0
64+
rev: v1.9.0
6565
hooks:
6666
- id: mypy
6767
name: Check types

CITATION.cff

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ title: "PyTorch Frame: A Deep Learning Framework for Tabular Data"
55
authors:
66
- family-names: "Hu"
77
given-names: "Weihua"
8-
- family-names: "Fey"
9-
given-names: "Matthias"
108
- family-names: "Yuan"
119
given-names: "Yiwen"
1210
- family-names: "Zhang"
@@ -17,6 +15,10 @@ authors:
1715
given-names: "Kaidi"
1816
- family-names: "Kocijan"
1917
given-names: "Vid"
18+
- family-names: "Leskovec"
19+
given-names: "Jure"
20+
- family-names: "Fey"
21+
given-names: "Matthias"
2022
date-released: 2023-10-24
2123
license: MIT
2224
url: "https://github.com/pyg-team/pytorch-frame"

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,15 @@ pip install pytorch_frame
264264
```
265265

266266
See [the installation guide](https://pytorch-frame.readthedocs.io/en/latest/get_started/installation.html) for other options.
267+
268+
## Cite
269+
270+
If you use PyTorch Frame in your work, please cite our paper (Bibtex below).
271+
```
272+
@article{hu2024pytorch,
273+
title={PyTorch Frame: A Modular Framework for Multi-Modal Tabular Learning},
274+
author={Hu, Weihua and Yuan, Yiwen and Zhang, Zecheng and Nitta, Akihiro and Cao, Kaidi and Kocijan, Vid and Leskovec, Jure and Fey, Matthias},
275+
journal={arXiv preprint arXiv:2404.00776},
276+
year={2024}
277+
}
278+
```

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ full=[
5050
"scikit-learn",
5151
"xgboost>=1.7.0, <2.0.0",
5252
"optuna>=3.0.0",
53+
"optuna-integration",
5354
"mpmath==1.3.0",
5455
"catboost",
5556
"lightgbm",

torch_frame/testing/image_embedder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ def __init__(
2222
super().__init__()
2323
self.out_channels = out_channels
2424

25-
def forward_embed(self, images: list[Image]) -> Tensor:
25+
def forward_embed(self, images: list[Image.Image]) -> Tensor:
2626
return torch.rand(len(images), self.out_channels)

0 commit comments

Comments
 (0)