MatrixProfile 0.1.0-alpha.28
dotnet add package MatrixProfile --version 0.1.0-alpha.28
NuGet\Install-Package MatrixProfile -Version 0.1.0-alpha.28
<PackageReference Include="MatrixProfile" Version="0.1.0-alpha.28" />
paket add MatrixProfile --version 0.1.0-alpha.28
#r "nuget: MatrixProfile, 0.1.0-alpha.28"
// Install MatrixProfile as a Cake Addin
#addin nuget:?package=MatrixProfile&version=0.1.0-alpha.28&prerelease
// Install MatrixProfile as a Cake Tool
#tool nuget:?package=MatrixProfile&version=0.1.0-alpha.28&prerelease
MatrixProfile
MatrixProfile
is a .NET Standard 2.0 library for time series analysis through the matrix profile.
The name matrix profile refers to a data structure and the algorithms which produce it (currently only MPX in this library), developed by the Keogh and Mueen research groups at UC-Riverside and the University of New Mexico. The goal of this library is to make these algorithms accessible to both the novice and expert through standardization of core concepts, a simplistic API, and sensible default parameter values.
Installation
.NET CLI
To add MatrixProfile
to a project using the .NET CLI, run the command:
dotnet add package MatrixProfile --version 0.1.0-alpha.23
Be sure to replace 0.1.0-alpha.23
by the version you want to install.
Interactive
For interactive use, either in C# or F#, add the following directive to your script file or enter it into your REPL (e.g. dotnet fsi
):
#r "nuget: MatrixProfile, 0.1.0-alpha.23"
Be sure to replace 0.1.0-alpha.23
by the version you want to use.
Usage
The examples below are self-contained for interactive use, but are trivial to adjust for use in an application.
From F#
#r "nuget: MatrixProfile, 0.1.0-alpha.23"
open System
open MatrixProfile
let random = Random()
let noisySeries = [| for x in 0. .. 0.01 .. 4. * Math.PI -> sin x + random.NextDouble() |]
let noisyQuery = [| for x in 0. .. 0.01 .. Math.PI -> sin x + random.NextDouble() |]
MatrixProfile.similarityJoin noisySeries noisyQuery (Array.length noisyQuery) true 2
From C#
#r "nuget: MatrixProfile, 0.1.0-alpha.23"
using System;
using MatrixProfile;
var random = new Random();
var noisySeries = Enumerable.Range(0, 1257).Select(i => Math.Sin(i * 0.01) + random.NextDouble()).ToArray();
var noisyQuery = Enumerable.Range(0, 315).Select(i => Math.Sin(i * 0.01) + random.NextDouble()).ToArray();
MatrixProfile.SimilarityJoin(noisySeries, noisyQuery, noisyQuery.Count(), true, 2);
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 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 6.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.0-alpha.28 | 129 | 3/9/2022 |
0.1.0-alpha.23 | 104 | 3/8/2022 |
0.1.0-alpha.20 | 103 | 3/7/2022 |
0.1.0-alpha.19 | 109 | 3/7/2022 |