TrustIdentity.ML 1.0.2

dotnet add package TrustIdentity.ML --version 1.0.2
                    
NuGet\Install-Package TrustIdentity.ML -Version 1.0.2
                    
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="TrustIdentity.ML" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrustIdentity.ML" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="TrustIdentity.ML" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TrustIdentity.ML --version 1.0.2
                    
#r "nuget: TrustIdentity.ML, 1.0.2"
                    
#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.
#:package TrustIdentity.ML@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TrustIdentity.ML&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=TrustIdentity.ML&version=1.0.2
                    
Install as a Cake Tool

TrustIdentity.ML

Machine Learning integration using ML.NET


📦 Overview

TrustIdentity.ML provides ML.NET integration for machine learning capabilities in TrustIdentity, powering the AI fraud detection features.


✨ Features

  • ML.NET Integration - Microsoft ML.NET framework
  • Fraud Detection Models - Pre-trained models
  • Anomaly Detection - Isolation Forest algorithm
  • Behavioral Analysis - LSTM models
  • Model Training - Train custom models
  • Model Deployment - Deploy trained models

🚀 Installation

dotnet add package TrustIdentity.ML
dotnet add package Microsoft.ML

🔧 Usage

Basic Setup

using TrustIdentity.ML.Extensions;

builder.Services.AddTrustIdentity(options => { ... })
    .AddMLFraudDetection()
    .AddMLBehaviorAnalysis();

Train Custom Model

var mlContext = new MLContext();

// Load training data
var data = mlContext.Data.LoadFromTextFile<LoginAttempt>("training-data.csv", separatorChar: ',');

// Define pipeline
var pipeline = mlContext.Transforms.Concatenate("Features", "IpAddress", "Location", "TimeOfDay")
    .Append(mlContext.BinaryClassification.Trainers.FastTree());

// Train model
var model = pipeline.Fit(data);

// Save model
mlContext.Model.Save(model, data.Schema, "fraud-detection-model.zip");

📄 License

Apache 2.0 - See LICENSE

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TrustIdentity.ML:

Package Downloads
TrustIdentity.AI

AI-powered fraud detection and behavior analysis for TrustIdentity.

TrustIdentity.Server

Complete Enterprise IAM Server - OAuth 2.0, OIDC, SAML, WS-Fed

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 133 2/5/2026
1.0.1 114 2/4/2026
1.0.0 133 1/22/2026

- Full implementation of OAuth 2.0 and OpenID Connect 1.0.
     - Integrated SAML 2.0 and WS-Federation support.
     - Advanced AI/ML-driven fraud detection and behavioral analysis.
     - FAPI 1.0 & 2.0 (Security Profile) compliance.
     - Support for PKCE, DPoP, Mutual TLS, PAR, and JAR.
     - Entity Framework Core support for SQL Server, PostgreSQL, MySQL, and SQLite.
     - Multi-tenant isolation and Backend-for-Frontend (BFF) patterns.
     - Complete Admin UI and REST API for identity management.