Skip to content
This repository was archived by the owner on Dec 4, 2019. It is now read-only.

Clarify RandomizedSearchCV documentation for sampling with replacement #104

@shaunswanson

Description

@shaunswanson

At this line, it may be better to explicitly mention which parameters will be sampled with replacement if any one of them is a distribution:

https://github.com/databricks/spark-sklearn/blob/master/python/spark_sklearn/random_search.py#L27

Are all parameters (those given as distributions and those given as lists of values) sampled with replacement in this scenario, or only parameters given by distributions?

If so, this documentation would be better stated as:

sampling with replacement is used for all parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions