     act balanceClasses.value, (enabled) ->
       classSamplingFactors.isVisible enabled
       maxAfterBalanceSize.isVisible enabled
+
+    act distribution.value, (distribution) ->
+      huberAlpha.isVisible distribution == "huber"
+      tweediePower.isVisible distribution == "tweedie"
+      quantileAlpha.isVisible distribution == "quantile"
+      customDistributionFunc.isVisible distribution == "custom"
+
 
   exception: _exception
   form: _form

    'include_algos',
    'algo_parameters',
    'modeling_plan',
  ]
  # for the most part, defaults are taken from the REST API (default value of the property on the schema instance)
  # but we can set different defaults for Flow here

      'balance_classes',
      'class_sampling_factors',
      'max_after_balance_size',
      'distribution',
      'custom_distribution_func',
      'huber_alpha',
      'tweedie_power',
      'quantile_alpha',
    ], _controlGroups.findControl
    columnControls = map columnParameterNames, _controlGroups.findControl

