public function export_model(string $zipfilename, bool $includeweights = true) : string {

        \core_analytics\manager::check_can_manage_models();

        $modelconfig = new model_config($this);
        return $modelconfig->export($zipfilename, $includeweights);
    }
public function export_model(string $zipfilename, bool $includeweights = true) : string {

        \core_analytics\manager::check_can_manage_models();

        $modelconfig = new model_config($this);
        return $modelconfig->export($zipfilename, $includeweights);
    }
public function export_model ( string $ zipfilename , bool $ includeweights = true ) : string { \ core_analytics \ manager :: check_can_manage_models ( ) ; $ modelconfig = new model_config ( $ this ) ; return $ modelconfig -> export ( $ zipfilename , $ includeweights ) ; }
Exports the model data to a zip file.

@param string $zipfilename
@param bool $includeweights Include the model weights if available
@return string Zip file path
Exports the model data to a zip file .