MeasureTransport / MeasureTransport/MParT

Add ability to create new ConditionalMap classes in Python

Open
#228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The ParameterizedFunctionBase and ConditionalMapBase classes define abstract interfaces for general vector-valued functions and invertible transformations, respectively. When using MParT as a research tool, users may want extend these interfaces with their own child classes. This is possible in c++, but not in the other languages.

At least in python, supporting these types of extensions is possible with pybind11 (see the pybind11 docs on overriding virtual functions).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Python bindings for ParameterizedFunctionBase and ConditionalMapBase and compare them with the existing C++ interfaces. Read pybind11's documentation on overriding virtual functions to determine the required binding approach. Done means Python users can define child ConditionalMap classes and use them as invertible transformations, with coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.