Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi,

I was trying to finetune with multiple targets as showing below:
train_inputs.append(
{
"target": {col: df_loop[col].values for col in list_cols_target},
"past_covariates": {
col: df_loop[col].values for col in list_past_covariates
},
}
)
# Fine-tune the model
finetuned_pipeline_2 = pipeline.fit(
inputs=train_inputs,
prediction_length=prediction_length,
num_steps=num_steps,
learning_rate=learning_rate,
batch_size=32,
logging_steps=10,
)

  However, it is not working.
  Is it possible to fine-tune with multiple targets.
  Thank you,
You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

@francoisabcd Could you please provide a working example to reproduce the issue? What do you mean by "not working"? Also, you can use backticks to format your code correctly.

You must be logged in to vote
1 reply
@francoisabcd
Comment options

It seems that the issue is here "target": {col: df_loop[col].values for col in list_cols_target}. "target" should be 2-D array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.