VASP 6.3 Machine learning
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 1
- Joined: Tue Aug 03, 2021 3:58 am
VASP 6.3 Machine learning
Hi,
Parameters in Machine learning, How do I set the "RANDOM_SEED" ?
Parameters in Machine learning, How do I set the "RANDOM_SEED" ?
-
- Global Moderator
- Posts: 460
- Joined: Mon Nov 04, 2019 12:44 pm
Re: VASP 6.3 Machine learning
It's not clear for what you need the random seed for in the machine learning calculations, but I try to answer the possible reasons.
The machine learning module doesn't use any random number except for a small unimportant feature that is hidden from the users and therefore should be avoided.
If you need a random seed for the MD used together for on the fly learning then please use RANDOM_SEED:
wiki/index.php/RANDOM_SEED
A possible random seed looks like:
RANDOM_SEED = 248489752 0 0
It's a good habit to specify the random seed for your MD calculations.
The machine learning module doesn't use any random number except for a small unimportant feature that is hidden from the users and therefore should be avoided.
If you need a random seed for the MD used together for on the fly learning then please use RANDOM_SEED:
wiki/index.php/RANDOM_SEED
A possible random seed looks like:
RANDOM_SEED = 248489752 0 0
It's a good habit to specify the random seed for your MD calculations.
-
- Newbie
- Posts: 5
- Joined: Tue Jun 21, 2022 8:34 pm
on-the-fly learning
When we train the machine on-the-fly-learning with molecular dynamics to generate the Force field, can we train them in any ensemble i.e. NVT, NVE or NPT, or do we have to follow particularly one of them? And also after doping our system with a new element, do we have to generate the new force field or we can use the force field already generated for the pure system?
-
- Global Moderator
- Posts: 460
- Joined: Mon Nov 04, 2019 12:44 pm
Re: VASP 6.3 Machine learning
In principle one can train in any ensemble, but the question is, does it make sense.
The NVE ensemble visits too little phase space so I would never train there.
The NVT is good for training, but if possible I would always train in the NpT ensemble, since training on the volume fluctuations add additional stability to the force field.
Important: if you use an NpT ensemble always use an ENCUT that is at least 30% higher than for NVT calculations. This is needed since the volume can increase and then one needs an increased basis.
Concerning the elements:
The force field is not transferable from one element to the other and you will need training on the new element too.
The NVE ensemble visits too little phase space so I would never train there.
The NVT is good for training, but if possible I would always train in the NpT ensemble, since training on the volume fluctuations add additional stability to the force field.
Important: if you use an NpT ensemble always use an ENCUT that is at least 30% higher than for NVT calculations. This is needed since the volume can increase and then one needs an increased basis.
Concerning the elements:
The force field is not transferable from one element to the other and you will need training on the new element too.
-
- Jr. Member
- Posts: 58
- Joined: Tue Nov 12, 2019 4:34 am
Re: VASP 6.3 Machine learning
If for intrinsic defects (no new elements), do we need further training?Concerning the elements:
The force field is not transferable from one element to the other and you will need training on the new element too.
-
- Global Moderator
- Posts: 460
- Joined: Mon Nov 04, 2019 12:44 pm
Re: VASP 6.3 Machine learning
I would say always yes. The formation energies of defects need as good accuracy as possible. The error in energy per atom comes from your training and will be the same in the production runs in larger structures. Since the total error in energy for a structure is the error in energy per atom times the number of atoms. So with increasing cell size the magnitude of error of the total energy becomes the same as the defect formation energy of a single vacancy and hence that size cannot give reliable results. So you need to get as accurate as possible in your training. That requires learning on defect structures too.