Code Monkey home page Code Monkey logo

Comments (3)

aazuspan avatar aazuspan commented on June 29, 2024 1

Good thought on the ArcGIS constraint! I hadn't considered that.

I agree that following sklearn's lead here makes sense. Adding a from __future__ import annotations gives access to typing with built-ins as early as 3.7 (see PEP 585), so I think we should be good to go with 3.8!

from scikit-learn-knn-regression.

aazuspan avatar aazuspan commented on June 29, 2024

@grovduck Any thoughts on Python version support? I'm setting up tox and need to figure out which environments to test against, but we don't currently list a python_requires in setup.py.

I usually loosely follow the numpy support schedule, which just dropped 3.8 a few days ago, but that seems a bit strict. sklearn still supports >=3.8. Any preferences?

from scikit-learn-knn-regression.

grovduck avatar grovduck commented on June 29, 2024

@aazuspan, this will start sounding repetitive, but I'll trust your judgement on this. A couple of random thoughts to consider, but probably not too strongly:

  • It's possible that we might have ArcGIS users that aren't too familiar with Python and would therefore use the Python that ships with ArcGIS Pro. The default is a conda virtual environment using Python 3.9.
  • When thinking about typing, it's really nice to just use list, dict, etc. and that came in at 3.9? We'd have to import Typing otherwise, correct? I'm guessing you know clever tricks around this.

At first blush, it seems to be reasonable to follow what sklearn supports, so I'm OK with 3.8.

from scikit-learn-knn-regression.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.