<commit_before># Change Log

## v0.3.0 Unreleased

### New features

- We can create our own encodings such as Treatment or Sum encoding. These are subclasses of `Encoding`.
- Added two aliases `T` and `S` that are shorthands of `C(var, Treatment)` and `C(var, Sum)` respectively.
- DesignVector, CommonEffectsMatrix and GroupEffectsMatrix now retrieve their values when passed to `np.array()` and `np.asarray()`.
- Add `poly()` stateful transform.
- `na_action` in `design_matrices()` can be `"pass"` which means not to drop or raise error about missing values. It just keeps them (#69)
- `design_matrices()` gains a new argument `extra_namespace`. It allows us to pass a dictionary of transformations that are made available in the environment where the formula is evaluated (#70)<commit_msg>update CHANGELOG<commit_after># Change Log

### 0.X.X Unreleased

### New features

### Maintenance and fixes

### Documentation

### Deprecation

## v0.3.0

### New features

- We can create our own encodings such as Treatment or Sum encoding. These are subclasses of `Encoding`.
- Added two aliases `T` and `S` that are shorthands of `C(var, Treatment)` and `C(var, Sum)` respectively.
- DesignVector, CommonEffectsMatrix and GroupEffectsMatrix now retrieve their values when passed to `np.array()` and `np.asarray()`.
- Add `poly()` stateful transform.
- `na_action` in `design_matrices()` can be `"pass"` which means not to drop or raise error about missing values. It just keeps them (#69)
- `design_matrices()` gains a new argument `extra_namespace`. It allows us to pass a dictionary of transformations that are made available in the environment where the formula is evaluated (#70)
{'fraction_non_alphanumeric': 0.10160427807486631, 'fraction_numerical': 0.008912655971479501, 'mean_word_length': 4.767123287671233, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3160136', 'n_tokens_mistral': 490, 'n_tokens_neox': 457, 'n_words': 224}