Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ooples/aidotnet
A new library for all of the newest ai algorithms
https://github.com/ooples/aidotnet
ai aidotnet algorithm algorithms algos csharp csharp-code csharp-library dotnet machine-learning machine-learning-algorithms machinelearning neural-network neural-networks regression regression-algorithms regression-analysis regression-models
Last synced: about 1 month ago
JSON representation
A new library for all of the newest ai algorithms
- Host: GitHub
- URL: https://github.com/ooples/aidotnet
- Owner: ooples
- License: apache-2.0
- Created: 2023-09-12T02:41:18.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-10T08:57:28.000Z (5 months ago)
- Last Synced: 2024-10-12T14:21:00.547Z (about 1 month ago)
- Topics: ai, aidotnet, algorithm, algorithms, algos, csharp, csharp-code, csharp-library, dotnet, machine-learning, machine-learning-algorithms, machinelearning, neural-network, neural-networks, regression, regression-algorithms, regression-analysis, regression-models
- Language: C#
- Homepage:
- Size: 281 KB
- Stars: 21
- Watchers: 6
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[![CodeQL Analyis](https://github.com/ooples/AiDotNet/actions/workflows/codeql.yml/badge.svg)](https://github.com/ooples/AiDotNet/actions/workflows/codeql.yml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/59242b2fb53c4ffc871212d346de752f)](https://app.codacy.com/gh/ooples/AiDotNet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)## Ai.Net
This is a library (currently in preview) for getting the latest and greatest ai algorithms and bringing them directly to the .net community.
Our approach for this library was to both provide an easy way for beginners to be able to use AI/ML since it usually has a very steep learning curve,
and an easy way for expert level users to be able to fully customize everything about our algorithms. For now we are showcasing our simplified approach
by providing simple linear regression to get feedback on how we can improve our library.
We will be adding more algorithms in the future and we are open to any contributions to this library. Please let us know what you think about our approach.
We will be handling all ai algorithms using the same methods.### How to use this library
Here is an example to show how easy it is to use this library to get a trained model, get metrics for the trained model, and generate new predictions:
```cs
using AiDotNet.Regression;var inputs = new double[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
var outputs = new double[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };var simpleRegression = new SimpleRegression(inputs, outputs);
var metrics = simpleRegression.Metrics;
var predictions = simpleRegression.Predictions;
```Here is an example for more advanced users to customize everything used in the algorithm:
```cs
using AiDotNet.Regression;
using AiDotNet.Normalization;var inputs = new double[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
var outputs = new double[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };var advancedSimpleRegression = new SimpleRegression(inputs, outputs, new SimpleRegressionOptions()
{
TrainingPctSize = 20,
Normalization = new DecimalNormalization()
});
var metrics2 = advancedSimpleRegression.Metrics;
var predictions2 = advancedSimpleRegression.Predictions;
```