Cortex.ML
1.0.0
See the version list below for details.
dotnet add package Cortex.ML --version 1.0.0
NuGet\Install-Package Cortex.ML -Version 1.0.0
<PackageReference Include="Cortex.ML" Version="1.0.0" />
<PackageVersion Include="Cortex.ML" Version="1.0.0" />
<PackageReference Include="Cortex.ML" />
paket add Cortex.ML --version 1.0.0
#r "nuget: Cortex.ML, 1.0.0"
#:package Cortex.ML@1.0.0
#addin nuget:?package=Cortex.ML&version=1.0.0
#tool nuget:?package=Cortex.ML&version=1.0.0
Cortex.ML
Classical machine learning toolkit for Cortex with 25+ models, transformers, metrics, and BLAS acceleration.
Features
- 25+ ML models — linear/logistic regression, decision trees, SVM, k-NN, random forest, and more
- Feature engineering — encoders, scalers, imputers, and polynomial features
- Pipeline API — compose preprocessing and model steps into reproducible workflows
- Evaluation metrics — accuracy, precision, recall, F1, ROC-AUC, RMSE, and more
- BLAS-accelerated tensor operations for fast training
Installation
dotnet add package Cortex.ML
Quick Start
using Cortex;
using Cortex.ML;
var df = DataFrame.ReadCsv("iris.csv");
var (train, test) = df.TrainTestSplit(testFraction: 0.2);
var model = new RandomForestClassifier(nTrees: 100);
model.Fit(train.Drop("species"), train["species"]);
var predictions = model.Predict(test.Drop("species"));
Console.WriteLine($"Accuracy: {Metrics.Accuracy(test["species"], predictions):P2}");
Links
| Product | Versions 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. |
-
net10.0
- Cortex (>= 1.0.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Cortex.ML:
| Package | Downloads |
|---|---|
|
Cortex.SafeTensors
HuggingFace SafeTensors format reader/writer for Cortex: memory-mapped tensor loading, zero-copy access |
|
|
Cortex.ML.Onnx
ONNX Runtime inference bridge for Cortex DataFrames |
|
|
Cortex.Text
NLP pipeline for Cortex: tokenizers, text preprocessing, embeddings, text analytics |
|
|
Cortex.Vision
Image and video processing for Cortex: transforms, augmentation pipelines, data loaders, and model integration |
|
|
Cortex.GPU
GPU-accelerated operations for Cortex using ILGPU. Supports CUDA, OpenCL, and CPU fallback. |
GitHub repositories
This package is not used by any popular GitHub repositories.