dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9.02k stars 1.88k forks source link

ML .Net integration with ef core #6931

Closed SyntaxEvg closed 7 months ago

SyntaxEvg commented 9 months ago

ML .Net integration with ef core for data generation based on msSql, and building models, так как ваш подход с ado net выдает иногда ошибки, котоые котоые котоые не пропустить не исправить, How do you convert what is the system or how do you know about dnSpy? My friend, how to realize the data of the ef core and train the model, based on this Each connection is more than 10 ml per line

SyntaxEvg commented 9 months ago

Stack Error

System.Data.SqlClient.SqlBuffer.get_String() System.Data.SqlClient.SqlDataReader.GetString(Int32 i) Microsoft.ML.Data.DatabaseLoader.Cursor.<>c__DisplayClass38_0.b__0(ReadOnlyMemory1& value) Microsoft.ML.Transforms.ValueToKeyMappingTransformer.Trainer.ImplOne1.ProcessRow() Microsoft.ML.Transforms.ValueToKeyMappingTransformer.Train(IHostEnvironment env, IChannel ch, ColInfo[] infos, IDataView keyData, ColumnOptionsBase[] columns, IDataView trainingData, Boolean autoConvert) в Microsoft.ML.Transforms.ValueToKeyMappingTransformer..ctor(IHostEnvironment env, IDataView input, ColumnOptionsBase[] columns, IDataView keyData, Boolean autoConvert) Microsoft.ML.Transforms.ValueToKeyMappingEstimator.Fit(IDataView input) Microsoft.ML.Data.EstimatorChain1.Fit(IDataView input) Microsoft.ML.Transforms.OneHotEncodingTransformer..ctor(ValueToKeyMappingEstimator term, IEstimator1 toVector, IDataView input) Microsoft.ML.Transforms.OneHotEncodingEstimator.Fit(IDataView input) Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input)

michaelgsharp commented 8 months ago

Can you please provide a sample project that reproduces your error?

ghost commented 8 months ago

This issue has been marked needs-author-action and may be missing some important information.

ghost commented 8 months ago

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

ghost commented 7 months ago

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.