Skip to content

Add input_transform_argparse dispatcher for LearnedFeatureImputation (#5106)#5106

Closed
hvarfner wants to merge 1 commit intofacebook:mainfrom
hvarfner:export-D97625733
Closed

Add input_transform_argparse dispatcher for LearnedFeatureImputation (#5106)#5106
hvarfner wants to merge 1 commit intofacebook:mainfrom
hvarfner:export-D97625733

Conversation

@hvarfner
Copy link
Copy Markdown

@hvarfner hvarfner commented Mar 29, 2026

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

  1. input_transform_argparse dispatcher: Computes feature_indices and d
    from a heterogeneous MultiTaskDataset using target-first feature ordering.
    Validates that the dataset is a MultiTaskDataset with heterogeneous features.

  2. Storage registry: Register ImputedMultiTaskGP in MODEL_REGISTRY and
    LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

  3. Model selection (utils.py): When a heterogeneous MultiTaskDataset is
    detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
    specified class instead of force-overriding to HeterogeneousMTGP. Also add
    automatic Normalize + LearnedFeatureImputation transform chaining for
    ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 29, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 29, 2026

@hvarfner has exported this pull request. If you are a Meta employee, you can view the originating Diff in D97625733.

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Mar 29, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
@meta-codesync meta-codesync Bot changed the title Add input_transform_argparse dispatcher for LearnedFeatureImputation Add input_transform_argparse dispatcher for LearnedFeatureImputation (#5106) Mar 29, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.43%. Comparing base (98c7fd1) to head (aea2170).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5106   +/-   ##
=======================================
  Coverage   96.43%   96.43%           
=======================================
  Files         617      617           
  Lines       69309    69379   +70     
=======================================
+ Hits        66837    66907   +70     
  Misses       2472     2472           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Mar 29, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 10, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 21, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
@hvarfner hvarfner force-pushed the export-D97625733 branch 3 times, most recently from a1d0253 to 2ec2c47 Compare April 23, 2026 16:00
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 23, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 23, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 23, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 23, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34

Pull Request resolved: facebook#5106

Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Apr 24, 2026
…acebook#5106)

Summary:
X-link: https://github.com/facebookexternal/botorch_fb/pull/34


Wire LearnedFeatureImputation and ImputedMultiTaskGP into Ax:

1. **input_transform_argparse dispatcher**: Computes `feature_indices` and `d`
   from a heterogeneous MultiTaskDataset using target-first feature ordering.
   Validates that the dataset is a MultiTaskDataset with heterogeneous features.

2. **Storage registry**: Register ImputedMultiTaskGP in MODEL_REGISTRY and
   LearnedFeatureImputation in INPUT_TRANSFORM_REGISTRY.

3. **Model selection (utils.py)**: When a heterogeneous MultiTaskDataset is
   detected and a model class is specified (e.g. ImputedMultiTaskGP), use the
   specified class instead of force-overriding to HeterogeneousMTGP. Also add
   automatic Normalize + LearnedFeatureImputation transform chaining for
   ImputedMultiTaskGP.

Reviewed By: sdaulton

Differential Revision: D97625733
@meta-codesync meta-codesync Bot closed this in eeb78fe Apr 24, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 24, 2026

This pull request has been merged in eeb78fe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants