fetch_handwriting#

skfda.datasets.fetch_handwriting(*, return_X_y: Literal[False] = False, as_frame: bool = False) → Bunch[source]#
skfda.datasets.fetch_handwriting(*, return_X_y: Literal[True], as_frame: Literal[False] = False) → Tuple[FDataGrid, None]
skfda.datasets.fetch_handwriting(*, return_X_y: Literal[True], as_frame: Literal[True]) → Tuple[DataFrame, None]

Load the HANDWRIT dataset.

The data is obtained from the R package ‘fda’ from CRAN.

Data representing the X-Y coordinates along time obtained while writing the word “fda”. The sample contains 20 instances measured over 2.3 seconds that had been aligned for a better understanding. Each instance is formed by 1401 coordinate values Ramsay and Silverman (chapter 3) [1].

References

Parameters:
  • return_X_y (bool) – Return only the data and target as a tuple.

  • as_frame (bool) – Return the data in a Pandas Dataframe or Series.

Return type:

Bunch | Tuple[FDataGrid, None] | Tuple[DataFrame, None]