CuriousLib 3.3.0

dotnet add package CuriousLib --version 3.3.0
                    
NuGet\Install-Package CuriousLib -Version 3.3.0
                    
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="CuriousLib" Version="3.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CuriousLib" Version="3.3.0" />
                    
Directory.Packages.props
<PackageReference Include="CuriousLib" />
                    
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 CuriousLib --version 3.3.0
                    
#r "nuget: CuriousLib, 3.3.0"
                    
#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 CuriousLib@3.3.0
                    
#: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=CuriousLib&version=3.3.0
                    
Install as a Cake Addin
#tool nuget:?package=CuriousLib&version=3.3.0
                    
Install as a Cake Tool

Usage

To use this library, it is necessary to create an instance of DataSet collection

DataSet<T> "YourDataSetName" = new DataSet<T>();

DataSet collection class is inherited from .NET List collection class

public class DataSet<T> : List<T>

Class Structure

DataSet

Field Field Type Description
Pattern Property Gets or sets the pattern characteristic of a DataSet
MinimumValue Property Gets the minimum value of a DataSet
MaximumValue Property Gets the maximum value of a DataSet
Range Property Gets the range of a DataSet
Size Property Gets the size of a DataSet
Mean Property Gets the mean of a DataSet
Median Property Gets the median of a DataSet
Mode Property Gets the mode of a DataSet
StandartDeviation Property Gets the standart deviation of a DataSet
Skewness Property Gets the skewness of a DataSet
Kurtosis Property Gets the kurtosis of a DataSet
IsNormal Property Gets whether a dataset is normal distributed or not
IsUniform Property Gets whether a dataset is uniformly distributed or not
IsExponential Property Gets whether a dataset is exponentially distributed or not
CalculateZvalue Function Calculates the standart Z value for a given X value from a DataSet
Smooth Function Smooths a DataSet for a given alpha parameter
DetectOutliers Function Returns the outlier values of a DataSet
Normalize Function Normalizes a DataSet with min-max scaling
Standardize Function Standardizes a DataSet with Z values

StationaryDataSet : DataSet

Field Field Type Description
MovingAverages Function Conducts point estimation of selected index using n-step moving averages
ExponentialSmoothing Function Conducts point estimation of selected index using simple exponential smoothing with the alpha parameter

TrendingDataSet : DataSet

Field Field Type Description
Slope Property Gets the slope of a trending DataSet
Intercept Property Gets the intercept of a trending DataSet
LinearRegression Function Conducts point estimation of independent variable X using linear regression line
HoltsMethod Function Conducts point estimation of independent variable X using Holt's Method

SeasonalDataSet : DataSet

Field Field Type Description
NumberOfSeasons Property Gets or sets the number of seasons in a seasonal DataSet
SeasonSize Property Gets the size of each season in a seasonal DataSet
SeasonalFactors Property Gets the seasonal factors of a seasonal DataSet
SeasonalEstimate Function Conducts point estimation of independent variable X considering seasonality
SeasonalEstimateWithTrend Function Conducts point estimation of independent variable X considering seasonality and trend
Deseasonalize Function Removes the seasonal effect from a SeasonalDataSet

Miscellaneous.Measurements

Field Field Type Description
MeanAbsoluteError Function Returns the mean absolute forecast error of a DataSet
MeanSquaredError Function Returns the mean squared forecast error of a DataSet
Covariance Function Calculates covariance of two DataSets
Correlation Function Calculates coefficient of correlation between two DataSets
Rsquared Function Calculates coefficient of determination (R Squared) between two DataSets

Miscellaneous.Generators

Field Field Type Description
GeneratingFromDataGridView Function Generating collection members from WinForms DataGridView Control (+5 overloads)
GeneratingFromListBox Function Generating collection members from WinForms ListBox Control (+3 overloads)
GeneratingFromSQL Function Generating collection members from SQL Server (+5 overloads)
GeneratingFromAccessDB Function Generating collection members from MS Access Database (+5 overloads)

Clustering.Kmeans

Field Field Type Description
RunAlgorithm Function Executes K Means Clustering Algoritm
Report Function Generates an algorithm iteration report to a specified file path
Assignments Collection Collection that stores data point cluster center assignments
Iterations Collection Collection that stores iterations

Clustering.DataPoint

Field Field Type Description
ID Property Gets or sets the ID of a DataPoint
CoordinateX Property Gets or sets the X coordinate of a DataPoint
CoordinateY Property Gets or sets the Y coordinate of a DataPoint

Clustering.ClusterCenter

Field Field Type Description
ID Property Gets or sets the ID of a ClusterCenter
CoordinateX Property Gets or sets the X coordinate of a ClusterCenter
CoordinateY Property Gets or sets the Y coordinate of a ClusterCenter

Clustering.Iteration

Field Field Type Description
ID Property Gets or sets the ID of an Iteration
TentativeCluster Struct Tentative cluster structure belongs to an iteration
ClustersOfIteration Collection Collection that stores cluster assignments of an iteration

License

MIT

Used Technologies

Visual Studio
C#
.NET 9.0

Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible.  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

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
3.3.0 137 11/24/2024
3.2.0 128 11/24/2024
3.1.0 341 2/18/2023
3.0.0 485 10/23/2022
2.0.0 471 9/25/2022
1.3.0 485 9/11/2022
1.2.0 452 8/27/2022
1.1.0 476 5/29/2022
1.0.0 516 2/26/2022