Git Product home page Git Product logo

thesis_frechet_fda's Introduction

Fréchet Regression and Functional Data

image image

pre-commit.ci status image

About this project

This repository contains my master's thesis for the M.Sc. Economics programme at University Bonn. It contains both the code, as well as the tex file for creating the paper. This thesis is mostly based on the papers "Functional Data Analysis for Density Functions by Transformation to a Hilbert Space" (2016) and "Fréchet Regression for Random Objects with Euclidean Predictors" (2019) from Alexander Petersen and Hans-Georg Müller.

NOTE: This project is unfinished and will be worked over at a later point in time (December 2023). The text is very unfinished, and the simulation needs some more interesting scenarios to compare both methods.

What to look for

The three Jupyter notebooks in src / frechet_fda contain all the code done to illustrate the methods and compute the simulations. They are somewhat differentiated into a notebook that tries to reproduce methods and results from Petersen & Müller (2016), one to reproduce the methods from Petersen & Müller (2019) as well as do a simulation study, and one to produce and save all the plots to use in the thesis.

Important helper files

The file function_class.py contains the ubiquitous Function object I defined to represent the distribution objects in my code. The file function_tools.py contains most of the heavy used tools (including the LQD and inverse LQD transformation).

Getting started

To get started, create and activate the environment with

$ conda env create -f environment.yml
$ conda activate frechet_fda

Using this environment, it should be possible to just run the code in the Jupyter notebooks.

Credits

This project was created with cookiecutter and the econ-project-templates.

thesis_frechet_fda's People

Watchers

Mirkan Öcal 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.