Imports should be ordered from most general to most specific. Typically, you start with standard library imports, then common scientific package imports, then sklearn imports.