Giter VIP home page Giter VIP logo

mdn_exoplanets's Introduction

Inferring interior structures of exoplanets with Mixture Density Networks

MIT License DOI

This repository contains the trained machine learning models and python notebooks for the paper Machine-learning inference of the interior structure of low-mass exoplanets (Baumeister et al. 2020).

Required packages

This project requires Python 3.

  • keras = 2.2.4
  • numpy = 1.18.0
  • scipy >= 1.2.0
  • matplotlib >= 3.0.2
  • tensorflow = 1.15.2
  • tensorflow-probability = 0.7.0
  • ipywidgets >= 7.4.2
  • joblib >= 0.13.2
  • scikit-learn = 0.22.1

Installing the required packages

Using anaconda (preferred)
conda env create -f requirements.yml

Activate with

conda activate tf1.15
Using pip
pip install -r requirements.txt

How to use

  • MDN_exoplanets.ipynb contains all the code to load the trained MDN models and predict the distribution of possible interior structures of a planet.
  • The mdn directory contains the MDN layer code adopted from https://github.com/cpmpercussion/keras-mdn-layer.
  • The models directory contains data scalers and the MDN models trained either with mass and radius of the planet, or with mass, radius, and k2.

mdn_exoplanets's People

Contributors

philippbaumeister 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.