Documentation
¶
Index ¶
- func Add(a, b vec64) vec64
- func BinaryCrossEntropy(X []vec64, y, w vec64, b, lambda float64) float64
- func ComputePredictMetrics(yhat, y vec64) (tp, tn, fp, fn float64)
- func Dot(a, b vec64) float64
- func LogisticRegressor(threshold float64) *model
- func RobustScaler() *robustScaler
- func SplitSample(X []vec64, y vec64, scale float64) ([]vec64, []vec64, vec64, vec64)
- func Subtract(a, b vec64) vec64
- func Transpose(v []vec64) []vec64
- func UploadDataset(path string, hasNamedCols bool) ([]vec64, vec64, error)
- func Vec[T string | numeric](x ...T) vec64
- type RegressionModel
- type Scaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryCrossEntropy ¶
func ComputePredictMetrics ¶
func ComputePredictMetrics(yhat, y vec64) (tp, tn, fp, fn float64)
func RobustScaler ¶
func RobustScaler() *robustScaler
func SplitSample ¶
func SplitSample(X []vec64, y vec64, scale float64) ([]vec64, []vec64, vec64, vec64)
func UploadDataset ¶
Types ¶
type RegressionModel ¶
Click to show internal directories.
Click to hide internal directories.