Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BucketAnalysis num_buckets naming difference between SDK and web #450

Open
qjiang002 opened this issue Oct 25, 2022 · 0 comments
Open

BucketAnalysis num_buckets naming difference between SDK and web #450

qjiang002 opened this issue Oct 25, 2022 · 0 comments

Comments

@qjiang002
Copy link
Collaborator

In the most recent SDK version, the name of BucketAnalysis bucket number is num_buckets.

"custom_analyses": [
      {
        "cls_name": "BucketAnalysis",
        "description": "BucketAnalysis on verb",
        "level": "example",
        "feature": "verb",
        "num_buckets": 15,
        "method": "discrete"
      }
]

However, the SDK used by the web is explainaboard == 0.11.2 whose bucket number name is number. With the wrong name, the bucket number is default to 4. This problem should be resolved when bumping up the SDK version next time.

"custom_analyses": [
      {
        "cls_name": "BucketAnalysis",
        "description": "BucketAnalysis on verb",
        "level": "example",
        "feature": "verb",
        "number": 15,
        "method": "discrete"
      }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant