Coder Social home page Coder Social logo

Comments (2)

tailaiw avatar tailaiw commented on July 20, 2024

@marktibbetts thanks for raising this up. We were not aware of the mentioned limitation of Google Cloud Platform ML Engine. This is definitely a strong reason to consider a Python 3.5 support of ADTK.

There are two known issues to deal with if we want to make it Python 3.5 compatible:

  1. dict objects are insertion ordered since Python 3.6. Some features of ADTK requires dict objects to be insertion ordered. We may change them to collections.OrderedDict for Python 3.5 support. I think that is totally doable.

  2. The pandas dependency is currently set as >=0.25. According to pandas documentation, pandas 0.25 supports python 3.5.3 and above. However, I noticed that the default Python3 on Ubuntu 16.04 is Python 3.5.2, and I suspect that is what GCP ML Engine is using. If that is the case, we need to support earlier versions of pandas dependency so you may use ADTK on at least Python 3.5.2.

    The reason of the current pandas 0.25+ dependency was we found a bug in 0.24 impacting some important features of ADTK and it seems fixed since 0.25. In particular, pandas.DataFrame.rolling does not set rolling interval open/closed as specified by option closed when the rolling window is offset-based. This would make DoubleRollingAggregate and quite a few associated detectors return unexpected results.

We will look into this and keep you updated here. Thanks again for raising the issue.

from adtk.

tailaiw avatar tailaiw commented on July 20, 2024

Issue resolved by #4

from adtk.

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.