You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While our machinelearning-samples repo has F# samples, the ML.Net API documentation examples do not contain F# examples.
This is a work item to add F# examples to demonstrate API usage and to mirror what we have in C#.
Things that need to be understood:
Does our current documentation pipeline support another language (we support python and C#, can we add F# examples and have it work or is there some additional work that needs to be done? If so, lets create an issue -- following up with @JRAlexander and @natke)
If it is supported, is there a specific directory structure or other restrictions that need to be followed?
If there are sub-issues that need to be created, please use this as the global issue for tracking.
It would be great if these samples don't use the reflection-based API as the current machinelearning-samples unfortunately do (example). I.e. they should use IDataView directly.
I believe the reflection-based annotated record approach doesn't suit F# because typical F# is a more type safe than typical C#, direct code is more typical than automatic tools, and there is less need to support non-programmer or semi-programmer data-scientists who can use the default C#.
Activity
charlesroddie commentedon Jul 20, 2019
It would be great if these samples don't use the reflection-based API as the current machinelearning-samples unfortunately do (example). I.e. they should use IDataView directly.
I believe the reflection-based annotated record approach doesn't suit F# because typical F# is a more type safe than typical C#, direct code is more typical than automatic tools, and there is less need to support non-programmer or semi-programmer data-scientists who can use the default C#.
Kavignon commentedon Aug 25, 2019
what kind of examples would you like to see in the F# documentation? I feel this issue would be a good start with ML.NET for me :)
rosebyte commentedon Oct 23, 2026
Triage: we don't plan to extend F# support at the moment.