Gdo.koryakinp
2.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Gdo.koryakinp --version 2.0.0
NuGet\Install-Package Gdo.koryakinp -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gdo.koryakinp" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Gdo.koryakinp --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Gdo.koryakinp, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Gdo.koryakinp as a Cake Addin #addin nuget:?package=Gdo.koryakinp&version=2.0.0 // Install Gdo.koryakinp as a Cake Tool #tool nuget:?package=Gdo.koryakinp&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Gdo
Gradient Descent Optimization algorithms for .NET Core
- Adagrad
- Adam
- Adadelta
- RMSprop
Installing
PM> Install-Package Gdo.koryakinp
Example
compute a deriviative dx
and provide it to Update()
method of the optimizer:
var opt1 = new Adagrad(0.1);
opt1.SetValue(10);
opt1.Update(dx);
var res1 = opt1.Value;
Adagrad
optimizer will use 0.1 learning rate to update the value.
Similarly you can use different optimizers:
Adam
var opt2 = new Adam(0.01, 100, 1000);
opt2.SetValue(10);
opt2.Update(dx);
var res2 = opt2.Value;
RMSprop
var opt3 = new RMSprop(0.1, 25);
opt3.SetValue(10);
opt3.Update(dx);
var res3 = opt3.Value;
Adadelta
var opt4 = new Adadelta(0.1, 25);
opt4.SetValue(10);
opt4.Update(dx);
var res4 = opt4.Value;
Authors
Pavel koryakin koryakinp@koryakinp.com
License
This project is licensed under the MIT License - see the LICENSE.md for details.
Acknowledgments
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Gdo.koryakinp:
Package | Downloads |
---|---|
Ann
Machine Learning library for .NET Core |
GitHub repositories
This package is not used by any popular GitHub repositories.
-changed Compute() to Update()
-added SetValue()