Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ml ARIMAPlus model params #488

Merged
merged 2 commits into from Mar 22, 2024
Merged

feat: add ml ARIMAPlus model params #488

merged 2 commits into from Mar 22, 2024

Conversation

GarrettWu
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 馃

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 21, 2024
@GarrettWu GarrettWu marked this pull request as ready for review March 21, 2024 00:48
@GarrettWu GarrettWu requested review from a team as code owners March 21, 2024 00:48

new_arima_plus = cls(**kwargs)
new_arima_plus._bqml_model = core.BqmlModel(session, model)
return new_arima_plus

@property
def _bqml_options(self) -> Dict[str, str | int | bool | float | List[str]]:
def _bqml_options(self) -> dict:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] Dict for consistency

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I try to use build-in type annotations (list, dict, etc.) by default. Which are neater since don't require imports.

@GarrettWu GarrettWu merged commit 352cb85 into main Mar 22, 2024
15 checks passed
@GarrettWu GarrettWu deleted the garrettwu-arima branch March 22, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants