Skip to content

Releases: ActurialCapital/fold

0.1.2

15 Jul 14:13
Compare
Choose a tag to compare

Release 0.1.2

Description

In this release, we are excited to introduce a new plot functionality to our project. This feature allows users to generate and customize plots directly within the base application, enhancing data visualization and analysis capabilities. The new plot functionality is implemented through a function named plot, which leverages the Plotly library to create interactive and visually appealing chart.

Key Features and Improvements:

  1. Plot Functionality:

    • plot Function: A new function that generates plots using plotly.
    • Customization Options: Users can customize the plot by setting titles, axis labels, colors, and more.
    • Interactive Plots: The generated plots are interactive.
  2. Test:

    • Added tests in the test section in the repository.

Example

To use the new plot functionality, you can call the plot function as shown in the example below:

>>> import pandas as pd
>>> from fold import ExpandingNumberSplit
>>> index = pd.date_range("2010", "2024", freq="D")
>>> model = ExpandingNumberSplit(
...     index,
...     n=5,
...     min_length=360,
...     split=-180,
...     sample_labels=["IS", "OOS"],
... )

>>> # Generate a scatter plot
>>> fig = model.plot()

>>> # Show the plot
>>> fig.show()

0.1.1

24 Jun 07:26
Compare
Choose a tag to compare
Updagte Codecov

0.1.0

21 Jun 13:52
Compare
Choose a tag to compare

First release