Code Monkey home page Code Monkey logo

ase_md_example's Introduction

Write a ZnTrack Node

Setup environment

  1. Install miniconda https://docs.conda.io/en/latest/miniconda.html
  2. Install poetry https://python-poetry.org/docs/
  3. Create an environment conda create -n asemd python
  4. Activate environment conda activate asemd
  5. Install package poetry install

Test package

run pytest . to check if all the tests pass.

The package should work as follows:

import ase_md

atoms = ase_md.simulator.generate_atoms(size=2)

    atoms_list = ase_md.simulator.run_simulation(
        atoms=atoms, temperature=300, timestep=1.0, dump_interval=5, steps=20
    )

    rdf = ase_md.simulator.compute_rdf(
        atoms_list=atoms_list, rmax=1.0, nbins=50, elements="Cu"
    )

which builds a DAG like:

Rewrite the package

  • Add an Example using DVC (without ZnTrack)
  • Add an Example using ZnTrack
  • Add an Example using MLFlow
  • Add an Example using Hydra

You can also consider other packages you want to try out. Some can be found here https://github.com/pditommaso/awesome-pipeline.

Run experiments:

Test your workflow with different parameters for all Nodes and compare them.

ase_md_example's People

Contributors

ruttor avatar pythonfz avatar

Stargazers

 avatar

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.