GithubHelp home page GithubHelp logo

Training NEP for mixed dataset about gpumd HOT 6 CLOSED

artempi avatar artempi commented on August 11, 2024
Training NEP for mixed dataset

from gpumd.

Comments (6)

brucefan1983 avatar brucefan1983 commented on August 11, 2024 1

The major parameters to tune are the cutoff radii, which are 8 A and 4 A in the default setting. You can try a few combinations:

  1. your original ones 5 A, 5A
  2. the default ones: 8 A, 4 A
  3. perhap you can try another set: 7 A, 5 A

Then you can decide which to take based on accuarcy and speed

from gpumd.

brucefan1983 avatar brucefan1983 commented on August 11, 2024

from gpumd.

artempi avatar artempi commented on August 11, 2024

@brucefan1983
I was able to get smaller F-test errors with the default settings.
Is there a way to improve further with custom settings and perhaps including ZBL?
Thank you

image

Input or default parameters:
(default) model_type = potential.
(default) calculation mode = train.
(default) use NEP version 4.
(input) number of atom types = 5.
(default) type 0 (Hf with Z = 72) has force weight of 1.
(default) type 1 (O with Z = 8) has force weight of 1.
(default) type 2 (Si with Z = 14) has force weight of 1.
(default) type 3 (W with Z = 74) has force weight of 1.
(default) type 4 (Zr with Z = 40) has force weight of 1.
(default) will not add the ZBL potential.
(default) radial cutoff = 8 A.
(default) angular cutoff = 4 A.
(default) n_max_radial = 4.
(default) n_max_angular = 4.
(default) basis_size_radial = 12.
(default) basis_size_angular = 12.
(default) l_max_3body = 4.
(default) l_max_4body = 2.
(default) l_max_5body = 0.
(default) number of neurons = 30.
(default) lambda_1 = -1.
(default) lambda_2 = -1.
(default) lambda_e = 1.
(default) lambda_f = 1.
(default) lambda_v = 0.1.
(default) lambda_shear = 1.
(default) force_delta = 0.
(default) batch size = 1000.
(default) population size = 50.
(default) maximum number of generations = 100000.
Some calculated parameters:
number of radial descriptor components = 5.
number of angular descriptor components = 25.
total number of descriptor components = 30.
NN architecture = 30-30-1.
number of NN parameters to be optimized = 4801.
number of descriptor parameters to be optimized = 3250.
total number of parameters to be optimized = 8051.

from gpumd.

brucefan1983 avatar brucefan1983 commented on August 11, 2024

if you do not study radiation damage, there is no need to add ZBL.
When you need to add ZBL, it is usually required to have some dimer structures to make the connection between NEP and ZBL fixed.

from gpumd.

brucefan1983 avatar brucefan1983 commented on August 11, 2024

Actually, the defult regularization might be too strong. I have revised the default regularization a few days ago (#541), and you can try to see if that gives better training and testing accuracy.

from gpumd.

brucefan1983 avatar brucefan1983 commented on August 11, 2024

I think there is no real issue here, so I will close it.

from gpumd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.