-
Notifications
You must be signed in to change notification settings - Fork 1.9k
NimbusML's dot_export_pipeline for c# #2433
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
Comments
Any |
are you sure?
i pressed f12 to see the definition and i dont see ienumerable...
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Ivan Matantsev <[email protected]>
Sent: Wednesday, February 6, 2019 1:53 PM
To: dotnet/machinelearning
Cc: Nestor Sulikowski; Author
Subject: Re: [dotnet/machinelearning] NimbusML's dot_export_pipeline for c# (#2433)
Any EstimatorChain is IEnumerable<IEstimator> so you can iterate over them.
I'm a bit struggling to understand what exactly you mean (probably because I have limited experience with Nimbus). Can you provide code snippet of what you doing and what you is your expected result?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2433 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AB-M9_MWF-7mtaFPm6qC64HwmISC974_ks5vKySYgaJpZM4ak-RF>.
|
My bad I was thinking about TransformerChain which is @TomFinley any chance you aware why @Zruty0 implemented TransformerChain as IEnumerable but didn't do that for EstimatorChain? Does it sound like API flaw for you? |
Maybe, except, I can see a practical reason why one might want to iterate over There's also a question I have about this. In our world, models are transformers... that is, they are the result of fitting an estimator, you don't get estimators out of them. (I.e., I am also not a Nimbus expert, but what that function looks like is it takes a model and attempts to do a "code export" of the model... e.g., if you have a linear model, it might write out some easily cut/pastable code that performs that evaluation. It seems to be working via our But someone actually on Nimbus project might be able to provide better answers than this. |
Hey, someone summoned me! :) Actually, I think it was my omission: I should've made the estimator chain an enumerable. In documentation examples I struggle to remember a single case where we substantially utilized |
@nsulikowski Please reopen the issue if your question has not been answered. |
How can I access the list of estimators inside a pipeline?
I can see it as _estimators in the "Non-Public" area of the Locals window when I debug.
I'm trying to display the pipeline graphically (from c#) similar to the way NimbusML does
from nimbusml.utils.exports import dot_export_pipeline
dot_vis = dot_export_pipeline(pipeline, stream)
print(dot_vis)
I'm stuck at how to navigate the pipeline.
The text was updated successfully, but these errors were encountered: