Giter Club home page Giter Club logo

bhrnjica / daany Goto Github PK

View Code? Open in Web Editor NEW
56.0 8.0 5.0 11.26 MB

Daany - .NET DAta ANalYtics .NET library with the implementation of DataFrame, Time series decompositions and Linear Algebra routines BLASS and LAPACK.

Home Page: https://github.com/bhrnjica/daany

License: MIT License

C# 99.93% PowerShell 0.07%
data-frames series-decomposition data-transformation calculated-columns dataframe mlnet linear-algebra-routines series iris ssa

daany's People

Contributors

bhrnjica avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daany's Issues

Package Daany.DataFrame 1.2.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Daany.DataFrame 1.2.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

I am getting below error while installing the package in .Net interactive within Jupyter Notebook

Package Daany.DataFrame 1.2.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Daany.DataFrame 1.2.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

I have uninstalled .Net 5.0 from my system and installed .Net 6.0 fresh, still getting this error.

image

In control panel, there is only .Net 6.0
image

If you want, the notebook is available at https://github.com/praveenraghuvanshi/tech-sessions/blob/master/16062021-Global-AI-Community-2021/CricketAnalysis.ipynb

Let me know if you need more information.

DataFrame.ToCSV throwing InvalidCastException

Hi there,

when trying to save the dataframes in the "Predictive Maintenance in .NET" notebook, DataFrame.ToCsv throws an InvalidCastException from within the function; code is as follows:

//constructing the label column which indicate if the current machine will //fail in the next predTime` (24 hours as default) due to failur certain component.
//create final data frame from from feature df
var finalDf = new DataFrame(features_final);

//group failures by machineID and datetime
string[] cols = new string[] { "machineID" , "datetime"};
var failDfgrp = failures.GroupBy(cols);

//Add failure column to finalDF
finalDf.AddCalculatedColumn("failure", (object[]row, int i) => "none");
finalDf.RowCount();

DataFrame.ToCsv("../df1roll121212.txt", finalDf);
finalDf=DataFrame.FromCsv(@"../df1roll121212.txt");
`

And the stack trace:

Error: System.InvalidCastException: Invalid cast from 'Double' to 'DateTime'. at System.Double.System.IConvertible.ToDateTime(IFormatProvider provider) at Daany.DataFrame.ToCsv(String filePath, DataFrame dataFrame, Char delimiter, String dateFormat, Boolean writHeader) at Submission#70.<<Initialize>>d__0.MoveNext() --- End of stack trace from previous location --- at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray1 precedingExecutors, Func2 currentExecutor, StrongBox1 exceptionHolderOpt, Func2 catchExceptionOpt, CancellationToken cancellationToken)

Implementation of `Series` - one dimensional data representation

Currently Daany.DataFrame has stabilized and works well, so the next step is to provide 1D Series implementation mostly for time series data transformation and handling.

  • Series should have its own Index with the same implementation as in DataFrame.
  • Once the Series would have enough features, it will be merged with Daany.Stat project in order to implement much simpler usage of the current Time Series decomposition features and future implementation.

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.