Code Monkey home page Code Monkey logo

timeseries's Introduction

img|300x200

TimeSeries

.NET Coverage Status nuget CodeQL

Version Package Description
NuGet Package ManagedCode.TimeSeries Core

Motivation

Time series data is a common type of data in many applications, such as finance, physics, and engineering. It is often necessary to store and manipulate large amounts of time series data efficiently in order to perform analysis and make predictions.

Our C# library, TimeSeries, provides convenient tools for working with time series data in C#. It includes classes for accumulating and summarizing data in time frames, as well as storing and compressing the data efficiently. This makes it easy to add and manage time series data in your C# projects.

Features

  • Accumulators for adding data to time frames.
  • Summers for summarizing data in time frames.
  • Efficient storage and compression of time series data.

Example

Here's an example of how you might use the TimeSeries library to accumulate and summarize data in a time frame:

using ManagedCode.TimeSeries;

var series = new IntTimeSeriesAccumulator(TimeSpan.FromSeconds(5)); // step
for (int i = 0; i < count; i++)
{
    series.AddNewData(i);
}
using ManagedCode.TimeSeries;

var series = new IntTimeSeriesAccumulator(TimeSpan.FromSeconds(0.1));
for (var i = 0; i < 1000; i++)
{
    await Task.Delay(new Random().Next(1, 5));
    series.AddNewData(i);
}

series.DataCount; // 1000

Installation

To install the TimeSeries library, you can use NuGet:

dotnet add package ManagedCode.TimeSeries

Conclusion In summary, the TimeSeries library provides convenient tools for working with time series data in C#. Its accumulators and summers make it easy to add and summarize data in time frames, and its efficient storage and compression capabilities ensure.

timeseries's People

Contributors

dtymakhov avatar ksemenenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.