Comments (4)
Thanks for this, @thatch. We're not really python people so such suggestions are quite helpful.
We do expect to have some native python included at some point (trying to allow the use of generic python objects with container sketches, like kll or sampling, and that'll require user-specified classes for serialization or even comparators). I assume we'd want need to ensure they get included under datasketches
?
from datasketches-cpp.
I assume we'd want need to ensure they get included under datasketches?
Yep, the normal thing would be have this structure:
datasketches/__init__.py
datasketches/_datasketches.so
datasketches/kll.py
Right now you have datasketches.so
and it is quite difficult to have both python and native parts of the same name. You can have the __init__.py
do from ._datasketches import *
so all the names are available as a way of combining them.
from datasketches-cpp.
I'd experimented with the library part a bit a few months ago but we didn't have anything concrete to do with it then.
Right now we're trying to figure out why the Windows CI job started failing. Once that's done we'll be able to merge the linked PR (or maybe before if we determine it's sufficiently unrelated -- which really should be the case).
from datasketches-cpp.
This is now merged, along with a few other simplifications when revisiting the files. Thanks for pointing it out!
from datasketches-cpp.
Related Issues (20)
- datasketches does not work with python 3.9 HOT 12
- DoubleQuantilesSketch HOT 19
- Compatibile with Pyodide, Error: `pure Python 3 wheel for 'datasketches'.` HOT 2
- TupleSketch support for Python? HOT 4
- static analyzer detects a possible bug HOT 3
- Examples of Tuple Sketches HOT 4
- UndefinedBehaviorSanitizer failed, when serializing after using theta_a_not_b HOT 4
- The Python package for ARM MacOS has an x86_64 datasketches.so in it HOT 4
- AttributeError: type object 'datasketches.theta_sketch' has no attribute 'deserialize' HOT 3
- std::iterator is deprecated; replace it HOT 8
- .whl for Linux ARM64 error HOT 11
- random_utils is not thread-safe HOT 3
- the theta_union estimate value will change dramatically with the order of merge HOT 2
- Use non-colliding family id in count-min
- Determinism HOT 11
- One more instance of std::iterator deprecation warning in 4.1.0 HOT 3
- the getEstimate result for union of HllSketch is not stable HOT 2
- question to serialization HOT 1
- Serialize "non-compact" python theta sketch HOT 1
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 datasketches-cpp.