-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API documentation? #34
Comments
Hey, the documentation for FASTMAP is here: https://saehm.github.io/DruidJS/FASTMAP.html I hope this helps! |
I checked your notebook, and the druid code. For me, the notebook works for the iterative methods with this: result = Generators.observe(
worker(
function dr({ dr_method, data }) {
return druid[dr_method].generator(data, {});
},
{ dr_method, data },
`
importScripts(${JSON.stringify(
await require.resolve("@saehrimnir/druidjs@^0.7.1") // note: version 0.7 changes the API, breaking FASTMAP to PCA in this notebook. See https://observablehq.com/@saehrimnir/hello-druidjs/2
)});
`
)
) The generator function just calls the transform function and returns its results, maybe i need to use All the methods work for me with the transform function The second parameter |
I see. So we need one of:
How can I distinguish the methods that have a working generator? (I think it's the same question as #13 (comment) :) ) |
I fixed the issue of the methods which need a neighbor parameter. result = Generators.observe(
worker(
function dr({ dr_method, data }) {
return druid[dr_method].generator(data); // show the steps
},
{ dr_method, data },
`
importScripts(${JSON.stringify(
await require.resolve("@saehrimnir/druidjs@^0.7.3")
)});
`
)
) |
Hello,
I've tried to upgrade my older notebook from 0.3.5 to 0.7.1, and several of the methods break (FASTMAP, PCA, etc). I'm not sure where to find the new API documentation so I can fix this? Thanks!
The text was updated successfully, but these errors were encountered: