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.

In a few places we’ve mentioned certain functions which we would like to have, but they don’t necessarily fit the usual fit/transform/predict pattern.

For instance, @jnothman mentioned having an add function for the ColumnTransformer, which we can also have for the Pipeline.

We also talked about a prune_tree function in #14038.

One concern seems to be that we would like to keep the API very simple and easy, which I agree with. But it doesn’t have to limit us from having more ad-hoc functions, which we could fit in a separate section in the docs and tag them as advanced.

I’m not sure how we could handle that with sphinx, but what I’m proposing is to tag those functions as advanced, and have sphinx render them in an “advanced” section bellow the other functions. This way they would not interfere with the usual experience of a new user who’s reading the docs, and yet it would enable us to introduce some rather useful methods.

I may be missing some historical discussion on this topic though, sorry for that.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jnothmancommented, Jun 28, 2019

In ColumnTransformer the benefit of ‘add’ is that it gets rid of the need to remember the order of a triple because the method has parameter names. It means that you can specify or use the default name for a step, rather than the all-or-nothing approach of make_pipeline vs Pipeline. It would make it easier to integrate other ways for users to specify the set of columns too.

0reactions
amuellercommented, Jun 27, 2019

Thanks for the clarification, that wasn’t clear to me from the initial description. I’m +0 on an add method right not, I think. I haven’t found this to be an inconvenience so far.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced REST client
The web developers helper program to create and test custom HTTP requests.
Read more >
Advanced REST API Design - Medium
Advanced REST API Design. We review some advanced use cases of the Representational State Transfer (REST) protocol.
Read more >
REST Advanced API resources - Oracle Help Center
Advanced API Resources. Note: The Responsys Advanced API is generally available for all Responsys customers. Learn more about Responsys APIs in this video ......
Read more >
Advanced REST Client
Easy and clean user interface helps you focus on your API and not tooling. Store your requests and projects on Google Drive and...
Read more >
Advanced API Operations overview | Apigee X - Google Cloud
Apigee's Advanced API Operations (AAPI Ops) provides tools to help you ensure that your APIs stay up and running as intended. AAPI Ops...
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