Comments (3)
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.
@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.
@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 importTyping
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)
- Get all `sklearn` estimator checks passing HOT 1
- Unwanted double transformation using TransformedKNeighborsMixin.predict HOT 8
- Design and implementation of random forest nearest neighbors (RF-NN) HOT 2
- Test accuracy of `predict` methods HOT 5
- Licensing HOT 2
- Simplify fit parameters for `CCATransformer` and `CCorATransformer`? HOT 4
- Support use of reduced number of axes in CCorATransformer, CCATransformer HOT 1
- Warning when fitting transformed estimator with dataframe with no feature names HOT 5
- Possibility of using built-in Mahalanobis distance HOT 4
- Add ruff to pre-commit hooks HOT 9
- Replace existing port tests with automated regression tests HOT 6
- Independent predict and score methods for KNeighborsRegressor derived estimators HOT 10
- Using properties as accessors in CCA/CCorA leads to slow run times HOT 9
- Refactor `CCA` and `CCorA` classes to reduce repeated operations
- Refactor transformed estimators HOT 6
- Test estimators with `y_fit` data HOT 5
- `list.index` accidentally stored as `dataframe_index_in_` HOT 3
- Change installed name to `sknnr` HOT 9
- Test all Python versions with Hatch 1.8.0 HOT 3
- Expose dataset loading functions as public API HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-learn-knn-regression.