scikitplot.experimental#

Experimental submodules for Scikit-Plots.

This package contains optional or in-development modules that extend Scikit-Plots functionality in areas such as customer lifetime analytics, LLM-based components, and UI tooling. These modules are provided on an experimental basis and may change or be removed in future releases.

User guide. See the Experimental (experimental) section for further details.

enable_annoyknn_imputer

Enables AnnoyKNNImputer, IterativeAnnoyKNNImputer

sklearn’s pipeline.#

pipeline.

User guide. See the pipeline-index section for further details.

pipeline.pipeline

pipeline.py.

Musical note handling, synthesis, and notation.#

Doremi#

A modular Python toolkit for musical note processing, sound synthesis, and notation handling. Supports Western and solfège notation, tone generation, frequency mapping, waveform synthesis, and more.

See [1], [2], and [3] for model details.

Examples

>>> from scikitplot.experimental import _doremi as doremi
>>> doremi.compose_as_waveform()

References

User guide. See the Do-Re-Mi section for further details.

_doremi.ENVELOPES

Mapping of envelope types to amplitude-modulation functions.

_doremi.compose_as_waveform

Generate a concatenated waveform from a musical composition input.

_doremi.play_waveform

Play audio from a NumPy array using either IPython (for Jupyter) or sounddevice.

_doremi.plot_waveform

Plot the waveform of mono or multi-channel audio data.

_doremi.save_waveform

Save waveform to an audio file using specified or auto-selected backend.

_doremi.save_waveform_as_mp3

Save waveform as an MP3 file using pydub and ffmpeg, with support for mono or stereo.

_doremi.sheet_to_note

Convert input sheet (str/list/dict) to a list of (note, octave, duration).

_doremi.sheet_converter

Display parsed notes or note frequencies from a musical sheet.

_doremi.serialize_sheet

Serialize sheet notes to JSON or YAML string.

_doremi.export_sheet

Enable serialization of compositions or note sheets.

Large Language Models.#

llm_provider for Large Language Models.

User guide. See the LLM Provider (experimental) section for further details.