Skip to content

Commit 245be26

Browse files
committed
Bump version to 0.1.0 and add CHANGELOG
Version 0.1.0 introduces significant new functionality: - Support for sklearn transformers and regressors - New estimator parameter with backward-compatible clf parameter - 100% test coverage - Enhanced type detection and error handling Add CHANGELOG.md to document all changes between versions.
1 parent 7fb3a51 commit 245be26

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] - 2025-10-07
9+
10+
### Added
11+
- Support for sklearn transformers (StandardScaler, PCA, MinMaxScaler, etc.)
12+
- Support for sklearn regressors (LinearRegression, Ridge, Lasso, etc.)
13+
- New `estimator` parameter for Model class (more intuitive than `clf`)
14+
- `transform()` method for transformer workflows
15+
- Type detection system to distinguish between classifiers, regressors, and transformers
16+
- Comprehensive error handling with helpful TypeError messages for incompatible operations
17+
- 100% test coverage across all source files
18+
- Transformer usage example in README
19+
20+
### Changed
21+
- Model class now supports three types of estimators: classifiers, regressors, and transformers
22+
- `_get_estimator_type()` method returns estimator type as string
23+
- Summary now includes `estimator_type` field
24+
- Enhanced documentation in CLAUDE.md with usage examples for all estimator types
25+
26+
### Fixed
27+
- Type safety: mixins now properly reject non-classifier estimators
28+
- Proper error messages when calling incompatible methods (e.g., predict on transformer)
29+
30+
### Deprecated
31+
- None (full backward compatibility maintained)
32+
33+
### Removed
34+
- None
35+
36+
### Security
37+
- None
38+
39+
### Notes
40+
- The `clf` parameter is still fully supported for backward compatibility
41+
- All existing pickled models from v0.0.2 load without any changes required
42+
- Evaluation for regressors is not yet implemented (raises NotImplementedError)
43+
44+
## [0.0.2]
45+
46+
### Added
47+
- Initial public release
48+
- Data class for train/test split management
49+
- Model class for classifier serialization
50+
- Confusion matrix visualization
51+
- ROC curve visualization
52+
- SHAP beeswarm plot support
53+
- Model evaluation metrics (accuracy, precision, recall, f1, roc_auc)
54+
- `purge()` method to remove data while keeping headers
55+
- `create_overview()` utility for model comparison

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="ColdSnap",
8-
version="0.0.2",
8+
version="0.1.0",
99
author="Sebastian Proost",
1010
author_email="sebastian.proost@gmail.com",
1111
description="Create snapshots of machine learning models and their training data",

0 commit comments

Comments
 (0)