MCPcopy Create free account

hub / github.com/MaxHalford/xgp / types & classes

Types & classes75 in github.com/MaxHalford/xgp

StructAbs
The Abs operator.
op/abs.go:9
StructAbsolutePearson
AbsolutePearson measures the ROC AUC score.
metrics/correlation.go:10
StructAccuracy
Accuracy measures the fraction of matches between true classes and predicted classes.
metrics/accuracy.go:5
StructAdd
The Add operator.
op/add.go:10
StructCodeDisplay
CodeDisplay outputs an code-like representation of an Operator.
op/display.go:66
TypeAliasConfusionMatrix
A ConfusionMatrix stores true positives (TP), true negatives (TN), false positives (FP) and false negatives (FN).
metrics/confusion_matrix.go:12
StructConst
The Const operator always returns the same value.
op/const.go:10
StructCos
The Cos operator.
op/cos.go:9
InterfaceCrossover
A Crossover takes two Operators and combines them in order to produce two new Operators.
crossover.go:11
InterfaceDiffMetric
A DiffMetric is a Metric that can compute element-wise gradients.
metrics/metric.go:15
StructDirDisplay
DirDisplay outputs a directory like representation of an Operator.
op/display.go:14
InterfaceDisplayer
A Displayer outputs a string representation of a Operator.
op/display.go:9
StructDiv
The Div operator.
op/div.go:6
StructF1
F1 measures the F1-score.
metrics/f1.go:4
StructFullInit
FullInit can generate an Operator of height maxHeight.
init.go:20
StructGP
An GP links all the different components together and can be used to train Programs on a dataset. You shouldn't instantiate this struct directly; inst
gp.go:19
StructGPConfig
A GPConfig contains all the information needed to instantiate an GP.
gp_config.go:17
StructGoldenLineSearch
GoldenLineSearch implements Golden-section line-search.
meta/line_search.go:14
StructGradientBoosting
GradientBoosting implements gradient boosting on top of genetic programming.
meta/gradient_boosting.go:15
StructGraphvizDisplay
GraphvizDisplay outputs a Graphviz representation of an Operator. Each branch is indexed with a global counter and is labelled with the Operator's Nam
op/display.go:42
StructGrowInit
GrowInit can generate an Operator who's depth lies in [MinHeight, MaxHeight].
init.go:38
StructHoistMutation
HoistMutation replaces an Operator by of it's operands.
mutation.go:32
StructIf
The If operator.
op/if.go:6
InterfaceInitializer
An Initializer generates a random Operator with random operands.
init.go:10
StructInv
The Inv operator.
op/inv.go:13
InterfaceLineSearcher
A LineSearcher finds a good enough step size to a gradient descent problem. f is the function we want to minimize given a step size.
meta/line_search.go:9
StructLogLoss
LogLoss implementes logistic loss.
metrics/log_loss.go:8
StructMAE
MAE measures the mean absolute error (MAE).
metrics/mae.go:6
StructMSE
MSE measures the mean squared error (MSE).
metrics/mse.go:6
StructMacroF1
MacroF1 measures the global F1 score.
metrics/f1.go:85
StructMacroPrecision
MacroPrecision measures the unweighted average precision across all classes. This does not take class imbalance into account.
metrics/precision.go:88
StructMacroRecall
MacroRecall measures the unweighted average recall across all classes. This does not take class imbalance into account.
metrics/recall.go:88
StructMax
The Max operator.
op/max.go:6
InterfaceMetric
A Metric metricuates the performance of a predictive model. yTrue, yPred, and weights should all have the same length. If weights is nil then uniform
metrics/metric.go:6
StructMicroF1
MicroF1 measures the global F1 score.
metrics/f1.go:48
StructMicroPrecision
MicroPrecision measures the global precision by using the total true positives and false positives.
metrics/precision.go:47
StructMicroRecall
MicroRecall measures the global recall by using the total true positives and false negatives.
metrics/recall.go:47
StructMin
The Min operator.
op/min.go:6
StructMul
The Mul operator.
op/mul.go:10
InterfaceMutator
A Mutator takes an Operator and returns a modified version of it.
mutation.go:10
StructNeg
The Neg operator.
op/neg.go:6
StructNegative
A Negative returns the negative output of a given Metric.
metrics/negative.go:6
InterfaceOperator
An Operator is a mathematical operator. It has operands that are themselves Operators.
op/operator.go:12
StructPointMutation
PointMutation randomly replaces Operators.
mutation.go:15
StructPrecision
Precision measures the fraction of times a class was correctly predicted.
metrics/precision.go:4
StructProgram
A Program is a thin layer on top of an Operator.
program.go:13
StructR2
R2 measures the coefficient of determination.
metrics/r2.go:6
StructRMSE
RMSE measures the root mean squared error (RMSE).
metrics/rmse.go:6
StructROCAUC
ROCAUC measures the ROC AUC score.
metrics/roc_auc.go:11
StructRampedHaldAndHalfInit
RampedHaldAndHalfInit randomly uses GrowInit and FullInit. If it uses FullInit then it uses a random height.
init.go:61
StructRecall
Recall measures the fraction of times a true class was predicted.
metrics/recall.go:4
StructSerialOp
op/serial.go:45
StructSin
The Sin operator.
op/sin.go:9
StructSquare
The Square operator.
op/square.go:9
StructSub
The Sub operator.
op/sub.go:10
StructSubtreeCrossover
SubtreeCrossover applies subtree crossover to two Operators.
crossover.go:16
StructSubtreeMutation
SubtreeMutation selects a suboperator at random and replaces it with a new Operator.
mutation.go:47
StructVar
The Var operator.
op/var.go:6
StructWeightedF1
WeightedF1 measures the weighted average F1 score across all classes. This does take class imbalance into account.
metrics/f1.go:123
StructWeightedPrecision
WeightedPrecision measures the weighted average precision across all classes. This does take class imbalance into account.
metrics/precision.go:126
StructWeightedRecall
WeightedRecall measures the weighted average recall across all classes. This does take class imbalance into account.
metrics/recall.go:126
StructerrClassNotFound
metrics/errors.go:14
StructerrMismatchedLengths
metrics/errors.go:5
StructerrUnknownFlavor
cmd/xgp/cmd/errors.go:5
StructerrUnknownMetric
metrics/errors.go:22
StructfitCmd
cmd/xgp/cmd/fit.go:16
StructgaModel
Custom genetic algorithm model.
ga.go:74
StructmetricTestCase
metrics/metric_test_case.go:9
Interfacemodel
cmd/xgp/cmd/model.go:3
StructpredictCmd
cmd/xgp/cmd/predict.go:14
StructscoreCmd
cmd/xgp/cmd/score.go:10
StructserialGradientBoosting
meta/gradient_boosting.go:341
StructserialModel
cmd/xgp/cmd/model.go:7
StructserialProgram
program.go:68
StructtoDOTCmd
cmd/xgp/cmd/todot.go:13