Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2025

Updated Microsoft.ML from 1.7.1 to 4.0.2.

Release notes

Sourced from Microsoft.ML's releases.

4.0.2

ML.NET 4.0.2

Enhancements

  • [release/4.0] Support O3 OpenAI model mapping #​7395 (#​7395)

Build / Test updates

  • [release/4.0] Update dependencies from dotnet/arcade (#​7369)
  • [release/4.0] Update dependencies from dotnet/arcade (#​7377)
  • [release/4.0] Update dependencies from dotnet/arcade (#​7386)

4.0.1

ML.NET Servicing Release 4.0.1

Bug Fixes

  • Fix the BERT tokenizer to handle special tokens correctly. (#​7330) - Thanks @​shaltielshmid
  • Fix broken inheritance from DataFrameColumn class (#​7324) (#​7331) - Thanks @​asmirnov82!

Build / Test updates

  • Update System.Numerics.Tensors version (#​7322) (#​7355) - Thanks @​asmirnov82!
  • [release/4.0] Update dependencies from dotnet/arcade (#​7327)
  • Update MicrosoftExtensionsDependencyModelVersion (#​7342)

Documentation Updates

  • [release/4.0] Some tweaks to the Microsoft.ML.Tokenizers PACKAGE.md (#​7364)
  • [release/4.0] Fix up docs for MLContext (#​7363)

4.0.0-preview1

What's Changed

3.0.1

ML.NET 3.0.1

New Features

  • Add support for Apache.Arrow.Types.TimestampType to DataFrame (#​6871) - Thanks @​asmirnov82!

Enhancements

  • Update TorchSharp to latest version (#​6954)
  • Reorganize dataframe files (#​6872) - Thanks @​asmirnov82!
  • Add sample variance and standard deviation to NormalizeMeanVariance (#​6885) - Thanks @​tearlant!
  • Fixes NER to correctly expand/shrink the labels (#​6928)

Bug Fixes

  • Fix SearchSpace reference not being included (#​6951)
  • Rename NameEntity to NamedEntity (#​6917)
  • Fix assert by only accessing idx (#​6924)

Build / Test updates

  • Add Backport github workflow (#​6944)
  • Branding for 3.0.1 (#​6943)
  • Only use semi-colons for NoWarn - fixes build break (#​6935)
  • Update dependencies from dotnet/arcade (#​6703)
  • Update dependencies from dotnet/arcade (#​6957)
  • Migrate to the 'locker' GitHub action for locking closed/stale issues/PRs (#​6896)
  • Make double assertions compare with tolerance instead of precision (#​6923)
  • Don't include the SDK in our helix payload (#​6918)

Documentation Updates

  • Updated ml.net versioning (#​6907)
  • Update developer-guide.md (#​6870) - Thanks @​computerscienceiscool!
  • Update release-3.0.0.md (#​6895) - Thanks @​taeerhebend!

Breaking changes

  • Rename NameEntity to NamedEntity (#​6917)

3.0.0

ML.NET 3.0.0

New Features

  • Add the ability to use Object Detection using TorchSharp (#​6605) - We have added a new deep learning model back by TorchSharp that lets you fine tune your own Object Detection model!
  • Add SamplingKeyColumnName to AutoMLExperiment API (#​6649) - You can now set the SamplingKeyColumnName when you are using AutoML. Thanks @​torronen!
  • Add Object Detection to AutoML Sweeper (#​6633) - Added Object Detection to the AutoML Sweeper so now they can be used together.
  • Add String Vector support to DataFrame (#​6628) - Adds support for String Vectors in DataFrame. This also allows for Better IDataView <-> DataFrame conversions.
  • Add AutoZero tuner to BinaryClassification (#​6615) - Can now use AutoZero tuner in AutoML Binary Classification experiments.
  • Added in fairness assessment and mitigation (#​6539) - Support for fairness assessment and mitigation tool
  • Added in Support for some Intel OneDal Algorithms (#​6521) - You can now use Intel's OneDal for some algorithms. This gives you access to some accelerated versions of these algorithms. The models are fully interoperable between ML.NET's normal models and these, so you can train with OneDal and then still run on machines where OneDal is not supported. Thanks @​rgesteve!
  • Add in ability to have pre-defined weights for ngrams (#​6458) - If you know the weights of your NGrams already you can now directly provide that.
  • Add SentenceSimilarity sweepable estimator in AutoML (#​6445) - Can now use SentenceSimilarity with the sweepable estimator.
  • Add VBufferDataFrameCoumn to DataFrame (#​6409) - Now DataFrame can support the VBuffer from ML.NET so the IDataView <-> DataFrame conversion can work with those types.
  • Added ADO.NET importing/exporting functionality to DataFrame (#​5975) - Can now use ADO.NET import/export with DataFrames. Thanks @​andrei-faber!
  • Added native binaries for Windows Arm64 (#​6813) - This allows certain native transforms to be run on Widows Arm that were disabled before.
  • Switches some computational code to use the new Tensor Primitives package (#​6875)
  • Add QA sweepable estimator in AutoML (#​6781)
  • Add NameEntityRecognition and Q&A deep learning tasks. (#​6760)
  • Adds the ability to load a pre-trained LightGBM file and import it into ML.Net. (#​6569)

Enhancements

  • Expose ExperimentSettings.MaxModel as public (#​6663) - Exposes ExperimentSettings.MaxModel as public so now you can set the number of Max Models you want for an AutoML experiment.
  • Update to latest version of TorchSharp (#​6636) - Updated to the latest version of TorchSharp and fixed any breaking changes so we can take advantage of their new features and bug fixes.
  • Update to latest version of Onnx Runtime (#​6624) - Updated to the latest version of Onnx Runtime and fixed any breaking changes so we can take advantage of their new features and bug fixes.
  • Update ML.NET to compile with .NET8 (#​6641) - Removed some deprecated code now throws errors on .NET8 as well as other minor fixes to allow working/building with .NET8.
  • Added more logging to Object Detection (#​6646) - Added more logging while Object Detection is training so even if epochs take a long time you can be sure things are still moving.
  • Update timeout error message in AutoMLExperiment (#​6613) - Updated the error message so it is more clear what happened.
  • Add batchsize and arch to imageClassification SweepableTrainer (#​6597) - Added batchsize and arch to the ImageClassification SweepableTrainer so those can now be trained on.
  • Update max_model when trial fails (#​6596)
  • Add default search space for standard trainers (#​6576) - Added a default search space for all standard trainers so users have reasonable default values.
  • Adding more metrics to BinaryClassification Experiment (#​6571)
  • Add checkAlive in NasBertTrainer (#​6546) - Now we check between batches if cancellation was requested and stop processing if so.
  • OneDAL - Fallback to default implementation (#​6538) - If you specify you want to use OneDal but something happens that prevents you from using it, like it can't find the binaries/etc, it will auto default back to the normal implementation instead of crashing.
  • Add addKeyValueAnnotationsAsText flag in AutoML (#​6535)
  • Add continuous resource monitoring to AutoML.IMonitor (#​6520) - Thanks @​andrasfuchs!
  • Update WebClient to HttpClient implementations (#​6476) - Update the usage of WebClient to HttpClient since WebClient is now deprecated. Thanks @​rgesteve!
  • Set AutoML trial to unsuccess if trial loss is nan/inf (#​6430) - Now trial will be marked as unsuccesssful if the loss is an invalid number.
  • Add diskConvert option in fast tree search space (#​6316)
  • Avoid Boxing/Unboxing on accessing elements of VBufferDataFrameColumn (#​6867) and (#​6865) - Thanks @​asmirnov82!
  • Update LightGBM to version 3.X.X from 2.X.X (#​6880)
  • Implement vectorized binary arithmetic operations for DataFrames (#​6854) - Thanks @​asmirnov82!
  • Upgrade .NET Interactive (#​6857) - Thanks @​colombod!
  • Improve performance of column cloning inside DataFrame arithmetics (#​6814) - Thanks @​asmirnov82!
  • Add performance benchmarks for dataframe arithmetic operations (#​6827) - Thanks @​asmirnov82!
  • Simplify tt files for PrimitiveDataFrameColumnAritmetics (#​6830) - Thanks @​asmirnov82!
  • Improve performance of DataFrame binary comparison operations (#​6869) - Thanks @​asmirnov82!
  • Allow a CultureInfo to be used for parsing CSV values into DataFrame (#​6782) - Thanks @​asmirnov82!
  • File-scoped namespaces in files under Prediction (Microsoft.ML.Core) (#​6792) - Thanks @​Lehonti!
  • File-scoped namespaces in files under ComponentModel (Microsoft.ML.Core) (#​6788) - Thanks @​Lehonti!
  • File-scoped namespaces in files under Data (Microsoft.ML.Core) (#​6789) - Thanks @​Lehonti!
    ... (truncated)

3.0.0-Preview

ML.NET 3.0.0 Preview

New Features

  • Add the ability to use Object Detection using TorchSharp (#​6605) - We have added a new deep learning model back by TorchSharp that lets you fine tune your own Object Detection model!
  • Add SamplingKeyColumnName to AutoMLExperiment API (#​6649) - You can now set the SamplingKeyColumnName when you are using AutoML. Thanks @​torronen!
  • Add Object Detection to AutoML Sweeper (#​6633) - Added Object Detection to the AutoML Sweeper so now they can be used together.
  • Add String Vector support to DataFrame (#​6628) - Adds support for String Vectors in DataFrame. This also allows for Better IDataView <-> DataFrame conversions.
  • Add AutoZero tuner to BinaryClassification (#​6615) - Can now user AutoZero tuner in AutoML Binary Classification experiments.
  • Added in fairness assessment and mitigation (#​6539) - Support for fairness assessment and mitigation tool
  • Added in Support for some Intel OneDal Algorithms (#​6521) - You can now use Intel's OneDal for some algorithms. This gives you access to some accelerated versions of these algorithms. The models are fully interoperable between ML.NET's normal models and these, so you can train with OneDal and then still run on machines where OneDal is not supported. Thanks @​rgesteve!
  • Add in ability to have pre-defined weights for ngrams (#​6458) - If you know the weights of your NGrams already you can now directly provide that.
  • Add SentenceSimilarity sweepable estimator in AutoML (#​6445) - Can now use SentenceSimilarity with the sweepable estimator.
  • Add VBufferDataFrameCoumn to DataFrame (#​6445) - Now DataFrame can support the VBuffer from ML.NET so the IDataView <-> DataFrame conversion can work with those types.
  • Added ADO.NET importing/exporting functionality to DataFrame (#​5975) - Can now use ADO.NET import/export with DataFrames. Thanks @​andrei-faber!

Enhancements

  • Expose ExperimentSettings.MaxModel as public (#​6663) - Exposes ExperimentSettings.MaxModel as public so now you can set the number of Max Models you want for an AutoML experiment.
  • Update to latest version of TorchSharp (#​6636) - Updated to the latest version of TorchSharp and fixed any breaking changes so we can take advantage of their new features and bug fixes.
  • Update to latest version of Onnx Runtime (#​6624) - Updated to the latest version of Onnx Runtime and fixed any breaking changes so we can take advantage of their new features and bug fixes.
  • Update ML.NET to compile with .NET8 (#​6641) - Removed some deprecated code now throws errors on .NET8 as well as other minor fixes to allow working/building with .NET8.
  • Added more logging to Object Detection (#​6646) - Added more logging while Object Detection is training so even if epochs take a long time you can be sure things are still moving.
  • Update timeout error message in AutoMLExperiment (#​6613) - Updated the error message so it is more clear what happened.
  • Add batchsize and arch to imageClassification SweepableTrainer (#​6597) - Added batchsize and arch to the ImageClassification SweepableTrainer so those can now be trained on.
  • Update max_model when trial fails (#​6596)
  • Add default search space for standard trainers (#​6576) - Added a default search space for all standard trainers so users have reasonable default values.
  • Adding more metrics to BinaryClassification Experiment (#​6571)
  • Add checkAlive in NasBertTrainer (#​6546) - Now we check between batches if cancellation was requested and stop processing if so.
  • OneDAL - Fallback to default implementation (#​6538) - If you specify you want to use OneDal but something happens that prevents you from using it, like it can't find the binaries/etc, it will auto default back to the normal implementation instead of crashing.
  • Add addKeyValueAnnotationsAsText flag in AutoML (#​6535)
  • Add continuous resource monitoring to AutoML.IMonitor (#​6520) - Thanks @​andrasfuchs!
  • Update WebClient to HttpClient implementations (#​6476) - Update a usage of WebClient to HttpClient since WebClient is now deprecated. Thanks @​rgesteve!
  • Set AutoML trial to unsuccess if trial loss is nan/inf (#​6430) - Now trial will be marked as unsuccesssful if the loss is an invalid number.
  • Add diskConvert option in fast tree search space (#​6316)

Bug Fixes

  • Fix DataFrame ToString (#​6673) - Use correct alignment for columns to produce readable output when columns have longer names. Thanks @​asmirnov82!
  • Fix DataFrame null math (#​6661) - Fixes max in DataFrame columns when there are null values to match what Pandas does.
  • Clean up PrimitiveColumnContainer (#​6656) - Cleaned up the code in PrimitiveColumnContainer so its more correct and easier to use.
  • Fix Apply in PrimitiveColumnContainer (#​6642) - Fixes the Apply method so it no longer changes the source column. Thanks @​janholo!
  • Fix datetime null error (#​6627) - Fixes loading a null datetime from a database so it now returns correctly instead of throwing an error.
  • Fix AggregateTrainingStopManager is trying to cancel disposed tokens (#​6612) - Will no longer try and cancel already disposed tokens.
  • Fix tostring bug for sweepable pipeline (#​6610)
  • Change Test to Validate in Dataset manager (#​6599)
  • Fixed System.OperationCanceledException when calling experimentResult.BestRun.Estimator.Fit (#​6572)
  • Fixed cancellation bug in SweepablePipelineRunner && Fixed object null exception in AutoML v1.0 regression API (#​6560)
  • Fixed one dal dispatching issues (#​6547) - OneDal now dispatches correctly.
  • Fixed Multi-threaded access issue (#​6537) - Fixed a multi-threaded access issue for variable length string arrays in ONNX models.
  • Fixed AutoML experiments in non declarative style not working (#​6447)

Build / Test updates

... (truncated)

2.0.1-Preview

Minor update for 2.0.0 that introduces a new api for ProduceWordBag so you can pass in a column that already has the weights set.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.ML
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants