Skip to content

Releases: uclamii/model_tuner

Model Tuner 0.0.14a

27 Aug 18:49
Compare
Choose a tag to compare
Model Tuner 0.0.14a Pre-release
Pre-release

Version 0.0.14a

In previous versions, the train_val_test_split method allowed for stratification either by y (stratify_y) or by specified columns (stratify_cols), but not both at the same time. There are use cases where stratification by both the target variable (y) and specific columns is necessary to ensure a balanced and representative split across different data segments.

Enhancement

Modified the train_val_test_split method to support simultaneous stratification by both stratify_y and stratify_cols. This was inside the method achieved by implementing the following logic that ensures both y and the specified columns are considered during the stratification process.

stratify_key = pd.concat([X[stratify_cols], y], axis=1)

strat_key_val_test = pd.concat(
    [X_valid_test[stratify_cols], y_valid_test], axis=1
)

Model Tuner 0.0.13a

26 Aug 21:47
Compare
Choose a tag to compare
Model Tuner 0.0.13a Pre-release
Pre-release

Version 0.0.13a

  • Updated bootstrapper
  • evaluate_bootstrap_metrics
  • Added notebooks/xgb_early_bootstrap_test.py to test it
  • Updated requirements.txt file for dev testing
  • Fixed sampling error on low number of samples inside bootstrapper

Model Tuner 0.0.12a

16 Jul 00:57
51b39ac
Compare
Choose a tag to compare
Model Tuner 0.0.12a Pre-release
Pre-release
  • Xgboost bug fixes
  • Zenodo updates
  • Pickle model fixes with np import
  • ADASYN and SMOTE fix with no fit happening when calibrating

model_tuner 0.0.11a

11 Jul 18:43
Compare
Choose a tag to compare
model_tuner 0.0.11a Pre-release
Pre-release
  • updated readme for PyPI
  • previous version not saved on setup; re-release to 0.0.11a

model_tuner 0.0.10a

11 Jul 18:39
Compare
Choose a tag to compare
model_tuner 0.0.10a Pre-release
Pre-release
  • updated readme for PyPI

model tuner 0.0.09a

11 Jul 18:18
d3756c2
Compare
Choose a tag to compare
model tuner 0.0.09a Pre-release
Pre-release
  • number of estimators now extracted from XGBoost model object
  • early stopping fixed

model_tuner 0.0.08a

04 Jul 00:07
Compare
Choose a tag to compare
model_tuner 0.0.08a Pre-release
Pre-release

AutoKerasClassifier

  • Changed 'layers' key to store count instead of list to avoid exceeding MLflow's 500-char limit.
  • Simplified function by removing key filtering loop.

model tuner 0.0.07a

03 Jul 23:37
Compare
Choose a tag to compare
model tuner 0.0.07a Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.06a...0.0.07a

0.0.06a

03 Jul 22:33
Compare
Choose a tag to compare
0.0.06a Pre-release
Pre-release

What's Changed

  • Updating best_params: ref before assignment bug by @elemets in #16

Full Changelog: 0.0.05a...0.0.06a

model_tuner 0.0.05a

02 Jul 23:41
Compare
Choose a tag to compare
model_tuner 0.0.05a Pre-release
Pre-release
  • Bootstrapper:
    • Fixed import bugs
    • Fixed Assertion bug to do with metrics not being assigned
  • Early stopping:
    • Leon: fixed bug with SelectKBest and ADASYN where the wrong code chunk was being utilized
    • Arthur: Verbosity fix