Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c44959e
chore: updated dependencies
eschmidt42 Dec 26, 2023
7919180
chore: replaced enum + callable values with enum + match logic, more …
eschmidt42 Dec 26, 2023
d14328d
chore: extended pre-commit hooks
eschmidt42 Dec 26, 2023
fa75898
chore: removed superfluous **kwargs
eschmidt42 Dec 26, 2023
35f9394
chore: SplitScoreMetrics Enum as a class to enable autocomplete of me…
eschmidt42 Dec 26, 2023
738e85a
fix: passed incrementing_score
eschmidt42 Dec 26, 2023
589830f
chore: moved SplitScoreMetrics to utils to make split_score_metric an…
eschmidt42 Dec 26, 2023
18c33d5
docs: updated grow_tree docstring
eschmidt42 Dec 26, 2023
5f85918
chore: added abc module for decisiontreetremplate and rearranged some…
eschmidt42 Dec 29, 2023
837c13b
chore: added lazy polars, rand and uuid as dependencies
eschmidt42 Dec 31, 2023
8d0392f
feat: added basic implementation of decision tree functionality in de…
eschmidt42 Dec 31, 2023
e2136df
Add pyo3-polars crate as a dependency
eschmidt42 Jan 1, 2024
afe610a
made more Node struct fields optional in decisiontree.rs
eschmidt42 Jan 1, 2024
89bd7ca
feat: added first rudimentary pyo3 class DecisionTree and the TreeGro…
eschmidt42 Jan 1, 2024
b14b595
feat: added fn calc_leaf_weight_and_split_score
eschmidt42 Jan 1, 2024
66f61a1
feat: added basic version of fn calc_leaf_weight only computing the m…
eschmidt42 Jan 1, 2024
60c806f
added negative entropy score calculation
eschmidt42 Jan 6, 2024
550f217
chore: updated polars and pyo3-polars dependencies and added polars l…
eschmidt42 Jan 15, 2024
e8f5965
chore: added make format, rust only so far
eschmidt42 Jan 15, 2024
5365d57
chore: updated test_count_y_values
eschmidt42 Jan 15, 2024
9118943
fix: predict_with_tree now loops rows instead of columns :P
eschmidt42 Jan 15, 2024
d3f3adc
feat: added pub fn find_best_split
eschmidt42 Jan 15, 2024
9eed721
fix: debugged version of rust DecisionTreeClassifier and new tests
eschmidt42 Jan 16, 2024
070374b
chore: added .envrc to ignores
eschmidt42 Jan 19, 2024
8472ba5
feat: added enum SplitScoreMetrics and extended TreeGrowthParameters
eschmidt42 Jan 20, 2024
8b5f76b
feat: added DecisionTreeRegressor
eschmidt42 Jan 20, 2024
7e77c48
feat: DecisionTreeRegressor now working in nb
eschmidt42 Jan 20, 2024
e65fb45
chore: something
eschmidt42 Mar 29, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ celerybeat.pid

# Environments
.env
.envrc
.venv
env/
venv/
Expand Down
43 changes: 24 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,37 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.1.0
- id: trailing-whitespace
- id: check-added-large-files
args: ['--maxkb=1500']
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-toml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: name-tests-test
args: ['--pytest-test-first']
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.9
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.1
hooks:
- id: nbqa-black
- id: nbqa-isort
args: ["--float-to-top"]
# Run the linter.
- id: ruff
types_or: [ python, pyi, jupyter ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi, jupyter ]
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
- repo: local
hooks:
- id: unittest
name: unittest
entry: python3 -m pytest -vx -m "not slow"
- id: pytest
name: pytest
entry: python3 -m pytest -x -m "not slow"
pass_filenames: false
language: system
types: [python]
Loading