DVineStructure.from_json

DVineStructure.from_json(json: str, check: bool = True) pyvinecopulib.RVineStructure

Instantiates from a JSON-like str object.

Parameters:
  • input – The JSON-like str object to convert from (see to_json() for the structure of the input).

  • check – Whether to check if the input represents a valid R-vine structure.