Skip to content

Commit

Permalink
Replace "sample cap" with "sample size"
Browse files Browse the repository at this point in the history
  • Loading branch information
Infernaught committed Oct 11, 2023
1 parent a50989b commit 2de5849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ludwig/schema/metadata/configs/preprocessing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sample_size:
- 1000
expected_impact: 2
suggested_values: Depends on data size
ui_display_name: Sample Cap
ui_display_name: Sample Size
column:
expected_impact: 3
ui_display_name: Split Column
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests/test_preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_sample_size(backend, tmpdir, ray_cluster_2cpu):
count = len(train_set) + len(val_set) + len(test_set)
assert sample_size == count

# Check that sample cap is disabled when doing preprocessing for prediction
# Check that sample size is disabled when doing preprocessing for prediction
dataset, _ = preprocess_for_prediction(
model.config_obj.to_dict(),
dataset=data_csv,
Expand Down

0 comments on commit 2de5849

Please sign in to comment.