Skip to content

Commit

Permalink
fix evaluate argument in readme (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez authored Dec 7, 2023
1 parent 761fde7 commit 0b853e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
uses: actions/checkout@v2

- name: Set up environment
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v1
with:
extra-specs: python=${{ matrix.python-version }}
cache-env: true
environment-file: environment.yml
create-args: python=${{ matrix.python-version }}
cache-environment: true

- name: Install pip requirements
run: pip install ".[dev]"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def mse(y, y_hat):
return np.mean((y-y_hat)**2)

evaluator = HierarchicalEvaluation(evaluators=[mse])
evaluator.evaluate(Y_hat_df=Y_rec_df, Y_test=Y_test_df.set_index('unique_id'),
evaluator.evaluate(Y_hat_df=Y_rec_df, Y_test_df=Y_test_df.set_index('unique_id'),
tags=tags, benchmark='Naive')
```

Expand Down

0 comments on commit 0b853e5

Please sign in to comment.