Chiara Marmo
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# 25th January 2021 -- Scikit-learn dev meeting *Don't forget to sign in when editing and put your name in front of the entries you want to discuss* ### Need decision - Christian: RFC [RFC ColumnTransformer input validation and requirements #14251](https://github.com/scikit-learn/scikit-learn/issues/14251) Should ColumnTransformer enforce the order of the input columns? Info: This was already merged in [#14544](https://github.com/scikit-learn/scikit-learn/pull/14544) but I could not find a consensus/decision to do so. - Nicolas: regarding consensus: it was reached (between Adrin, Andy, Joel and I) on the original issue in August 2019. Divergent viewpoints were only voiced one year later but [#14544](https://github.com/scikit-learn/scikit-learn/pull/14544) was already merged by then. Also, #14544 fixed buggy behaviour. - Christian: My focus is *user-friendly end-to-end ML pipelines*. - Thomas: I opened PR [#19263](https://github.com/scikit-learn/scikit-learn/pull/19263) with an implementation to resolve this issue if we decide to. This PR enables transform to only require non-dropped columns to exist in the input, X, regardless of the order. Also dropped columns are not required in transform. - Andy: I think this is a good solution (I think the crux was that we previously stored indices, I assume you're now storing names). If someone uses boolean masks and positional indexing, there's still edge cases, right? (Thomas: I am storing the original column names and the indices to the original column names.) - Summary from the meeting: - The problem is that we currently need a repeatable column order. However, some data science pipelines have weak control on this (for instance querying from a DB) - Adrin finds that this makes the code very complicated, and would like this to be done in a separate object - Maybe add more tests to be sure that we do not allow silent bugs if the transform-time DF has new columns (with various configs of passthrough and drop) - Christian (if time permits): How to specify a design matrix for linear models? (Compare R-formula and patsy, also [#10603](https://github.com/scikit-learn/scikit-learn/issues/10603) and [#15263](https://github.com/scikit-learn/scikit-learn/issues/15263)) Ideally: - You can use feature names. - Native support for categorical features - Crux: Easy to specify individual interaction terms - Andy: https://github.com/amueller/patsylearn (this is reaaally old) - Pastylearn is not very robust and not well maintained (neither is patsy :D ), however there seems to be a consensus that it is a desired functionality. The question is whether to make it live in scikit-learn or outside ### Need attention (review) - Guillaume: - A series of example improvements: [PR #18835](https://github.com/scikit-learn/scikit-learn/pull/18835), [PR #18830](https://github.com/scikit-learn/scikit-learn/pull/18830), [PR #18821](https://github.com/scikit-learn/scikit-learn/pull/18821), [PR #18836](https://github.com/scikit-learn/scikit-learn/pull/18836) - Code refactoring for methods/functions that needs to get responses from an estimator methods (`predict`/`predict_proba`/`decision_function`) [PR #18589](https://github.com/scikit-learn/scikit-learn/pull/18589) ### General topics - Thomas: typing revisited: [PR #17799](https://github.com/scikit-learn/scikit-learn/pull/17799) - Nicolas: Has there been any new developement to this? From what I can tell: - Type annotation adoption is still very much an [ongoing discussion](https://github.com/scikit-learn/scikit-learn/issues/16705#issuecomment-683477933) (I'm still not sold, personally) - Joris [has strongly recommended against](https://github.com/scikit-learn/scikit-learn/issues/16705#issuecomment-683717061) using type annotations for checking docstrings - Thomas: In the same comment Joris said: "... or to have validation of consistency between the two formats.", which I am leaning toward. - PR [#17799](https://github.com/scikit-learn/scikit-learn/pull/17799) is narrow in the sense that it wants to only type `__init__` parameters. - I began typing some of sklearn here: [sk-typing](https://github.com/thomasjpfan/sk-typing/tree/main/sk_typing) and found that most of our hyperparameters are pretty simple and not complicated Unions. - I think it is a typing net-win since most types are simple. - Comment from Alex: can we type part of the code (at least to bootstrap the process) - Nicolas exposes difficulties contributing to a big code base with typing - Adrin suggests typing only the builtin types and only in inits, keeping away from advanced stuff - This is useful for IDEs, in particular with simple builtins, because the IDE can suggest the type as we type - Loïc : Github Discussions, any feedback so far? Do we want to announce it more widely at one point (mailing list, Twitter, others)? - Small traffic, but things are going well. - We should probably avertise it more to get the ball rolling - Action: can people retweet [Andy tweet](https://twitter.com/amuellerml/status/1347263788446146560) - Andreas: what's the status on feature names? - Thomas has a PR on n_features_in (need review) - [PR#18741](https://github.com/scikit-learn/scikit-learn/pull/18741) - [PR#18742](https://github.com/scikit-learn/scikit-learn/pull/18742) - [PR#18744](https://github.com/scikit-learn/scikit-learn/pull/18744) - Andreas: What's the status on fit_transform != fit.transform? - Gael: I'm a bottleneck here. I'll be able to pick it up in a few weeks. If someone else wants to fill in my shoes, I won't take it badly - Guillaume: Move items away from experimental - Seems feasible for `HistGradientBoosting` / `fetch_openml` - `HistGradientBoosting`: specifying categorical features is not easy and intuitive at the moment - `SuccessiveHalving`? (maybe too new?) - `IterativeImputer` -> we probably need to solve/find out the reason for `ConvergenceWarning`. Andreas: The reason is that MissForest has a weird definition of convergence, that's not convergence at all. - `fetch_openml` (marked experimental in the doc but not with the explicit experimental import mechanisms) ### Contributors ### Priorities Until next dev meeting: - Someone in Inria (to be decided) will invest on feature names, starting by reviewing the linked PRs on `n_features_in_` checks starting issue: [#18514](https://github.com/scikit-learn/scikit-learn/pull/18514) with follow up PRs: [PR#18741](https://github.com/scikit-learn/scikit-learn/pull/18741), [PR#18742](https://github.com/scikit-learn/scikit-learn/pull/18742), [PR#18744](https://github.com/scikit-learn/scikit-learn/pull/18744) - Passing categoricals to the HGBT [#18894](https://github.com/scikit-learn/scikit-learn/issues/18894) ### Next meeting February 22th, same time? To confirm, we forgot to confirm.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully