Skip to content

Commit c3259f1

Browse files
authored
Update gap_fitting_tutorial.ipynb
Using non-zero regularisation values.
1 parent 043d499 commit c3259f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc_src/gap_fitting_tutorial.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
"- `do_copy_at_file=F sparse_separate_file=T` just needed, don't want to copy the training data and using separate files for the xml makes it faster\n",
416416
"- `gp_file=GAP.xml` filename of the potential parameters, I have always used this name, because I had separate directories for the different trainings potentials\n",
417417
"- `at_file=train.xyz` training file\n",
418-
"- `default_sigma={0.008 0.04 0 0}` sigma values to be used for energies, forces, stresses, hessians in order; this represents the accuracy of the data and the relative weight of them in the fit (more accurate --> more significant in the fit)\n",
418+
"- `default_sigma={0.008 0.04 0.01 0.01}` sigma values to be used for energies, forces, stresses, hessians in order; this represents the accuracy of the data and the relative weight of them in the fit (more accurate --> more significant in the fit)\n",
419419
"- `gap={...}` the potential to be fit, separated by ':'\n",
420420
"\n",
421421
"**distance_2b**\n",
@@ -466,7 +466,7 @@
466466
"local_property0 = 0.0\n",
467467
"e0_offset = 0.0\n",
468468
"e0_method = isolated\n",
469-
"default_sigma = \"0.008 0.04 0 0\"\n",
469+
"default_sigma = \"0.008 0.04 0.01 0.01\"\n",
470470
"sparse_jitter = 1.0e-10\n",
471471
"hessian_delta = 1.0e-2\n",
472472
"core_param_file = quip_params.xml\n",
@@ -579,7 +579,7 @@
579579
}
580580
],
581581
"source": [
582-
"! gap_fit energy_parameter_name=energy force_parameter_name=forces do_copy_at_file=F sparse_separate_file=T gp_file=GAP.xml at_file=train.xyz default_sigma={0.008 0.04 0 0} gap={distance_2b cutoff=4.0 covariance_type=ard_se delta=0.5 theta_uniform=1.0 sparse_method=uniform add_species=T n_sparse=10}\n"
582+
"! gap_fit energy_parameter_name=energy force_parameter_name=forces do_copy_at_file=F sparse_separate_file=T gp_file=GAP.xml at_file=train.xyz default_sigma={0.008 0.04 0.01 0.01} gap={distance_2b cutoff=4.0 covariance_type=ard_se delta=0.5 theta_uniform=1.0 sparse_method=uniform add_species=T n_sparse=10}\n"
583583
]
584584
},
585585
{
@@ -801,7 +801,7 @@
801801
"local_property0 = 0.0\n",
802802
"e0_offset = 0.0\n",
803803
"e0_method = isolated\n",
804-
"default_sigma = \"0.008 0.04 0 0\"\n",
804+
"default_sigma = \"0.008 0.04 0.01 0.01\"\n",
805805
"sparse_jitter = 1.0e-10\n",
806806
"hessian_delta = 1.0e-2\n",
807807
"core_param_file = quip_params.xml\n",
@@ -975,7 +975,7 @@
975975
}
976976
],
977977
"source": [
978-
"! gap_fit energy_parameter_name=energy force_parameter_name=forces do_copy_at_file=F sparse_separate_file=T gp_file=GAP_3b.xml at_file=train.xyz default_sigma={0.008 0.04 0 0} gap={distance_2b cutoff=4.0 covariance_type=ard_se delta=0.5 theta_uniform=1.0 sparse_method=uniform add_species=T n_sparse=10 : angle_3b cutoff=3.5 covariance_type=ard_se delta=0.5 theta_fac=0.5 add_species=T n_sparse=30 sparse_method=uniform}\n"
978+
"! gap_fit energy_parameter_name=energy force_parameter_name=forces do_copy_at_file=F sparse_separate_file=T gp_file=GAP_3b.xml at_file=train.xyz default_sigma={0.008 0.04 0.01 0.01} gap={distance_2b cutoff=4.0 covariance_type=ard_se delta=0.5 theta_uniform=1.0 sparse_method=uniform add_species=T n_sparse=10 : angle_3b cutoff=3.5 covariance_type=ard_se delta=0.5 theta_fac=0.5 add_species=T n_sparse=30 sparse_method=uniform}\n"
979979
]
980980
},
981981
{

0 commit comments

Comments
 (0)