File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
pkg/new-ui/v1beta1/frontend/src/app Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,29 @@ export const DartsSettings: AlgorithmSetting[] = [
242242 } ,
243243] ;
244244
245+ export const PbtSettings : AlgorithmSetting [ ] = [
246+ {
247+ name : 'suggestion_trial_dir' ,
248+ value : '/var/log/katib/checkpoints/' ,
249+ type : AlgorithmSettingType . STRING ,
250+ } ,
251+ {
252+ name : 'n_population' ,
253+ value : 40 ,
254+ type : AlgorithmSettingType . INTEGER ,
255+ } ,
256+ {
257+ name : 'resample_probability' ,
258+ value : null ,
259+ type : AlgorithmSettingType . FLOAT ,
260+ } ,
261+ {
262+ name : 'truncation_threshold' ,
263+ value : 0.2 ,
264+ type : AlgorithmSettingType . FLOAT ,
265+ } ,
266+ ] ;
267+
245268export const EarlyStoppingSettings : AlgorithmSetting [ ] = [
246269 {
247270 name : 'min_trials_required' ,
@@ -271,4 +294,5 @@ export const AlgorithmSettingsMap: { [key: string]: AlgorithmSetting[] } = {
271294 [ AlgorithmsEnum . SOBOL ] : SOBOLSettings ,
272295 [ AlgorithmsEnum . ENAS ] : ENASSettings ,
273296 [ AlgorithmsEnum . DARTS ] : DartsSettings ,
297+ [ AlgorithmsEnum . PBT ] : PbtSettings ,
274298} ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const AlgorithmNames = {
1212 [ AlgorithmsEnum . MULTIVARIATE_TPE ] : 'Multivariate Tree of Parzen Estimators' ,
1313 [ AlgorithmsEnum . CMAES ] : 'Covariance Matrix Adaptation: Evolution Strategy' ,
1414 [ AlgorithmsEnum . SOBOL ] : 'Sobol Quasirandom Sequence' ,
15+ [ AlgorithmsEnum . PBT ] : 'Population Based Training' ,
1516} ;
1617
1718export const NasAlgorithmNames = {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export enum AlgorithmsEnum {
99 SOBOL = 'sobol' ,
1010 ENAS = 'enas' ,
1111 DARTS = 'darts' ,
12+ PBT = 'pbt' ,
1213}
1314
1415export enum EarlyStoppingAlgorithmsEnum {
You can’t perform that action at this time.
0 commit comments