
FSharp.Stats contains a collection for assessing both binary and multi-label comparisons, for example the results of a binary/multi-label classification or the results of a statistical test.
Usually, using the functions provided by the ComparisonMetrics module should be enough, but for clarity this documentation also introduces the BinaryConfusionMatrix and MultiLabelConfusionMatrix types that are used to derive the ComparisonMetrics.
See also: https://en.wikipedia.org/wiki/Confusion_matrix
Confusion matrices can be used to count and visualize the outcomes of a prediction against the actual 'true' values and therefore assess the prediction quality.
Each row of the matrix represents the instances in an actual class while each column represents the instances in a predicted class, or vice versa. The name stems from the fact that it makes it easy to see whether the system is confusing two classes (i.e. commonly mislabeling one as another).
A binary confusion matrix is a special kind of contingency table, with two dimensions ("actual" and "predicted"), and identical sets of "classes" in both dimensions (each combination of dimension and class is a variable in the contingency table).
let for example the actual labels be the set
\[actual = (1,1,1,1,0,0,0)\]
and the predictions
\[predicted = (1,1,1,0,1,0,0)\]
a binary confusion matrix can be filled by comparing actual and predicted values at their respective indices:
|
|
True |
False |
Actual |
True |
3 |
1 |
|
False |
1 |
2 |
A whole array of prediction/test evaluation metrics can be derived from binary confusion matrices, which are all based on the 4 values of the confusion matrix:
- TP (True Positives, the actual true labels predicted correctly as true)
- TN (True Negatives, the actual false labels predicted correctly as false)
- FP (False Positives, the actual false labels incorrectly predicted as true)
- TP (False Negatives, the actual true labels incorrectly predicted as false)
|
|
True |
False |
Actual |
True |
TP |
FN |
|
False |
FP |
TN |
These 4 base metrics are in principle what comprises the record type BinaryConfusionMatrix.
A BinaryConfusionMatrix can be created in various ways :
- from predictions and actual labels of any type using
BinaryConfusionMatrix.fromPredictions, additionally passing which label is the "positive" label
let actual = [1;1;1;1;0;0;0]
let predicted = [1;1;1;0;1;0;0]
open FsMath
open FSharp.Stats.Testing
BinaryConfusionMatrix.ofPredictions(1,actual,predicted)
{ TP = 3
TN = 2
FP = 1
FN = 1 }
|
- from boolean predictions and actual labels using
BinaryConfusionMatrix.fromPredictions
let actualBool = [true;true;true;true;false;false;false]
let predictedBool = [true;true;true;false;true;false;false]
BinaryConfusionMatrix.ofPredictions(actualBool,predictedBool)
{ TP = 3
TN = 2
FP = 1
FN = 1 }
|
- directly from obtained TP/TN/FP/FN values using
BinaryConfusionMatrix.create
BinaryConfusionMatrix.create(tp=3,tn=2,fp=1,fn=1)
{ TP = 3
TN = 2
FP = 1
FN = 1 }
|
There are more things you can do with BinaryConfusionMatrix, but most use cases are covered and abstracted by ComparisonMetrics (see below).
Confusion matrix is not limited to binary classification and can be used in multi-class classifiers as well, increasing both dimensions by the amount of additional labels.
let for example the actual labels be the set
\[actual = (A,A,A,A,A,B,B,B,C,C,C,C,C,C)\]
and the predictions
\[predicted = (A,A,A,B,C,B,B,A,C,C,C,C,A,A)\]
a multi-label confusion matrix can be filled by comparing actual and predicted values at their respective indices:
|
|
Label A |
Label B |
Label C |
Actual |
Label A |
3 |
1 |
1 |
|
Label B |
1 |
2 |
0 |
|
Label C |
2 |
0 |
4 |
A MultiLabelConfusionMatrix can be created either
- from the labels and a confusion matrix (
Matrix<int>, note that the index in the label array will be assigned for the column/row indices of the matrix, and that the matrix must be square and of the same dimensions as the label array)
open FSharp.Stats
let mlcm =
MultiLabelConfusionMatrix.create(
labels = [|"A"; "B"; "C"|],
confusion =(
[
[3; 1; 1]
[1; 2; 0]
[2; 0; 4]
]
|> array2D
|> Matrix.ofArray2D
)
)
- from predictions and actual labels of any type using
MultiLabelConfusionMatrix.ofPredictions, additionally passing the labels
MultiLabelConfusionMatrix.ofPredictions(
labels = [|"A"; "B"; "C"|],
actual = [|"A"; "A"; "A"; "A"; "A"; "B"; "B"; "B"; "C"; "C"; "C"; "C"; "C"; "C"|],
predictions = [|"A"; "A"; "A"; "B"; "C"; "B"; "B"; "A"; "C"; "C"; "C"; "C"; "A"; "A"|]
)
{ Labels = [|"A"; "B"; "C"|]
Confusion =
Matrix 3x3:
┌ ──┼───┼── ┐
│ 3 │ 1 │ 1 │
│ 1 │ 2 │ 0 │
│ 2 │ 0 │ 4 │
└ ──┼───┼── ┘
}
|
It is however not as easy to extract comparable metrics directly from this matrix.
Therefore, multi-label classification are most often compared using one/all-vs-rest and micro/macro averaging of metrics.
It is possible to derive binary one-vs-rest confusion matrices to evaluate prediction metrics of individual labels from a multi-label confusion matrix.
This is done by taking all occurences of the label in the actual labels as positive values, and all other label occurences as negatives. The same is done for the prediction vector.
As an example, the derived binary confusion matrix for Label A in above example would be:
|
|
is A |
is not A |
Actual |
is A |
3 |
2 |
|
is not A |
3 |
6 |
Programmatically, this can be done via MultiLabelConfusionMatrix.oneVsRest
mlcm
|> MultiLabelConfusionMatrix.oneVsRest "A"
{ TP = 3
TN = 6
FP = 3
FN = 2 }
|
Binary confusion matrices for all labels can be obtained by MultiLabelConfusionMatrix.allVsAll
mlcm
|> MultiLabelConfusionMatrix.allVsAll
|> Array.iter (fun (label, cm) -> printf $"{label}:\n{cm}\n")
A:
{ TP = 3
TN = 6
FP = 3
FN = 2 }
B:
{ TP = 2
TN = 10
FP = 1
FN = 1 }
C:
{ TP = 4
TN = 7
FP = 1
FN = 2 }
|
Comparison Metrics is a record type that contains (besides other things) the 21 metric shown in the table below.
It also provides static methods to perform calculation of individual metrics derived from a BinaryConfusionMatrix via the ComparisonMetrics.calculate<Metric> functions:
You can create the ComparisonMetrics record in various ways:
- directly from obtained TP/TN/FP/FN values using
ComparisonMetrics.create
ComparisonMetrics.create(3,2,1,1)
- From a
BinaryConfusionMatrix using ComparisonMetrics.create
let bcm = BinaryConfusionMatrix.ofPredictions(1,actual,predicted)
ComparisonMetrics.create(bcm)
- from predictions and actual labels of any type using
ComparisonMetrics.ofBinaryPredictions, additionally passing which label is the "positive" label
ComparisonMetrics.ofBinaryPredictions(1,actual,predicted)
- from boolean predictions and actual labels using
BinaryConfusionMatrix.ofBinaryPredictions
ComparisonMetrics.ofBinaryPredictions(actualBool, predictedBool)
{ P = 4.0
N = 3.0
SampleSize = 7.0
TP = 3.0
TN = 2.0
FP = 1.0
FN = 1.0
Sensitivity = 0.75
Specificity = 0.6666666667
Precision = 0.75
NegativePredictiveValue = 0.6666666667
Missrate = 0.25
FallOut = 0.3333333333
FalseDiscoveryRate = 0.25
FalseOmissionRate = 0.3333333333
PositiveLikelihoodRatio = 2.25
NegativeLikelihoodRatio = 0.375
PrevalenceThreshold = 0.4
ThreatScore = 0.6
Prevalence = 0.5714285714
Accuracy = 0.7142857143
BalancedAccuracy = 0.7083333333
F1 = 0.75
PhiCoefficient = 0.4166666667
FowlkesMallowsIndex = 0.75
Informedness = 0.4166666667
Markedness = 0.4166666667
DiagnosticOddsRatio = 6.0 }
|
see also: https://cran.r-project.org/web/packages/yardstick/vignettes/multiclass.html
To evaluate individual label prediction metrics, you can create comparison metrics for each individual label confusion matrix obtained by MultiLabelConfusionMatrix.allVsAll:
mlcm
|> MultiLabelConfusionMatrix.allVsAll
|> Array.map (fun (label,cm) -> label, ComparisonMetrics.create(cm))
|> Array.iter(fun (label,metrics) -> printf $"Label {label}:\n\tSpecificity:%.3f{metrics.Specificity}\n\tAccuracy:%.3f{metrics.Accuracy}\n")
Label A:
Specificity:0.667
Accuracy:0.643
Label B:
Specificity:0.909
Accuracy:0.857
Label C:
Specificity:0.875
Accuracy:0.786
|
Macro averaging averages the metrics obtained by calculating the metric of interest for each one-vs-rest binary confusion matrix created from the multi-label confusion matrix..
So if you for example want to calculate the macro-average Sensitivity(TPR) \(TPR_{macro}\) of a multi-label prediction, this is obtained by averaging the \(TPR_i\) of each individual one-vs-rest label prediction for all \(i = 1 .. k\) labels:
\[TPR_{macro} = \frac1k\sum_{i=1}^{k}TPR_i\]
macro average metrics can be obtained either from multiple metrics, a multi-label confusion matrix, or a sequence of binary confusion matrices
ComparisonMetrics.macroAverage([ComparisonMetrics.create(3,6,3,2); ComparisonMetrics.create(2,10,1,1); ComparisonMetrics.create(4,7,1,2)] )
ComparisonMetrics.macroAverage(mlcm)
ComparisonMetrics.macroAverage(mlcm |> MultiLabelConfusionMatrix.allVsAll |> Array.map snd)
or directly from predictions and actual labels of any type using ComparisonMetrics.macroAverageOfMultiLabelPredictions, additionally passing the labels
ComparisonMetrics.macroAverageOfMultiLabelPredictions(
labels = [|"A"; "B"; "C"|],
actual = [|"A"; "A"; "A"; "A"; "A"; "B"; "B"; "B"; "C"; "C"; "C"; "C"; "C"; "C"|],
predictions = [|"A"; "A"; "A"; "B"; "C"; "B"; "B"; "A"; "C"; "C"; "C"; "C"; "A"; "A"|]
)
{ P = 4.666666667
N = 9.333333333
SampleSize = 14.0
TP = 3.0
TN = 7.666666667
FP = 1.666666667
FN = 1.666666667
Sensitivity = 0.6444444444
Specificity = 0.8169191919
Precision = 0.6555555556
NegativePredictiveValue = 0.8122895623
Missrate = 0.3555555556
FallOut = 0.1830808081
FalseDiscoveryRate = 0.3444444444
FalseOmissionRate = 0.1877104377
PositiveLikelihoodRatio = 4.822222222
NegativeLikelihoodRatio = 0.4492063492
PrevalenceThreshold = 0.3329688981
ThreatScore = 0.4821428571
Prevalence = 0.3333333333
Accuracy = 0.7619047619
BalancedAccuracy = 0.7306818182
F1 = 0.6464646465
PhiCoefficient = 0.4644624644
FowlkesMallowsIndex = 0.6482286558
Informedness = 0.4613636364
Markedness = 0.4678451178
DiagnosticOddsRatio = 12.33333333 }
|
Micro aggregates the one-vs-rest binary confusion matrices created from the multi-label confusion matrix, and then calculates the metric from the aggregated (TP/TN/FP/FN) values.
So if you for example want to calculate the micro-average Sensitivity(TPR) \(TPR_{micro}\) of a multi-label prediction, this is obtained by summing each individual one-vs-rest label prediction's \(TP\) and \(TN\) and obtaining \(TPR_{micro}\) by
\[TPR_{micro} = \frac{TP_1 + TP_2 .. + TP_k}{(TP_1 + TP_2 .. + TP_k)+(TN_1 + TN_2 .. + TN_k)}\]
micro average metrics can be obtained either from multiple binary confusion matrices or a multi-label confusion matrix
ComparisonMetrics.microAverage([BinaryConfusionMatrix.create(3,6,3,2); BinaryConfusionMatrix.create(2,10,1,1); BinaryConfusionMatrix.create(4,7,1,2)] )
ComparisonMetrics.microAverage(mlcm)
or directly from predictions and actual labels of any type using ComparisonMetrics.macroAverageOfMultiLabelPredictions, additionally passing the labels
ComparisonMetrics.microAverageOfMultiLabelPredictions(
labels = [|"A"; "B"; "C"|],
actual = [|"A"; "A"; "A"; "A"; "A"; "B"; "B"; "B"; "C"; "C"; "C"; "C"; "C"; "C"|],
predictions = [|"A"; "A"; "A"; "B"; "C"; "B"; "B"; "A"; "C"; "C"; "C"; "C"; "A"; "A"|]
)
{ P = 14.0
N = 28.0
SampleSize = 42.0
TP = 9.0
TN = 23.0
FP = 5.0
FN = 5.0
Sensitivity = 0.6428571429
Specificity = 0.8214285714
Precision = 0.6428571429
NegativePredictiveValue = 0.8214285714
Missrate = 0.3571428571
FallOut = 0.1785714286
FalseDiscoveryRate = 0.3571428571
FalseOmissionRate = 0.1785714286
PositiveLikelihoodRatio = 3.6
NegativeLikelihoodRatio = 0.4347826087
PrevalenceThreshold = 0.3451409985
ThreatScore = 0.4736842105
Prevalence = 0.3333333333
Accuracy = 0.7619047619
BalancedAccuracy = 0.7321428571
F1 = 0.6428571429
PhiCoefficient = 0.4642857143
FowlkesMallowsIndex = 0.6428571429
Informedness = 0.4642857143
Markedness = 0.4642857143
DiagnosticOddsRatio = 8.28 }
|
Predictions usually have a confidence or score attached, which indicates how "sure" the predictor is to report a label for a certain input.
Predictors can be compared by comparing the relative frequency distributions of metrics of interest for each possible (or obtained) confidence value.
Two prominent examples are the Receiver Operating Characteristic (ROC) or the Precision-Recall metric
ComparisonMetrics.binaryThresholdMap(
[true;true;true;true;false;false;false],
[0.9 ;0.6 ;0.7 ; 0.2 ; 0.7; 0.3 ; 0.1]
)
|> Array.iter (fun (threshold,cm) -> printf $"Threshold {threshold}:\n\tSensitivity: %.2f{cm.Sensitivity}\n\tPrecision : %.2f{cm.Precision}\n\tFallout : %.2f{cm.FallOut}\n\tetc...\n")
Threshold 1.9:
Sensitivity: 0.00
Precision : NaN
Fallout : 0.00
etc...
Threshold 0.9:
Sensitivity: 0.25
Precision : 1.00
Fallout : 0.00
etc...
Threshold 0.7:
Sensitivity: 0.50
Precision : 0.67
Fallout : 0.33
etc...
Threshold 0.6:
Sensitivity: 0.75
Precision : 0.75
Fallout : 0.33
etc...
Threshold 0.3:
Sensitivity: 0.75
Precision : 0.60
Fallout : 0.67
etc...
Threshold 0.2:
Sensitivity: 1.00
Precision : 0.67
Fallout : 0.67
etc...
Threshold 0.1:
Sensitivity: 1.00
Precision : 0.57
Fallout : 1.00
etc...
|
ComparisonMetrics.multiLabelThresholdMap(
actual =
[|"A"; "A"; "A"; "A"; "A"; "B"; "B"; "B"; "C"; "C"; "C"; "C"; "C"; "C"|],
predictions = [|
"A", [|0.8; 0.7; 0.9; 0.4; 0.3; 0.1; 0.3; 0.5; 0.1; 0.1; 0.1; 0.3; 0.5; 0.4|]
"B", [|0.0; 0.2; 0.0; 0.5; 0.1; 0.8; 0.7; 0.4; 0.0; 0.1; 0.1; 0.0; 0.1; 0.3|]
"C", [|0.2; 0.3; 0.1; 0.1; 0.6; 0.1; 0.1; 0.1; 0.9; 0.8; 0.8; 0.7; 0.4; 0.3|]
|]
)
A receiver operating characteristic curve, or ROC curve, is a graphical plot that illustrates the diagnostic ability of a binary classifier system as its discrimination threshold is varied.
The ROC curve is created by plotting the true positive rate (TPR, sensitivity) against the false positive rate (FPR, fallout) at various threshold settings
When using normalized units, the area under the curve (often referred to as simply the AUC) is equal to the probability that a classifier will rank a randomly chosen positive instance higher than a randomly chosen negative one (assuming 'positive' ranks higher than 'negative').
In other words, when given one randomly selected positive instance and one randomly selected negative instance, AUC is the probability that the classifier will be able to tell which one is which.
open Plotly.NET
open Plotly.NET.LayoutObjects
open FSharp.Stats.Integration
let binaryROC =
ComparisonMetrics.calculateROC(
[true;true;true;true;false;false;false],
[0.9 ;0.6 ;0.7 ; 0.2 ; 0.7; 0.3 ; 0.1]
)
let auc = binaryROC |> NumericalIntegration.definiteIntegral Trapezoidal
let binaryROCChart =
[
Chart.Line(binaryROC, Name= $"2 label ROC, AUC = %.2f{auc}")
|> Chart.withLineStyle(Shape = StyleParam.Shape.Vh)
Chart.Line([0.,0.; 1.,1.0], Name = "no skill", LineDash = StyleParam.DrawingStyle.Dash, LineColor = Color.fromKeyword Grey)
]
|> Chart.combine
|> Chart.withTemplate ChartTemplates.lightMirrored
|> Chart.withLegend(Legend.init(XAnchor=StyleParam.XAnchorPosition.Right, YAnchor=StyleParam.YAnchorPosition.Bottom, X = 0.5, Y = 0.1))
|> Chart.withXAxisStyle("TPR", MinMax=(0.,1.))
|> Chart.withYAxisStyle("FPR", MinMax=(0.,1.))
|> Chart.withTitle "Binary receiver operating characteristic example"
let multiLabelROC =
ComparisonMetrics.calculateMultiLabelROC(
actual = [|"A"; "A"; "A"; "A"; "A"; "B"; "B"; "B"; "C"; "C"; "C"; "C"; "C"; "C"|],
predictions = [|
"A", [|0.8; 0.7; 0.9; 0.4; 0.3; 0.1; 0.2; 0.5; 0.1; 0.1; 0.1; 0.3; 0.5; 0.4|]
"B", [|0.0; 0.1; 0.0; 0.5; 0.1; 0.8; 0.7; 0.4; 0.0; 0.1; 0.1; 0.0; 0.1; 0.3|]
"C", [|0.2; 0.2; 0.1; 0.1; 0.6; 0.1; 0.1; 0.1; 0.9; 0.8; 0.8; 0.7; 0.4; 0.3|]
|]
)
let aucMap =
multiLabelROC
|> Map.map (fun label roc -> roc |> NumericalIntegration.definiteIntegral Trapezoidal)
let multiLabelROCChart =
[
yield!
multiLabelROC
|> Map.toArray
|> Array.map (fun (label,roc) ->
Chart.Line(roc, Name= $"{label} ROC, AUC = %.2f{aucMap[label]}")
|> Chart.withLineStyle(Shape = StyleParam.Shape.Vh)
)
Chart.Line([0.,0.; 1.,1.0], Name = "no skill", LineDash = StyleParam.DrawingStyle.Dash, LineColor = Color.fromKeyword Grey)
]
|> Chart.combine
|> Chart.withTemplate ChartTemplates.lightMirrored
|> Chart.withLegend(Legend.init(XAnchor=StyleParam.XAnchorPosition.Right, YAnchor=StyleParam.YAnchorPosition.Bottom, X = 0.5, Y = 0.1))
|> Chart.withXAxisStyle("TPR", MinMax=(0.,1.))
|> Chart.withYAxisStyle("FPR", MinMax=(0.,1.))
|> Chart.withTitle "Binary receiver operating characteristic example"
namespace Plotly
namespace Plotly.NET
module Defaults
from Plotly.NET
<summary>
Contains mutable global default values.
Changing these values will apply the default values to all consecutive Chart generations.
</summary>
val mutable DefaultDisplayOptions: DisplayOptions
Multiple items
type DisplayOptions =
inherit DynamicObj
new: unit -> DisplayOptions
static member addAdditionalHeadTags: additionalHeadTags: XmlNode list -> (DisplayOptions -> DisplayOptions)
static member addDescription: description: XmlNode list -> (DisplayOptions -> DisplayOptions)
static member combine: first: DisplayOptions -> second: DisplayOptions -> DisplayOptions
static member getAdditionalHeadTags: displayOpts: DisplayOptions -> XmlNode list
static member getDescription: displayOpts: DisplayOptions -> XmlNode list
static member getPlotlyReference: displayOpts: DisplayOptions -> PlotlyJSReference
static member init: [<Optional; DefaultParameterValue ((null :> obj))>] ?AdditionalHeadTags: XmlNode list * [<Optional; DefaultParameterValue ((null :> obj))>] ?Description: XmlNode list * [<Optional; DefaultParameterValue ((null :> obj))>] ?PlotlyJSReference: PlotlyJSReference -> DisplayOptions
static member initCDNOnly: unit -> DisplayOptions
...
--------------------
new: unit -> DisplayOptions
static member DisplayOptions.init: [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AdditionalHeadTags: Giraffe.ViewEngine.HtmlElements.XmlNode list * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Description: Giraffe.ViewEngine.HtmlElements.XmlNode list * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?PlotlyJSReference: PlotlyJSReference -> DisplayOptions
type PlotlyJSReference =
| CDN of string
| Full
| Require of string
| NoReference
<summary>
Sets how plotly is referenced in the head of html docs.
</summary>
union case PlotlyJSReference.NoReference: PlotlyJSReference
val actual: int list
val predicted: int list
namespace FsMath
Multiple items
namespace FSharp
--------------------
namespace Microsoft.FSharp
namespace FSharp.Stats
namespace FSharp.Stats.Testing
type BinaryConfusionMatrix =
{
TP: int
TN: int
FP: int
FN: int
}
member Equals: BinaryConfusionMatrix * IEqualityComparer -> bool
static member create: tp: int * tn: int * fp: int * fn: int -> BinaryConfusionMatrix
static member ofPredictions: positiveLabel: 'A * actual: 'A seq * predictions: 'A seq -> BinaryConfusionMatrix (requires equality) + 1 overload
static member thresholdMap: actual: bool seq * predictions: float seq * thresholds: float seq -> (float * BinaryConfusionMatrix) array + 1 overload
<summary>
Confusion matrix for binary classification
</summary>
static member BinaryConfusionMatrix.ofPredictions: actual: bool seq * predictions: bool seq -> BinaryConfusionMatrix
static member BinaryConfusionMatrix.ofPredictions: positiveLabel: 'A * actual: 'A seq * predictions: 'A seq -> BinaryConfusionMatrix (requires equality)
val actualBool: bool list
val predictedBool: bool list
static member BinaryConfusionMatrix.create: tp: int * tn: int * fp: int * fn: int -> BinaryConfusionMatrix
val mlcm: MultiLabelConfusionMatrix
type MultiLabelConfusionMatrix =
{
Labels: string array
Confusion: Matrix<int>
}
member Equals: MultiLabelConfusionMatrix * IEqualityComparer -> bool
static member allVsAll: mlcm: MultiLabelConfusionMatrix -> (string * BinaryConfusionMatrix) array
static member create: labels: string array * confusion: Matrix<int> -> MultiLabelConfusionMatrix
static member ofPredictions: labels: 'a array * actual: 'a array * predictions: 'a array -> MultiLabelConfusionMatrix (requires 'a :> IConvertible and equality)
static member oneVsRest: label: string -> mlcm: MultiLabelConfusionMatrix -> BinaryConfusionMatrix
static member MultiLabelConfusionMatrix.create: labels: string array * confusion: Matrix<int> -> MultiLabelConfusionMatrix
val array2D: rows: #('T seq) seq -> 'T array2d
Multiple items
module Matrix
from FsMath
--------------------
type Matrix<'T (requires 'T :> INumber<'T> and default constructor and value type and comparison and 'T :> ValueType)> =
interface IEquatable<Matrix<'T>>
new: rows: int * cols: int * data: Vector<'T> -> Matrix<'T>
override Equals: obj: obj -> bool
override GetHashCode: unit -> int
member GetSlice: rowStart: int option * rowEnd: int option * colStart: int option * colEnd: int option -> Matrix<'T> + 1 overload
member SetCol: j: int * colData: 'T array -> unit
member SetRow: i: int * rowData: 'T array -> unit
override ToString: unit -> string
member Transpose: unit -> Matrix<'T>
member toArray2D: unit -> 'T array2d
...
<summary>
Matrix type to hold values of a matrix in a 1D Arrays (Flattened Representation)
</summary>
--------------------
new: rows: int * cols: int * data: Vector<'T> -> Matrix<'T>
static member Matrix.ofArray2D<'T (requires 'T :> System.Numerics.INumber<'T> and default constructor and value type and 'T :> System.ValueType)> : arr2D: 'T array2d -> Matrix<'T>
static member MultiLabelConfusionMatrix.ofPredictions: labels: 'a array * actual: 'a array * predictions: 'a array -> MultiLabelConfusionMatrix (requires 'a :> System.IConvertible and equality)
static member MultiLabelConfusionMatrix.oneVsRest: label: string -> mlcm: MultiLabelConfusionMatrix -> BinaryConfusionMatrix
static member MultiLabelConfusionMatrix.allVsAll: mlcm: MultiLabelConfusionMatrix -> (string * BinaryConfusionMatrix) array
Multiple items
module Array
from FSharp.Stats
<summary>
Module to compute common statistical measure on array
</summary>
--------------------
module Array
from Microsoft.FSharp.Collections
--------------------
type Array =
new: unit -> Array
static member geomspace: start: float * stop: float * num: int * ?IncludeEndpoint: bool -> float array
static member linspace: start: float * stop: float * num: int * ?IncludeEndpoint: bool -> float array
--------------------
new: unit -> Array
val iter: action: ('T -> unit) -> array: 'T array -> unit
val label: string
val cm: BinaryConfusionMatrix
val printf: format: Printf.TextWriterFormat<'T> -> 'T
type ComparisonMetrics =
{
P: float
N: float
SampleSize: float
TP: float
TN: float
FP: float
FN: float
Sensitivity: float
Specificity: float
Precision: float
...
}
member Equals: ComparisonMetrics * IEqualityComparer -> bool
static member binaryThresholdMap: tm: (float * BinaryConfusionMatrix) array -> (float * ComparisonMetrics) array + 2 overloads
static member calculateAccuracy: tp: float -> tn: float -> samplesize: float -> float
static member calculateBalancedAccuracy: tp: float -> p: float -> tn: float -> n: float -> float
static member calculateDiagnosticOddsRatio: tp: float -> tn: float -> fp: float -> fn: float -> p: float -> n: float -> float
static member calculateF1: tp: float -> fp: float -> fn: float -> float
static member calculateFallOut: fp: float -> n: float -> float
static member calculateFalseDiscoveryRate: fp: float -> tp: float -> float
static member calculateFalseOmissionRate: fn: float -> tn: float -> float
static member calculateFowlkesMallowsIndex: tp: float -> fp: float -> p: float -> float
...
<summary>
Comparison metrics that can be derived from a binary confusion matrix
</summary>
static member ComparisonMetrics.create: bcm: BinaryConfusionMatrix -> ComparisonMetrics
static member ComparisonMetrics.create: tp: float * tn: float * fp: float * fn: float -> ComparisonMetrics
static member ComparisonMetrics.create: p: float * n: float * samplesize: float * tp: float * tn: float * fp: float * fn: float * sensitivity: float * specificity: float * precision: float * negativepredictivevalue: float * missrate: float * fallout: float * falsediscoveryrate: float * falseomissionrate: float * positivelikelihoodratio: float * negativelikelihoodratio: float * prevalencethreshold: float * threatscore: float * prevalence: float * accuracy: float * balancedaccuracy: float * f1: float * phicoefficient: float * fowlkesmallowsindex: float * informedness: float * markedness: float * diagnosticoddsratio: float -> ComparisonMetrics
val bcm: BinaryConfusionMatrix
static member ComparisonMetrics.ofBinaryPredictions: actual: bool seq * predictions: bool seq -> ComparisonMetrics
static member ComparisonMetrics.ofBinaryPredictions: positiveLabel: 'A * actual: 'A seq * predictions: 'A seq -> ComparisonMetrics (requires equality)
val map: mapping: ('T -> 'U) -> array: 'T array -> 'U array
val metrics: ComparisonMetrics
static member ComparisonMetrics.macroAverage: bcms: BinaryConfusionMatrix array -> ComparisonMetrics
static member ComparisonMetrics.macroAverage: mlcm: MultiLabelConfusionMatrix -> ComparisonMetrics
static member ComparisonMetrics.macroAverage: metrics: ComparisonMetrics seq -> ComparisonMetrics
val snd: tuple: ('T1 * 'T2) -> 'T2
static member ComparisonMetrics.macroAverageOfMultiLabelPredictions: labels: 'a array * actual: 'a array * predictions: 'a array -> ComparisonMetrics (requires 'a :> System.IConvertible and equality)
static member ComparisonMetrics.microAverage: mlcm: MultiLabelConfusionMatrix -> ComparisonMetrics
static member ComparisonMetrics.microAverage: cms: BinaryConfusionMatrix seq -> ComparisonMetrics
static member ComparisonMetrics.microAverageOfMultiLabelPredictions: labels: 'a array * actual: 'a array * predictions: 'a array -> ComparisonMetrics (requires 'a :> System.IConvertible and equality)
static member ComparisonMetrics.binaryThresholdMap: tm: (float * BinaryConfusionMatrix) array -> (float * ComparisonMetrics) array
static member ComparisonMetrics.binaryThresholdMap: actual: bool seq * predictions: float seq -> (float * ComparisonMetrics) array
static member ComparisonMetrics.binaryThresholdMap: actual: bool seq * predictions: float seq * thresholds: float seq -> (float * ComparisonMetrics) array
val threshold: float
val cm: ComparisonMetrics
static member ComparisonMetrics.multiLabelThresholdMap: actual: 'a array * predictions: ('a * float array) array -> Map<string,(float * ComparisonMetrics) array> (requires 'a :> System.IConvertible and equality)
namespace Plotly.NET.LayoutObjects
namespace FSharp.Stats.Integration
val binaryROC: (float * float) array
static member ComparisonMetrics.calculateROC: actual: bool seq * predictions: float seq -> (float * float) array
static member ComparisonMetrics.calculateROC: actual: bool seq * predictions: float seq * thresholds: float seq -> (float * float) array
val auc: float
Multiple items
type NumericalIntegration =
new: unit -> NumericalIntegration
static member definiteIntegral: method: NumericalIntegrationMethod * intervalStart: float * intervalEnd: float * partitions: int * ?Parallel: bool -> ((float -> float) -> float) + 1 overload
<summary>
Definite integral approximation
</summary>
--------------------
new: unit -> NumericalIntegration
static member NumericalIntegration.definiteIntegral: method: NumericalIntegrationMethod -> ((float * float) array -> float)
static member NumericalIntegration.definiteIntegral: method: NumericalIntegrationMethod * intervalStart: float * intervalEnd: float * partitions: int * ?Parallel: bool -> ((float -> float) -> float)
union case NumericalIntegrationMethod.Trapezoidal: NumericalIntegrationMethod
<summary>
Trapezoidal rule - approximation via partition intervals using trapezoids in the partition boundaries
</summary>
val binaryROCChart: GenericChart.GenericChart
type Chart =
static member AnnotatedHeatmap: zData: #('a1 seq) seq * annotationText: #(string seq) seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: 'a3 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiX: 'a3 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?XGap: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiY: 'a4 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?YGap: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a5 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a5 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorBar: ColorBar * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ReverseScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ZSmooth: SmoothAlg * [<Optional; DefaultParameterValue ((null :> obj))>] ?Transpose: bool * [<Optional; DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<Optional; DefaultParameterValue ((false :> obj))>] ?ReverseYAxis: bool * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a3 :> IConvertible and 'a4 :> IConvertible and 'a5 :> IConvertible) + 1 overload
static member Area: x: #IConvertible seq * y: #IConvertible seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowMarkers: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextPosition: TextPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: TextPosition seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerSymbol: MarkerSymbol * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiMarkerSymbol: MarkerSymbol seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineDash: DrawingStyle * [<Optional; DefaultParameterValue ((null :> obj))>] ?Line: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?StackGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupNorm: GroupNorm * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillPatternShape: PatternShape * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillPattern: Pattern * [<Optional; DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 1 overload
static member Bar: values: #IConvertible seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Keys: 'a1 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiKeys: 'a1 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerPatternShape: PatternShape * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiMarkerPatternShape: PatternShape seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerPattern: Pattern * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?Base: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?Width: 'a4 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiWidth: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextPosition: TextPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: TextPosition seq * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload
static member BoxPlot: [<Optional; DefaultParameterValue ((null :> obj))>] ?X: 'a0 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiX: 'a0 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: 'a1 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiY: 'a1 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?WhiskerWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?BoxPoints: BoxPoints * [<Optional; DefaultParameterValue ((null :> obj))>] ?BoxMean: BoxMean * [<Optional; DefaultParameterValue ((null :> obj))>] ?Jitter: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?PointPos: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?OutlineColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?OutlineWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Outline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?Notched: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?NotchWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?QuartileMethod: QuartileMethod * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a0 :> IConvertible and 'a1 :> IConvertible and 'a2 :> IConvertible) + 2 overloads
static member Bubble: x: #IConvertible seq * y: #IConvertible seq * sizes: int seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextPosition: TextPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: TextPosition seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerSymbol: MarkerSymbol * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiMarkerSymbol: MarkerSymbol seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?LineDash: DrawingStyle * [<Optional; DefaultParameterValue ((null :> obj))>] ?Line: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?StackGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupNorm: GroupNorm * [<Optional; DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible) + 1 overload
static member Candlestick: ``open`` : #IConvertible seq * high: #IConvertible seq * low: #IConvertible seq * close: #IConvertible seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiX: 'a4 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a5 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a5 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Line: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?IncreasingColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?Increasing: FinanceMarker * [<Optional; DefaultParameterValue ((null :> obj))>] ?DecreasingColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?Decreasing: FinanceMarker * [<Optional; DefaultParameterValue ((null :> obj))>] ?WhiskerWidth: float * [<Optional; DefaultParameterValue ((true :> obj))>] ?ShowXAxisRangeSlider: bool * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a4 :> IConvertible and 'a5 :> IConvertible) + 2 overloads
static member Column: values: #IConvertible seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Keys: 'a1 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiKeys: 'a1 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerPatternShape: PatternShape * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiMarkerPatternShape: PatternShape seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerPattern: Pattern * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?Base: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?Width: 'a4 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiWidth: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextPosition: TextPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: TextPosition seq * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a2 :> IConvertible and 'a4 :> IConvertible) + 1 overload
static member Contour: zData: #('a1 seq) seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiX: 'a2 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: 'a3 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiY: 'a3 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a4 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorBar: ColorBar * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ReverseScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Transpose: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContourLineColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContourLineDash: DrawingStyle * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContourLineSmoothing: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContourLine: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContoursColoring: ContourColoring * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContoursOperation: ConstraintOperation * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContoursType: ContourType * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowContourLabels: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ContourLabelFont: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?Contours: Contours * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?NContours: int * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a2 :> IConvertible and 'a3 :> IConvertible and 'a4 :> IConvertible)
static member Funnel: x: #IConvertible seq * y: #IConvertible seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Width: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Offset: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextPosition: TextPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: TextPosition seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?Marker: Marker * [<Optional; DefaultParameterValue ((null :> obj))>] ?TextInfo: TextInfo * [<Optional; DefaultParameterValue ((null :> obj))>] ?ConnectorLineColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?ConnectorLineStyle: DrawingStyle * [<Optional; DefaultParameterValue ((null :> obj))>] ?ConnectorFillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?ConnectorLine: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?Connector: FunnelConnector * [<Optional; DefaultParameterValue ((null :> obj))>] ?InsideTextFont: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?OutsideTextFont: Font * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a2 :> IConvertible)
static member Heatmap: zData: #('a1 seq) seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: 'a2 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiX: 'a2 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: 'a3 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiY: 'a3 seq seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?XGap: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?YGap: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?Text: 'a4 * [<Optional; DefaultParameterValue ((null :> obj))>] ?MultiText: 'a4 seq * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorBar: ColorBar * [<Optional; DefaultParameterValue ((null :> obj))>] ?ColorScale: Colorscale * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShowScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ReverseScale: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?ZSmooth: SmoothAlg * [<Optional; DefaultParameterValue ((null :> obj))>] ?Transpose: bool * [<Optional; DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<Optional; DefaultParameterValue ((false :> obj))>] ?ReverseYAxis: bool * [<Optional; DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart (requires 'a1 :> IConvertible and 'a2 :> IConvertible and 'a3 :> IConvertible and 'a4 :> IConvertible) + 1 overload
...
static member Chart.Line: xy: (#System.IConvertible * #System.IConvertible) seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowMarkers: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Name: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Text: 'c * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiText: 'c seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TextPosition: StyleParam.TextPosition * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: StyleParam.Colorscale * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Marker: TraceObjects.Marker * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColorScale: StyleParam.Colorscale * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineWidth: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineDash: StyleParam.DrawingStyle * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Line: Line * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?StackGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Orientation: StyleParam.Orientation * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GroupNorm: StyleParam.GroupNorm * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Fill: StyleParam.Fill * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?FillPattern: TraceObjects.Pattern * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart.GenericChart (requires 'c :> System.IConvertible)
static member Chart.Line: x: #System.IConvertible seq * y: #System.IConvertible seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowMarkers: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Name: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowLegend: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiOpacity: float seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Text: 'a2 * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiText: 'a2 seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TextPosition: StyleParam.TextPosition * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiTextPosition: StyleParam.TextPosition seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerColorScale: StyleParam.Colorscale * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerOutline: Line * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MarkerSymbol: StyleParam.MarkerSymbol * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiMarkerSymbol: StyleParam.MarkerSymbol seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Marker: TraceObjects.Marker * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColorScale: StyleParam.Colorscale * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineWidth: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineDash: StyleParam.DrawingStyle * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Line: Line * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AlignmentGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?OffsetGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?StackGroup: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Orientation: StyleParam.Orientation * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GroupNorm: StyleParam.GroupNorm * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Fill: StyleParam.Fill * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?FillPattern: TraceObjects.Pattern * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((false :> obj))>] ?UseWebGL: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((true :> obj))>] ?UseDefaults: bool -> GenericChart.GenericChart (requires 'a2 :> System.IConvertible)
static member Chart.withLineStyle: [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BackOff: StyleParam.BackOff * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AutoColorScale: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CAuto: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CMax: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CMid: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CMin: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Color: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ColorAxis: StyleParam.SubPlotId * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Colorscale: StyleParam.Colorscale * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ReverseScale: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowScale: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ColorBar: ColorBar * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Dash: StyleParam.DrawingStyle * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Shape: StyleParam.Shape * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Simplify: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Smoothing: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Width: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MultiWidth: float seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?OutlierColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?OutlierWidth: float -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
type Shape =
inherit DynamicObj
new: unit -> Shape
static member init: [<Optional; DefaultParameterValue ((null :> obj))>] ?Editable: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillRule: FillRule * [<Optional; DefaultParameterValue ((null :> obj))>] ?Layer: Layer * [<Optional; DefaultParameterValue ((null :> obj))>] ?Line: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Path: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?TemplateItemName: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShapeType: ShapeType * [<Optional; DefaultParameterValue ((null :> obj))>] ?Visible: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?X0: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?X1: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?XAnchor: LinearAxisId * [<Optional; DefaultParameterValue ((null :> obj))>] ?Xref: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?XSizeMode: ShapeSizeMode * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y0: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y1: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?YAnchor: LinearAxisId * [<Optional; DefaultParameterValue ((null :> obj))>] ?Yref: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?YSizeMode: ShapeSizeMode -> Shape
static member style: [<Optional; DefaultParameterValue ((null :> obj))>] ?Editable: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?FillRule: FillRule * [<Optional; DefaultParameterValue ((null :> obj))>] ?Layer: Layer * [<Optional; DefaultParameterValue ((null :> obj))>] ?Line: Line * [<Optional; DefaultParameterValue ((null :> obj))>] ?Name: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?Opacity: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?Path: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?TemplateItemName: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?ShapeType: ShapeType * [<Optional; DefaultParameterValue ((null :> obj))>] ?Visible: bool * [<Optional; DefaultParameterValue ((null :> obj))>] ?X0: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?X1: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?XAnchor: LinearAxisId * [<Optional; DefaultParameterValue ((null :> obj))>] ?Xref: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?XSizeMode: ShapeSizeMode * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y0: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y1: #IConvertible * [<Optional; DefaultParameterValue ((null :> obj))>] ?YAnchor: LinearAxisId * [<Optional; DefaultParameterValue ((null :> obj))>] ?Yref: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?YSizeMode: ShapeSizeMode -> (Shape -> Shape)
<summary>
Shapes are layers that can be drawn onto a chart layout.
</summary>
--------------------
new: unit -> Shape
module StyleParam
from Plotly.NET
type Shape =
| Linear
| Spline
| Hv
| Vh
| Hvh
| Vhv
member Convert: unit -> obj
override ToString: unit -> string
static member convert: (Shape -> obj)
static member toString: (Shape -> string)
<summary>
Determines the line shape. With "spline" the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
</summary>
union case StyleParam.Shape.Vh: StyleParam.Shape
type DrawingStyle =
| Solid
| Dash
| Dot
| DashDot
| LongDash
| LongDashDot
| User of int seq
member Convert: unit -> obj
override ToString: unit -> string
static member convert: (DrawingStyle -> obj)
static member toString: (DrawingStyle -> string)
<summary>
Dash: Sets the drawing style of the lines segments in this trace.
Sets the style of the lines. Set to a dash string type or a dash length in px.
</summary>
union case StyleParam.DrawingStyle.Dash: StyleParam.DrawingStyle
type Color =
override Equals: other: obj -> bool
override GetHashCode: unit -> int
static member fromARGB: a: int -> r: int -> g: int -> b: int -> Color
static member fromColorScaleValues: c: #IConvertible seq -> Color
static member fromColors: c: Color seq -> Color
static member fromHex: s: string -> Color
static member fromKeyword: c: ColorKeyword -> Color
static member fromRGB: r: int -> g: int -> b: int -> Color
static member fromString: c: string -> Color
member Value: obj
<summary>
Plotly color can be a single color, a sequence of colors, or a sequence of numeric values referencing the color of the colorscale obj
</summary>
static member Color.fromKeyword: c: ColorKeyword -> Color
union case ColorKeyword.Grey: ColorKeyword
static member Chart.combine: gCharts: GenericChart.GenericChart seq -> GenericChart.GenericChart
static member Chart.withTemplate: template: Template -> (GenericChart.GenericChart -> GenericChart.GenericChart)
module ChartTemplates
from Plotly.NET
val lightMirrored: Template
static member Chart.withLegend: showlegend: bool -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withLegend: legend: Legend -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
type Legend =
inherit DynamicObj
new: unit -> Legend
static member init: [<Optional; DefaultParameterValue ((null :> obj))>] ?BGColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?BorderColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?BorderWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?EntryWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?EntryWidthMode: EntryWidthMode * [<Optional; DefaultParameterValue ((null :> obj))>] ?Font: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupClick: TraceGroupClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupTitleFont: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemClick: TraceItemClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemDoubleClick: TraceItemClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemSizing: TraceItemSizing * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemWidth: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?Title: Title * [<Optional; DefaultParameterValue ((null :> obj))>] ?TraceGroupGap: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?TraceOrder: TraceOrder * [<Optional; DefaultParameterValue ((null :> obj))>] ?UIRevision: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?VerticalAlign: VerticalAlign * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?XAnchor: XAnchorPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?YAnchor: YAnchorPosition -> Legend
static member style: [<Optional; DefaultParameterValue ((null :> obj))>] ?BGColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?BorderColor: Color * [<Optional; DefaultParameterValue ((null :> obj))>] ?BorderWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?EntryWidth: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?EntryWidthMode: EntryWidthMode * [<Optional; DefaultParameterValue ((null :> obj))>] ?Font: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupClick: TraceGroupClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?GroupTitleFont: Font * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemClick: TraceItemClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemDoubleClick: TraceItemClickOptions * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemSizing: TraceItemSizing * [<Optional; DefaultParameterValue ((null :> obj))>] ?ItemWidth: int * [<Optional; DefaultParameterValue ((null :> obj))>] ?Orientation: Orientation * [<Optional; DefaultParameterValue ((null :> obj))>] ?Title: Title * [<Optional; DefaultParameterValue ((null :> obj))>] ?TraceGroupGap: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?TraceOrder: TraceOrder * [<Optional; DefaultParameterValue ((null :> obj))>] ?UIRevision: string * [<Optional; DefaultParameterValue ((null :> obj))>] ?VerticalAlign: VerticalAlign * [<Optional; DefaultParameterValue ((null :> obj))>] ?X: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?XAnchor: XAnchorPosition * [<Optional; DefaultParameterValue ((null :> obj))>] ?Y: float * [<Optional; DefaultParameterValue ((null :> obj))>] ?YAnchor: YAnchorPosition -> (Legend -> Legend)
<summary>
Legend
</summary>
--------------------
new: unit -> Legend
static member Legend.init: [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BGColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BorderColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BorderWidth: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?EntryWidth: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?EntryWidthMode: StyleParam.EntryWidthMode * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Font: Font * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GroupClick: StyleParam.TraceGroupClickOptions * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GroupTitleFont: Font * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ItemClick: StyleParam.TraceItemClickOptions * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ItemDoubleClick: StyleParam.TraceItemClickOptions * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ItemSizing: StyleParam.TraceItemSizing * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ItemWidth: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Orientation: StyleParam.Orientation * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Title: Title * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TraceGroupGap: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TraceOrder: StyleParam.TraceOrder * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?UIRevision: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?VerticalAlign: StyleParam.VerticalAlign * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?X: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?XAnchor: StyleParam.XAnchorPosition * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Y: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?YAnchor: StyleParam.YAnchorPosition -> Legend
type XAnchorPosition =
| Auto
| Left
| Center
| Right
member Convert: unit -> obj
override ToString: unit -> string
static member convert: (XAnchorPosition -> obj)
static member toString: (XAnchorPosition -> string)
union case StyleParam.XAnchorPosition.Right: StyleParam.XAnchorPosition
type YAnchorPosition =
| Auto
| Top
| Middle
| Bottom
member Convert: unit -> obj
override ToString: unit -> string
static member convert: (YAnchorPosition -> obj)
static member toString: (YAnchorPosition -> string)
union case StyleParam.YAnchorPosition.Bottom: StyleParam.YAnchorPosition
argument X: float option
<summary>
Returns a new Legend object with the given styles
</summary>
<param name="BGColor">Sets the legend background color. Defaults to `layout.paper_bgcolor`.</param>
<param name="BorderColor">Sets the color of the border enclosing the legend.</param>
<param name="BorderWidth">Sets the width (in px) of the border enclosing the legend.</param>
<param name="EntryWidth">Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to "pixels".</param>
<param name="EntryWidthMode">Determines what entrywidth means.</param>
<param name="Font">Sets the font used to text the legend items.</param>
<param name="GroupClick">Determines the behavior on legend group item click. "toggleitem" toggles the visibility of the individual item clicked on the graph. "togglegroup" toggles the visibility of all items in the same legendgroup as the item clicked on the graph.</param>
<param name="GroupTitleFont">Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%.</param>
<param name="ItemClick">Determines the behavior on legend item click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item click interactions.</param>
<param name="ItemDoubleClick">Determines the behavior on legend item double-click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item double-click interactions.</param>
<param name="ItemSizing">Determines if the legend items symbols scale with their corresponding "trace" attributes or remain "constant" independent of the symbol size on the graph.</param>
<param name="ItemWidth">Sets the width (in px) of the legend item symbols (the part other than the title.text).</param>
<param name="Orientation">Sets the orientation of the legend.</param>
<param name="Title">Sets the title of the legend.</param>
<param name="TraceGroupGap">Sets the amount of vertical space (in px) between legend groups.</param>
<param name="TraceOrder">Determines the order at which the legend items are displayed. If "normal", the items are displayed top-to-bottom in the same order as the input data. If "reversed", the items are displayed in the opposite order as "normal". If "grouped", the items are displayed in groups (when a trace `legendgroup` is provided). if "grouped+reversed", the items are displayed in the opposite order as "grouped".</param>
<param name="UIRevision">Controls persistence of legend-driven changes in trace and pie label visibility. Defaults to `layout.uirevision`.</param>
<param name="VerticalAlign">Sets the vertical alignment of the symbols with respect to their associated text.</param>
<param name="X">Sets the x position (in normalized coordinates) of the legend. Defaults to "1.02" for vertical legends and defaults to "0" for horizontal legends.</param>
<param name="XAnchor">Sets the legend's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the legend. Value "auto" anchors legends to the right for `x` values greater than or equal to 2/3, anchors legends to the left for `x` values less than or equal to 1/3 and anchors legends with respect to their center otherwise.</param>
<param name="Y">Sets the y position (in normalized coordinates) of the legend. Defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders.</param>
<param name="YAnchor">Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise.</param>
argument Y: float option
<summary>
Returns a new Legend object with the given styles
</summary>
<param name="BGColor">Sets the legend background color. Defaults to `layout.paper_bgcolor`.</param>
<param name="BorderColor">Sets the color of the border enclosing the legend.</param>
<param name="BorderWidth">Sets the width (in px) of the border enclosing the legend.</param>
<param name="EntryWidth">Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to "pixels".</param>
<param name="EntryWidthMode">Determines what entrywidth means.</param>
<param name="Font">Sets the font used to text the legend items.</param>
<param name="GroupClick">Determines the behavior on legend group item click. "toggleitem" toggles the visibility of the individual item clicked on the graph. "togglegroup" toggles the visibility of all items in the same legendgroup as the item clicked on the graph.</param>
<param name="GroupTitleFont">Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%.</param>
<param name="ItemClick">Determines the behavior on legend item click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item click interactions.</param>
<param name="ItemDoubleClick">Determines the behavior on legend item double-click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item double-click interactions.</param>
<param name="ItemSizing">Determines if the legend items symbols scale with their corresponding "trace" attributes or remain "constant" independent of the symbol size on the graph.</param>
<param name="ItemWidth">Sets the width (in px) of the legend item symbols (the part other than the title.text).</param>
<param name="Orientation">Sets the orientation of the legend.</param>
<param name="Title">Sets the title of the legend.</param>
<param name="TraceGroupGap">Sets the amount of vertical space (in px) between legend groups.</param>
<param name="TraceOrder">Determines the order at which the legend items are displayed. If "normal", the items are displayed top-to-bottom in the same order as the input data. If "reversed", the items are displayed in the opposite order as "normal". If "grouped", the items are displayed in groups (when a trace `legendgroup` is provided). if "grouped+reversed", the items are displayed in the opposite order as "grouped".</param>
<param name="UIRevision">Controls persistence of legend-driven changes in trace and pie label visibility. Defaults to `layout.uirevision`.</param>
<param name="VerticalAlign">Sets the vertical alignment of the symbols with respect to their associated text.</param>
<param name="X">Sets the x position (in normalized coordinates) of the legend. Defaults to "1.02" for vertical legends and defaults to "0" for horizontal legends.</param>
<param name="XAnchor">Sets the legend's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the legend. Value "auto" anchors legends to the right for `x` values greater than or equal to 2/3, anchors legends to the left for `x` values less than or equal to 1/3 and anchors legends with respect to their center otherwise.</param>
<param name="Y">Sets the y position (in normalized coordinates) of the legend. Defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders.</param>
<param name="YAnchor">Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise.</param>
static member Chart.withXAxisStyle: [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleText: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleFont: Font * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleStandoff: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Title: Title * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Color: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AxisType: StyleParam.AxisType * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MinMax: (#System.IConvertible * #System.IConvertible) * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Mirror: StyleParam.Mirror * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowSpikes: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?SpikeColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?SpikeThickness: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowLine: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowGrid: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GridColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GridDash: StyleParam.DrawingStyle * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ZeroLine: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ZeroLineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Anchor: StyleParam.LinearAxisId * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Side: StyleParam.Side * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Overlaying: StyleParam.LinearAxisId * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Domain: (float * float) * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Position: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CategoryOrder: StyleParam.CategoryOrder * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CategoryArray: #System.IConvertible seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?RangeSlider: RangeSlider * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?RangeSelector: RangeSelector * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BackgroundColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowBackground: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Id: StyleParam.SubPlotId -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withYAxisStyle: [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleText: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleFont: Font * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleStandoff: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Title: Title * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Color: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AxisType: StyleParam.AxisType * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?MinMax: (#System.IConvertible * #System.IConvertible) * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Mirror: StyleParam.Mirror * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowSpikes: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?SpikeColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?SpikeThickness: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowLine: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?LineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowGrid: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GridColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?GridDash: StyleParam.DrawingStyle * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ZeroLine: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ZeroLineColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Anchor: StyleParam.LinearAxisId * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Side: StyleParam.Side * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Overlaying: StyleParam.LinearAxisId * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?AutoShift: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Shift: int * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Domain: (float * float) * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Position: float * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CategoryOrder: StyleParam.CategoryOrder * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?CategoryArray: #System.IConvertible seq * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?RangeSlider: RangeSlider * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?RangeSelector: RangeSelector * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?BackgroundColor: Color * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?ShowBackground: bool * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?Id: StyleParam.SubPlotId -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withTitle: title: Title -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withTitle: title: string * [<System.Runtime.InteropServices.Optional; System.Runtime.InteropServices.DefaultParameterValue ((null :> obj))>] ?TitleFont: Font -> (GenericChart.GenericChart -> GenericChart.GenericChart)
module GenericChart
from Plotly.NET
<summary>
Module to represent a GenericChart
</summary>
val toChartHTML: gChart: GenericChart.GenericChart -> string
val multiLabelROC: Map<string,(float * float) array>
static member ComparisonMetrics.calculateMultiLabelROC: actual: 'a array * predictions: ('a * float array) array -> Map<string,(float * float) array> (requires 'a :> System.IConvertible and equality)
val aucMap: Map<string,float>
Multiple items
module Map
from FSharp.Stats
<summary>
Module to strore specialised computations on maps
</summary>
--------------------
module Map
from Microsoft.FSharp.Collections
--------------------
type Map<'Key,'Value (requires comparison)> =
interface IReadOnlyDictionary<'Key,'Value>
interface IReadOnlyCollection<KeyValuePair<'Key,'Value>>
interface IEnumerable
interface IStructuralEquatable
interface IComparable
interface IEnumerable<KeyValuePair<'Key,'Value>>
interface ICollection<KeyValuePair<'Key,'Value>>
interface IDictionary<'Key,'Value>
new: elements: ('Key * 'Value) seq -> Map<'Key,'Value>
member Add: key: 'Key * value: 'Value -> Map<'Key,'Value>
...
--------------------
new: elements: ('Key * 'Value) seq -> Map<'Key,'Value>
val map: mapping: ('Key -> 'T -> 'U) -> table: Map<'Key,'T> -> Map<'Key,'U> (requires comparison)
val roc: (float * float) array
val multiLabelROCChart: GenericChart.GenericChart
val toArray: table: Map<'Key,'T> -> ('Key * 'T) array (requires comparison)