question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unified API : `model.params` attribute

See original GitHub issue

Hello! Firstly, I wanted to thank you for this wonderful library.

Unified API to get model’s params might make darts more convenient. For example, to get params of Exponential Smoothing model, We have to code like this:

model = ExponentialSmoothing()
model.fit(train)

print(model.model.model.params) # {'smoothing_level': 0.5789473661331209, 'smoothing_slope': ...

So, I want to implement model.get_params() method like sklearn. model.params attribute with property like statsmodels and fbprophet.

I would like to get your opinion before send PR. Thanks!

  • Models
    • abstract params() function in the ForecastingModel superclass
    • ARIMA
    • AutoARIMA
    • Baseline Models
      • NaiveDrift
      • NaiveMean
      • NaiveSeasonal
    • ExponentialSmoothing
    • FFT
    • Prophet
    • StandardRegressionModel
    • TCNModel
    • Theta
    • TorchForecastingModel (RNNModel)
  • Preprocessing
    • Scaler wrapper

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hrzncommented, Sep 29, 2020

+1 for that, it’s a good idea

2reactions
LeoTafticommented, Sep 29, 2020

Hello @norihitoishida, thanks for your suggestion and offering to help! I think that would be a nice addition to our library.

Make sure to check out our guidelines first and to include a couple unit tests. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parameter Binding in ASP.NET Web API - ASP.NET 4.x
Describes how Web API binds parameters and how to customize the binding process in ASP.NET 4.x.
Read more >
Chapter: Agent API - Cisco Unified Contact Center Enterprise
agentAttributes : A collection of agent attribute (Attribute API) references for this agent, including the description, refURL, name, and ...
Read more >
Python API Reference — xgboost 1.7.2 documentation
The model is loaded from XGBoost format which is universal among the various XGBoost interfaces. Auxiliary attributes of the Python Booster object (such...
Read more >
Unified Data Model field list | Chronicle Security - Google Cloud
Deprecated: cloud should be populated in entity Attribute as generic metadata (e.g. asset.attribute.cloud). domain, Domain, Information about the domain. email ...
Read more >
Retrieve Attribute Configurations - Tamr Documentation
get http://<host>:9100/api/versioned/v1/projects/ {project} ... Returns a list of machine learning attribute configurations for unified dataset attributes, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found