Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4834248
🚧 add JOSS template
EmanuelSommer Dec 2, 2025
a869df2
✨ draft summary and statement of need
EmanuelSommer Dec 3, 2025
fc0581a
🚧 add blackjax reference
EmanuelSommer Dec 3, 2025
774d85c
✏️ continue writing
EmanuelSommer Jan 13, 2026
21b9c8a
✏️ add AI usage
EmanuelSommer Jan 13, 2026
4d4ff97
working on benchmark.py
Jan 13, 2026
1a95806
working on benchmark.py, precommit
Jan 13, 2026
95a78e0
benchmark tests
vyron-arvanitis Jan 15, 2026
d3f1c3c
more benchmark tests
vyron-arvanitis Jan 15, 2026
18cbae9
better documentation of results
vyron-arvanitis Jan 15, 2026
2d16dfe
results airfoil concrete
vyron-arvanitis Jan 15, 2026
fde9576
bikesharing dataset
vyron-arvanitis Jan 19, 2026
64bf9fb
Merge branch 'paper/benchmarks' of github.com:scikit-learn-contrib/bd…
vyron-arvanitis Jan 19, 2026
0191511
allow_writing_files=False for CatBoost
vyron-arvanitis Jan 19, 2026
d95fcc4
fixed random_seed of tabpfn
vyron-arvanitis Jan 19, 2026
7691aa1
results bikesharing
vyron-arvanitis Jan 19, 2026
2d83d94
architectures of resutls and concrete bde reults
vyron-arvanitis Jan 20, 2026
178823d
Usage Example
Jan 20, 2026
dbad9d4
delete unecessary .ipynb file
vyron-arvanitis Jan 20, 2026
dda2743
Merge branch 'main' of github.com:scikit-learn-contrib/bde into paper…
vyron-arvanitis Jan 20, 2026
2e833c0
Updated usage example
Jan 20, 2026
5a82d6c
Merge branch 'main' of github.com:scikit-learn-contrib/bde into joss-…
vyron-arvanitis Jan 20, 2026
392ba91
Merge branch 'paper/benchmarks' of github.com:scikit-learn-contrib/bd…
vyron-arvanitis Jan 20, 2026
4a169b6
rebase with paper/benchmarks and finalizing benchmakrs
vyron-arvanitis Jan 20, 2026
94005e1
resuilts airfoil benchmakr
vyron-arvanitis Jan 20, 2026
38abe67
results till tabpfn
vyron-arvanitis Jan 20, 2026
66b53ed
results bde_bikesharing
vyron-arvanitis Jan 20, 2026
3d21a8d
cleanp results of benchmakrs
vyron-arvanitis Jan 20, 2026
4e02c67
📝 Benchamrk section, joss-paper
vyron-arvanitis Jan 21, 2026
cccdbee
📝 fix decimals in benchmakr table
vyron-arvanitis Jan 21, 2026
ec35a51
✏️ work on paper
EmanuelSommer Jan 21, 2026
142dbb8
✏️ further edits
EmanuelSommer Jan 22, 2026
3ccb714
✏️ a few improvements
EmanuelSommer Feb 2, 2026
9e48983
✏️ formatting
EmanuelSommer Feb 2, 2026
7aaac47
✏️ format comments
EmanuelSommer Feb 2, 2026
5755813
benchmakr for De
vyron-arvanitis Feb 2, 2026
3d0caf7
results for deep ensemble
vyron-arvanitis Feb 2, 2026
9403434
gather resutls in the same file :)
vyron-arvanitis Feb 2, 2026
88bb3a2
⚗️ add DE to benchmark
EmanuelSommer Feb 3, 2026
8dce1de
✏️ minor edits
EmanuelSommer Feb 3, 2026
10d5c94
✏️ reformat benchmark
EmanuelSommer Feb 3, 2026
8a7d272
✏️ fix typo
EmanuelSommer Feb 3, 2026
b70616b
✏️ format usage example
EmanuelSommer Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Draft PDF
on:
push:
paths:
- paper/**
- .github/workflows/draft-pdf.yml

jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
paper-path: paper/paper.md
- name: Upload
uses: actions/upload-artifact@v4
with:
name: paper
path: paper/paper.pdf
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ target/

# auto-generated files
bde/_version.py

# Ide

.vscode
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Introduction
------------

**bde** is a user-friendly implementation of Bayesian Deep Ensembles compatible with
scikit-learn with a particular focus on tabular data. It exposes estimators that plug
into scikit-learn pipelines while leveraging JAX for accelerator-backed training,
scikit-learn with a particular focus on tabular data. It exposes estimators that plug
into scikit-learn pipelines while leveraging JAX for accelerator-backed training,
sampling, and uncertainty quantification.

In particular, **bde** implements **Microcanonical Langevin Ensembles (MILE)** as
Expand All @@ -27,7 +27,7 @@ A conceptual overview of MILE is shown below:


**Scope:** As of right now this package supports full-batch MILE for fully connected
feedforward networks, covering classification and regression on tabular data.
feedforward networks, covering classification and regression on tabular data.
The method can however also be applied to other
architectures and data modalities, but these are not yet in scope of this
particular implementation.
Expand Down
2 changes: 0 additions & 2 deletions bde/bde.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,6 @@ def predict(
x: ArrayLike,
mean_and_std: bool = False,
credible_intervals: list[float] | None = None,
# Docstring necessary to explain this parameter which
# actually lists quantiles not the intervals
raw: bool = False,
):
"""Predict regression targets with optional uncertainty summaries.
Expand Down
111 changes: 111 additions & 0 deletions bde/data/bike_sharing_dataset/Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
==========================================
Bike Sharing Dataset
==========================================

Hadi Fanaee-T

Laboratory of Artificial Intelligence and Decision Support (LIAAD), University of Porto
INESC Porto, Campus da FEUP
Rua Dr. Roberto Frias, 378
4200 - 465 Porto, Portugal


=========================================
Background
=========================================

Bike sharing systems are new generation of traditional bike rentals where whole process from membership, rental and return
back has become automatic. Through these systems, user is able to easily rent a bike from a particular position and return
back at another position. Currently, there are about over 500 bike-sharing programs around the world which is composed of
over 500 thousands bicycles. Today, there exists great interest in these systems due to their important role in traffic,
environmental and health issues.

Apart from interesting real world applications of bike sharing systems, the characteristics of data being generated by
these systems make them attractive for the research. Opposed to other transport services such as bus or subway, the duration
of travel, departure and arrival position is explicitly recorded in these systems. This feature turns bike sharing system into
a virtual sensor network that can be used for sensing mobility in the city. Hence, it is expected that most of important
events in the city could be detected via monitoring these data.

=========================================
Data Set
=========================================
Bike-sharing rental process is highly correlated to the environmental and seasonal settings. For instance, weather conditions,
precipitation, day of week, season, hour of the day, etc. can affect the rental behaviors. The core data set is related to
the two-year historical log corresponding to years 2011 and 2012 from Capital Bikeshare system, Washington D.C., USA which is
publicly available in http://capitalbikeshare.com/system-data. We aggregated the data on two hourly and daily basis and then
extracted and added the corresponding weather and seasonal information. Weather information are extracted from http://www.freemeteo.com.

=========================================
Associated tasks
=========================================

- Regression:
Predication of bike rental count hourly or daily based on the environmental and seasonal settings.

- Event and Anomaly Detection:
Count of rented bikes are also correlated to some events in the town which easily are traceable via search engines.
For instance, query like "2012-10-30 washington d.c." in Google returns related results to Hurricane Sandy. Some of the important events are
identified in [1]. Therefore the data can be used for validation of anomaly or event detection algorithms as well.


=========================================
Files
=========================================

- Readme.txt
- hour.csv : bike sharing counts aggregated on hourly basis. Records: 17379 hours
- day.csv - bike sharing counts aggregated on daily basis. Records: 731 days


=========================================
Dataset characteristics
=========================================
Both hour.csv and day.csv have the following fields, except hr which is not available in day.csv

- instant: record index
- dteday : date
- season : season (1:springer, 2:summer, 3:fall, 4:winter)
- yr : year (0: 2011, 1:2012)
- mnth : month ( 1 to 12)
- hr : hour (0 to 23)
- holiday : weather day is holiday or not (extracted from http://dchr.dc.gov/page/holiday-schedule)
- weekday : day of the week
- workingday : if day is neither weekend nor holiday is 1, otherwise is 0.
+ weathersit :
- 1: Clear, Few clouds, Partly cloudy, Partly cloudy
- 2: Mist + Cloudy, Mist + Broken clouds, Mist + Few clouds, Mist
- 3: Light Snow, Light Rain + Thunderstorm + Scattered clouds, Light Rain + Scattered clouds
- 4: Heavy Rain + Ice Pallets + Thunderstorm + Mist, Snow + Fog
- temp : Normalized temperature in Celsius. The values are divided to 41 (max)
- atemp: Normalized feeling temperature in Celsius. The values are divided to 50 (max)
- hum: Normalized humidity. The values are divided to 100 (max)
- windspeed: Normalized wind speed. The values are divided to 67 (max)
- casual: count of casual users
- registered: count of registered users
- cnt: count of total rental bikes including both casual and registered

=========================================
License
=========================================
Use of this dataset in publications must be cited to the following publication:

[1] Fanaee-T, Hadi, and Gama, Joao, "Event labeling combining ensemble detectors and background knowledge", Progress in Artificial Intelligence (2013): pp. 1-15, Springer Berlin Heidelberg, doi:10.1007/s13748-013-0040-3.

@article{
year={2013},
issn={2192-6352},
journal={Progress in Artificial Intelligence},
doi={10.1007/s13748-013-0040-3},
title={Event labeling combining ensemble detectors and background knowledge},
url={http://dx.doi.org/10.1007/s13748-013-0040-3},
publisher={Springer Berlin Heidelberg},
keywords={Event labeling; Event detection; Ensemble learning; Background knowledge},
author={Fanaee-T, Hadi and Gama, Joao},
pages={1-15}
}

=========================================
Contact
=========================================

For further information about this dataset please contact Hadi Fanaee-T (hadi.fanaee@fe.up.pt)
Loading