Skip to content

Commit

Permalink
Merge pull request #5168 from FederatedAI/feature-2.0.0-beta-fate-test
Browse files Browse the repository at this point in the history
add random state to lr bq example
  • Loading branch information
mgqa34 authored Sep 12, 2023
2 parents e87470d + c7ea9ff commit 5b294e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/benchmark_quality/lr/vehicle_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ epochs: 10
init_param:
fit_intercept: True
method: "random_uniform"
random_state: 42
learning_rate_scheduler:
method: "linear"
scheduler_params:
Expand Down
2 changes: 1 addition & 1 deletion python/requirements-fate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pydantic==1.10.12
cloudpickle==2.1.0
click
ruamel-yaml==0.16
scikit-learn
scikit-learn==1.0.1
numpy
pandas==2.0.3
transformers==4.30.2
Expand Down
6 changes: 4 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os
import fate

from setuptools import find_packages, setup

import fate

# Base requirements
install_requires = [
"lmdb==1.3.0",
Expand All @@ -11,7 +13,7 @@
"cloudpickle==2.1.0",
"click",
"ruamel.yaml==0.16",
"scikit-learn",
"scikit-learn==1.0.1",
"numpy",
"pandas",
"transformers",
Expand Down

0 comments on commit 5b294e8

Please sign in to comment.