Skip to content

Commit

Permalink
change bootstrap type to SGD for CatBoost --> bump v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Aug 2, 2024
1 parent 532d1ef commit 3369fa1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ coverage: ## check code coverage quickly with the default Python

docs: install ## generate docs
pip install black pdoc
black nnetsauce/* --line-length=80
find nnetsauce/ -name "*.py" -exec autopep8 --max-line-length=80 --in-place {} +
pdoc -t docs nnetsauce/* --output-dir nnetsauce-docs
black unifiedbooster/* --line-length=80
find unifiedbooster/ -name "*.py" -exec autopep8 --max-line-length=80 --in-place {} +
pdoc -t docs unifiedbooster/* --output-dir unifiedbooster-docs
find . -name '__pycache__' -exec rm -fr {} +

servedocs: install ## compile the docs watching for change
pip install black pdoc
black nnetsauce/* --line-length=80
find nnetsauce/ -name "*.py" -exec autopep8 --max-line-length=80 --in-place {} +
pdoc -t docs nnetsauce/*
black unifiedbooster/* --line-length=80
find unifiedbooster/ -name "*.py" -exec autopep8 --max-line-length=80 --in-place {} +
pdoc -t docs unifiedbooster/*
find . -name '__pycache__' -exec rm -fr {} +

build-site: docs ## export mkdocs website to a folder
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

subprocess.check_call(['pip', 'install', 'Cython'])

__version__ = "0.2.0"
__version__ = "0.2.1"

here = path.abspath(path.dirname(__file__))

Expand Down
1 change: 1 addition & 0 deletions unifiedbooster/gbdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(self,
'depth': self.max_depth,
'verbose': self.verbose,
'random_seed': self.seed,
'bootstrap_type': 'Bernoulli',
**kwargs
}

Expand Down

0 comments on commit 3369fa1

Please sign in to comment.