Skip to content

hsstab

sgp.ui.tabs.hsstab.ANN

Bases: PredictionBase

Artificial Neural Network (ANN) model.

sgp.ui.tabs.hsstab.HSSTab

Bases: QWidget, QObject

Widget for displaying soil properties for the HSS model.

sgp.ui.tabs.hsstab.HSSTab.ann property

ann: ANN

Get the ann object.

sgp.ui.tabs.hsstab.HSSTab.io property

io: SGPIO

Get the io object.

sgp.ui.tabs.hsstab.HSSTab.mpd property

mpd: MPD

Get the mpd object.

sgp.ui.tabs.hsstab.HSSTab.addInputProperty

addInputProperty(key: str, **options) -> PropertyWidget

Add an input property to the list.

sgp.ui.tabs.hsstab.HSSTab.addOutputProperty

addOutputProperty(key: str, SpinBox: Type[QDoubleSpinBox] = QtWidgets.QDoubleSpinBox, **options) -> PropertyWidget

Add an output property to the list.

sgp.ui.tabs.hsstab.HSSTab.inputs

inputs() -> Dict[str, float]

Get the input properties.

sgp.ui.tabs.hsstab.HSSTab.soilType

soilType() -> Literal['黏土', '砂土']

Get the soil type.

sgp.ui.tabs.hsstab.HSSTab.updateOutputProperties

updateOutputProperties()

Update the output properties.

sgp.ui.tabs.hsstab.MPD

Bases: PredictionBase

Multivariate Distribution (MPD) model.

sgp.ui.tabs.hsstab.MPD.corr_bootstrap

corr_bootstrap(X: ndarray) -> ndarray

Calculate the correlation matrix.

sgp.ui.tabs.hsstab.MPD.dist

Get the distributional results.

sgp.ui.tabs.hsstab.MPD.fit

fit()

Fit the Johnson distribution to the data.

RETURNS DESCRIPTION
A tuple containing the distributions, the optimization results, the statistics, and the p-values.

sgp.ui.tabs.hsstab.MPD.optimize

optimize(df: DataFrame, *, method: Optimizers, **kwargs)

Optimize the z-value for the Johnson distribution.

sgp.ui.tabs.hsstab.Model

The prediction model

sgp.ui.tabs.hsstab.Model.__init__

__init__(io: SGPIO)

Initialize the model.

sgp.ui.tabs.hsstab.PropertyWidget

Bases: QWidget, QObject

Widget for displaying property items.

sgp.ui.tabs.hsstab.PropertyWidget.__init__

__init__(name: str, value: float, enabled: bool = None, parent=None, *args, SpinBox: Type[QDoubleSpinBox] = QtWidgets.QDoubleSpinBox, **kwargs)

Initialize the PropertyWidget.

sgp.ui.tabs.hsstab.PropertyWidget.isEnabled

isEnabled() -> bool

Get whether the PropertyWidget is enabled.

sgp.ui.tabs.hsstab.PropertyWidget.setOptions

setOptions(**options)

Set the options of the PropertyWidget.

sgp.ui.tabs.hsstab.PropertyWidget.setValue

setValue(value: float)

Set the value of the PropertyWidget.

sgp.ui.tabs.hsstab.PropertyWidget.value

value() -> float

Get the value of the PropertyWidget.

sgp.ui.tabs.hsstab.SGPIO

sgp.ui.tabs.hsstab.ScientificDoubleSpinBox

Bases: QDoubleSpinBox, QObject

A QDoubleSpinBox that displays floats in scientific notation.