featurebasedb / demo-taxi Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
I'd rather put this on the pilosa repo, but I think not all the info here is appropriate for that.
@yuce's PR at #3 expands the "Intersect" tab to allow intersections of (unions within a frame). This makes the intersect queries more practically meaningful because they work on ranges of numerical values instead of single values. This is an improvement, but it's also a special-case step in the direction of a general query builder. Our next efforts in front-end work should at least be aware of that goal.
This issue is already ticketed at FeatureBaseDB/featurebase#240. That gives us a good starting point for building a general-purpose app to demonstrate the power of Pilosa. We will also want to expand on that. With a little planning, we can identify lower-level reusable components and build those as the need arises.
Ideally, we could use the same components for both the webUI and this demo app (or others - maybe a demo section on pilosa.com?). This is blocked by a few things:
/schema
and /status
endpoints.Short-term workaround until #4 is viable.
This is a short-term solution to the problem of having the demo app understand the meaning of the bitmapIDs in each frame. Long-term, I want Pilosa to provide some meaningful schema information that can be used by the client (#1, #4, input definition work, other proposals). Until that's available, the demo app should be able to automatically:
To this end, we can mirror the mapper definitions used in PDK, in the app, something like:
pickup_day: {0: Monday, 1: Tuesday, ...}
dist_miles: IntRange(0, 50)
precipitation_inches: FloatRange(0, 5, 0.02) // (start, stop, step)
Then use TopN
on each frame to discard IDs that have zero counts.
Things to check for appropriateness:
I've looked over these things, but I'd appreciate another opinion, especially for any potential license/legal issues.
If there are any concerns, another alternative is to start a new repo from the current commit.
This depends on upcoming schema work, and will allow the app to work for arbitrary databases with minimal modification.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.