
import mixins

from .sigopt_experiment import SigOptExperiment


class SigOptImagenetExperiment(SigOptExperiment, mixins.ImagenetParams):
    """
    A subclass of SigOptExperiment used to sit between an experiment runner (such as
    Ray) and the ImagenetExperiment class. update_config_with_suggestion() is specific
    to our ImagenetExperiment config.
    """
    pass


import mixins

from .sigopt_experiment import SigOptExperiment


class SigOptImagenetExperiment(SigOptExperiment, mixins.ImagenetParams):
    """
    A subclass of SigOptExperiment used to sit between an experiment runner (such as
    Ray) and the ImagenetExperiment class. update_config_with_suggestion() is specific
    to our ImagenetExperiment config.
    """
    pass


class SigOptSDGOneCycleLRExperiment(SigOptExperiment,
                                    mixins.SGDParams,
                                    mixins.OneCycleLRParams):
    """Tune hyper-parameters using SDG and OneCycleLR."""
    pass


class SigOptSDGStepLRExperiment(SigOptExperiment, mixins.SGDParams, mixins.StepLRParams):
    """Tune hyper-parameters using SDG and StepLR."""
    pass

Add experiment classes for tuning hyper-parameters with SGD and either StepLR of OneCycleLR schedulers.
Add experiment classes for tuning hyper-parameters with SGD and either StepLR of OneCycleLR schedulers.
  
  import mixins
  
  from .sigopt_experiment import SigOptExperiment
  
  
  class SigOptImagenetExperiment(SigOptExperiment, mixins.ImagenetParams):
      """
      A subclass of SigOptExperiment used to sit between an experiment runner (such as
      Ray) and the ImagenetExperiment class. update_config_with_suggestion() is specific
      to our ImagenetExperiment config.
      """
      pass
  
+ 
+ class SigOptSDGOneCycleLRExperiment(SigOptExperiment,
+                                     mixins.SGDParams,
+                                     mixins.OneCycleLRParams):
+     """Tune hyper-parameters using SDG and OneCycleLR."""
+     pass
+ 
+ 
+ class SigOptSDGStepLRExperiment(SigOptExperiment, mixins.SGDParams, mixins.StepLRParams):
+     """Tune hyper-parameters using SDG and StepLR."""
+     pass
+ 
Add experiment classes for tuning hyper-parameters with SGD and either StepLR of OneCycleLR schedulers.
## Code Before:

import mixins

from .sigopt_experiment import SigOptExperiment


class SigOptImagenetExperiment(SigOptExperiment, mixins.ImagenetParams):
    """
    A subclass of SigOptExperiment used to sit between an experiment runner (such as
    Ray) and the ImagenetExperiment class. update_config_with_suggestion() is specific
    to our ImagenetExperiment config.
    """
    pass

## Instruction:
Add experiment classes for tuning hyper-parameters with SGD and either StepLR of OneCycleLR schedulers.
## Code After:

import mixins

from .sigopt_experiment import SigOptExperiment


class SigOptImagenetExperiment(SigOptExperiment, mixins.ImagenetParams):
    """
    A subclass of SigOptExperiment used to sit between an experiment runner (such as
    Ray) and the ImagenetExperiment class. update_config_with_suggestion() is specific
    to our ImagenetExperiment config.
    """
    pass


class SigOptSDGOneCycleLRExperiment(SigOptExperiment,
                                    mixins.SGDParams,
                                    mixins.OneCycleLRParams):
    """Tune hyper-parameters using SDG and OneCycleLR."""
    pass


class SigOptSDGStepLRExperiment(SigOptExperiment, mixins.SGDParams, mixins.StepLRParams):
    """Tune hyper-parameters using SDG and StepLR."""
    pass
