Skip to content
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

Some primitives could be more aligned with best practices #33

Open
mitar opened this issue Jun 16, 2019 · 3 comments
Open

Some primitives could be more aligned with best practices #33

mitar opened this issue Jun 16, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@mitar
Copy link

mitar commented Jun 16, 2019

For example, why has AudioDatasetLoaderPrimitive to be from Dataset to DatFrame? Why not just use denormalize + then do DataFrame to DataFrame?

Ideally, the boundaries of the primitive would be very similar to that in common primitives, but maybe with additional features (it looks like you support sampling). Then TA2s can interchange the primitives and see which one works better in a suitable combination.

Also, type is:

AudioDatasetLoaderPrimitive(transformer.TransformerPrimitiveBase[container.Dataset, container.List, Hyperparams])

But you are really outputting a DataFrame, not List?

I suggest you use a variable at the beginning of the file and then use that variable everywhere, to assure things stay in sync. Or run mypy to validate you code. :-)

@mitar
Copy link
Author

mitar commented Jun 16, 2019

Also, instead of operating on networkx objects (which will go away after summer), the current direction is to normalize graphs first into edge-list format and go from there.

@cdbethune
Copy link
Contributor

We definitely need to take another pass over the primitive set - there are some obvious issues like those you mention above, but beyond that, we didn't make as much progress as we wanted to on the exposure of the various hyperparameters, especially for the different learners. We're also not well aligned with some of the more general control hyperparams that are used across common primitives. I'm hoping to touch base with TA2 teams at the workshop to figure out what we should focus on now that we've got a first pass of everything submitted and validating.

@mitar
Copy link
Author

mitar commented Jun 16, 2019

I mean, the first thing would be to assure that you can express all your existing baselines exline pipelines now. So all exline scores used for evaluation comparison should have a corresponding pipeline. Focus on that.

I agree that the rest can be done later.

@cdbethune cdbethune added the bug Something isn't working label Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants