Metaframe builder#440
Draft
qubixes wants to merge 29 commits into
Draft
Conversation
The builder is now more or less working as expected, but features are both missing and broken, which is expected.
qubixes
marked this pull request as draft
June 9, 2026 09:10
Now more work is needed for the GMF file and the toml input file.
Now you can set the series to be referring to columns. After that you can fit those new series. This can be used to solve a = b + <random_var>
* Add more tests for the builder * Add more tests * Fix test
Fix GMF loading and saving with composed distributions
New operator similar to pd.is_null() or pl.is_null().
Ensure that computation with null is always null
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will be the main addition to metasyn 3.0. It is very far from ready. Given that the features are interlinked, this PR will unfortunately be quite big.
Planned features for this PR:
MetaFrame.fit_dataframe()method. This method would be growing too much and would have too much logic.MetaFrame.fit_dataframe()might still be offered for compatibility, but will lack some of the new features.-Removal of the
MetaConfig,VarSpecandDistSpecclasses. The functionality of these classes will be transferred to new classes.VarBuilderandMetaFrameBuilderclasses. These classes take the place of theMetaFrame.fit_dataframe()andMetaVar.fit()methods.ContinuousNormalDistribution(0, 1) + ContinuousUniformDistribution(0, 1). Fitters for these composed distributions will not be implemented. Depending on privacy considerations, fitters for a subset of the possible composed distributions might be implemented.TODO list:
Metaframe.fit_dataframe()method for backward compatibility.Fixes #434