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
Testing out ML.NET with the .NET Jupyter Kernel and when trying to use the context.Data.LoadFromTextFile it gives the below error:
Unhandled Exception: (1,12): error CS1929: 'DataOperationsCatalog' does not contain a definition for 'LoadFromTextFile' and the best extension method overload 'TextLoaderSaverCatalog.LoadFromTextFile<HousingData>(DataOperationsCatalog, string, char, bool, bool, bool, bool)' requires a receiver of type 'DataOperationsCatalog'
I tried to add the context.Data as the first parameter to see if that works, but that results in a different error, which I'm thinking is because the LoadFromTextFile is an extension method.
Unhandled Exception: (1,25): error CS1501: No overload for method 'LoadFromTextFile' takes 7 arguments
Is there any way to use methods like these in the .NET Kernel?
Describe the bug
Testing out ML.NET with the .NET Jupyter Kernel and when trying to use the
context.Data.LoadFromTextFile
it gives the below error:I tried to add the
context.Data
as the first parameter to see if that works, but that results in a different error, which I'm thinking is because theLoadFromTextFile
is an extension method.Is there any way to use methods like these in the .NET Kernel?
Full notebook can be found here, if needed.
Did this error occur while using
dotnet try
or online?dotnet-try
What kind of error was it?
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following:
The text was updated successfully, but these errors were encountered: