Skip to content

Add Deedle.Math as separate package#475

Merged
zyzhu merged 22 commits intofslaborg:masterfrom
zyzhu:math-branch
Nov 5, 2019
Merged

Add Deedle.Math as separate package#475
zyzhu merged 22 commits intofslaborg:masterfrom
zyzhu:math-branch

Conversation

@zyzhu
Copy link
Copy Markdown
Contributor

@zyzhu zyzhu commented May 10, 2019

Related to discussion #423

My thoughts:

  1. Keep the current code in Stats module intact to prevent any breaking changes for now. When Deedle.Math is more mature, we can add Deprecated messages to functions in Stats module until we take it away. Or we could just keep it this way as native implementation does not require external dependency on Math.Net.
  2. Provide relevant functionalities that exist in Math.Net

There are some great prototypes on linear regression, PCA and ACF that @Ildhesten has written in Deedle.Extra repo. Will port them here in Deedle.Math. https://github.com/Ildhesten/Deedle.Extras/

@Ildhesten
Copy link
Copy Markdown

Hi there.

Great idea with a Deedle.Math package. Feel free to use whatever you can from my repo, and let me know if there is any way I can help out.

@zyzhu
Copy link
Copy Markdown
Contributor Author

zyzhu commented Nov 5, 2019

This pull is already big enough. It added a few items that can be expanded more in the future.

  1. Matrix dot functions and extensions between Frame, Series, Matrix and Vector. It is similar to dot operation in pandas.
    https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.dot.html
  2. Apply existing linear algebra functions from MathNet.Numerics on Frame
  3. Descriptive stats function and covariance and correlation functions on Frame and Series
  4. A new Finance module for specific functions related to finance domain, such as ewmVol and ewmCov using RiskMetrics methods.

As for linear regression, I think a function similar to lm in R is very useful. It requires more thoughts on how to implement it.
https://www.rdocumentation.org/packages/stats/versions/3.6.1/topics/lm

PCA and more time series analysis can be further developed in future pulls.

@zyzhu zyzhu changed the title [WIP] Add Deedle.Math as separate package Add Deedle.Math as separate package Nov 5, 2019
@zyzhu zyzhu merged commit 017150a into fslaborg:master Nov 5, 2019
@zyzhu zyzhu deleted the math-branch branch November 13, 2019 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants