After dowloading earnings transcripts from Motley Fool, we proceeded to compute
the Earnings Announcement Return (EAR) of each company's earnings announcement
in EarningsAnnouncementReturn.fsx
.
There are many machine learning algorithms to choose from when trying to solve
a binary or multi-classification problem. Due to its simplicity and intuitive framework,
a Naive Bayes classifier is often a good place to start.
let labelEar (earVal : float) thresh : Class =
if earVal >= thresh then Positive
elif earVal <= -thresh then Negative
else Neutral
let trainRaw, testRaw =
myEars
|> Array.choose (fun xs ->
match xs.Ear with
| Some ear ->
let document = xs.EarningsCall.Transcript |> String.concat(" ")
let label : Class = labelEar ear 0.05
if label <> Neutral then Some (document, label)
else None
| None -> None)
|> fun xs ->
let cutoff = float xs.Length * 0.8
xs.[.. int cutoff], xs.[int cutoff + 1 ..]
trainRaw.Length
testRaw.Length
- Identifying proper nouns with NLTK database
- Fetching company names using requests
/// Names
let nltkNames =
System.IO.File.ReadLines("data-cache\NamesNLTK.txt")
|> Seq.map (fun xs -> xs.ToLowerInvariant())
|> Set
// Tokenize all documents
let tokenizeDocumentWith (nGram : int)
(rawDocument : string)
: Token [] =
rawDocument.ToLowerInvariant().Split(" ")
// Blacklist filter
|> Array.filter (nltkNames.Contains >> not)
|> String.concat(" ")
// Normalize
|> getOnlyWords
|> expandContractions
// Tokenize
|> nGrams nGram
// Stop words removal
|> Array.choose removeStopWords
// Empty string removal
|> Array.filter (fun xs -> xs.Length <> 0)
let tokenizeDocuments (tokenizer : Tokenizer)
(labelledRawDocuments : (string * Class) [])
: LabelledDocument [] =
labelledRawDocuments
|> Array.Parallel.map (fun (doc, label) ->
tokenizer doc, label)
// Top Tokens from sample
let getTopNTokens (sampleMaxTokens : int)
(labelledDocuments : LabelledDocument [])
: Set<Token> =
labelledDocuments
|> Array.collect fst
|> Array.countBy id
|> Array.sortByDescending snd
|> Array.truncate sampleMaxTokens
|> Array.map fst
|> Set
// Generate bag of words using only top tokens
let getTopTokenBow (topTokens : Set<Token>)
(document : Document)
: BagOfWords =
document
|> Array.countBy id
|> Array.filter (fun (token, _) -> topTokens.Contains token)
|> Array.sortByDescending snd
let generateTopTokenBows (topTokens : Set<Token>)
(labelledDocuments : LabelledDocument [])
: LabelledBagOfWords [] =
labelledDocuments
|> Array.Parallel.map (fun (doc, label) ->
getTopTokenBow topTokens doc, label)
type TextVectorizer =
{ NGram : int
MaxSampleTokens : int}
let vectorizeTrainTest (textPreprocessor : TextVectorizer)
(rawDocumentsTrain : (string * Class) [])
(rawDocumentsTest : (string * Class) [])
: LabelledBagOfWords [] * LabelledBagOfWords [] =
// Tokenize documents (nGrams)
let tokenizer =
tokenizeDocumentWith textPreprocessor.NGram
let tokenizedTrain, tokenizedTest =
tokenizeDocuments tokenizer rawDocumentsTrain,
tokenizeDocuments tokenizer rawDocumentsTest
// Generate bag of words using most frequent tokens
let topTokens =
getTopNTokens textPreprocessor.MaxSampleTokens tokenizedTrain
generateTopTokenBows topTokens tokenizedTrain,
generateTopTokenBows topTokens tokenizedTest
let getPriors (labelledBows : LabelledBagOfWords [])
: Map<Class, Prior> =
let n = labelledBows.Length
labelledBows
|> Array.groupBy snd
|> Array.map (fun (label, labelFreqs) ->
let prior = (float (labelFreqs.Length)/(float n))
label, prior)
|> Map
let getClassBagofWords
(labelledBow : LabelledBagOfWords [])
: (Class * Token * Count) [] =
labelledBow
|> Array.groupBy snd
|> Array.collect (fun (c, classBagOfWords) ->
classBagOfWords
|> Array.filter (fun (_, label) -> label=c)
|> Array.collect fst
|> Array.groupBy fst
|> Array.map (fun (token, tokenCounts) ->
c, token, Array.sumBy snd tokenCounts))
let computeTokenLikilihoods
(classBagOfWords : (Class * Token * Count) [])
(vocabN : Count)
: (Class * Token * Likelihood) [] =
classBagOfWords
|> Array.groupBy (fun (_, token, _) -> token)
|> Array.collect (fun (_, xs) ->
/// Compute total token counts within all classes
let totalTokenCounts =
xs
|> Array.sumBy (fun (_, _, counts) -> counts)
/// Compute token likelihood for all classes (Laplace corrected)
xs
|> Array.map (fun (c, token, counts) ->
let tokenLikelihood =
float (counts + 1) / float (totalTokenCounts + vocabN)
(c, token, tokenLikelihood)))
let getClassLikelihoodsMap (tokenLikelihoods : (Class * Token * Likelihood) [])
: Map<Class, Map<Token, Likelihood>> =
tokenLikelihoods
|> Array.groupBy (fun (c, _, _) -> c)
|> Array.map (fun (c, xs) ->
c,
xs
|> Array.map (fun (_, token, counts) -> token, counts)
|> Map)
|> Map
let getTokenLikelihoods (labelledBows : LabelledBagOfWords [])
: Map<Class, Map<Token, Likelihood>> =
let classBagOfWords =
getClassBagofWords labelledBows
let vocabN =
classBagOfWords
|> Array.distinctBy (fun (_, token, _) -> token)
|> Array.length
computeTokenLikilihoods classBagOfWords vocabN
|> getClassLikelihoodsMap
type NbClassifierInfo =
{ Priors : Map<Class, Prior>
Likelihoods : Map<Class, Map<Token, Likelihood>>}
let trainNbClassifier (labelledBows : LabelledBagOfWords [])
: NbClassifierInfo =
{ Priors = getPriors labelledBows
Likelihoods = getTokenLikelihoods labelledBows}
/// Fetch token scores from bag of words
let getTokenScores
(tokenLikelihoods : Map<Token, Likelihood>)
(bow : BagOfWords)
: TokenScore [] =
bow
|> Array.choose (fun (token, count) ->
match tokenLikelihoods.TryFind token with
| Some likelihood ->
Some (log (likelihood ** float count))
| None -> None)
/// Computes final score by adding token scores, prior
let computeDocumentScore
(prior : Prior)
(tokenScores : TokenScore [])
: DocumentScore =
tokenScores
|> Array.fold (+) (log prior)
/// Computes document scores and classifies document
let classifyBagOfWords
(nbClassifierInfo : NbClassifierInfo)
(bow : BagOfWords)
: Class =
nbClassifierInfo.Priors
|> Map.toArray
|> Array.choose (fun (c, prior) ->
match nbClassifierInfo.Likelihoods.TryFind c with
| Some tokenLikelihoods ->
bow
|> getTokenScores tokenLikelihoods
|> computeDocumentScore prior
|> fun docScore -> Some (c, docScore)
| None -> None)
|> Array.maxBy snd
|> fst
let evaluate (nbClassifierInfo : NbClassifierInfo)
(labelledBows : LabelledBagOfWords [])
: Accuracy =
let classifyBow = classifyBagOfWords nbClassifierInfo
labelledBows
|> PSeq.averageBy (fun (bow, label) ->
if classifyBow bow = label then 1.
else 0.)
let tp1 = {NGram=2; MaxSampleTokens=5000}
let trainBow, testBow = vectorizeTrainTest tp1 trainRaw testRaw
let fittedClassifier = trainNbClassifier trainBow
let trainEval = evaluate fittedClassifier trainBow
let testEval = evaluate fittedClassifier testBow
namespace System
namespace System.IO
Multiple items
namespace FSharp
--------------------
namespace Microsoft.FSharp
Multiple items
namespace FSharp.Data
--------------------
namespace Microsoft.FSharp.Data
Multiple items
type Environment =
static member Exit : exitCode: int -> unit
static member ExpandEnvironmentVariables : name: string -> string
static member FailFast : message: string -> unit + 1 overload
static member GetCommandLineArgs : unit -> string []
static member GetEnvironmentVariable : variable: string -> string + 1 overload
static member GetEnvironmentVariables : unit -> IDictionary + 1 overload
static member GetFolderPath : folder: SpecialFolder -> string + 1 overload
static member GetLogicalDrives : unit -> string []
static member SetEnvironmentVariable : variable: string * value: string -> unit + 1 overload
static member CommandLine : string
...
<summary>Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
property Environment.CurrentDirectory: string with get, set
<summary>Gets or sets the fully qualified path of the current working directory.</summary>
<exception cref="T:System.ArgumentException">Attempted to set to an empty string ("").</exception>
<exception cref="T:System.ArgumentNullException">Attempted to set to <see langword="null" />.</exception>
<exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">Attempted to set a local path that cannot be found.</exception>
<exception cref="T:System.Security.SecurityException">The caller does not have the appropriate permission.</exception>
<returns>The directory path.</returns>
Multiple items
namespace Newtonsoft
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
namespace Newtonsoft.Json
Multiple items
namespace Plotly
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
namespace Plotly.NET
Multiple items
namespace FSharp
--------------------
namespace Microsoft.FSharp
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
namespace FSharp.Stats
Multiple items
namespace FSharp.Collections
--------------------
namespace Microsoft.FSharp.Collections
namespace FSharp.Collections.ParallelSeq
Multiple items
namespace System
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
namespace System.Text
namespace System.Text.RegularExpressions
Multiple items
module Types
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
namespace Preprocessing
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
module Normalization
from Preprocessing
module Tokenization
from Preprocessing
module NltkData
from Preprocessing
Multiple items
val readEarJson : jsonFile:string -> EarningsAnnouncementReturn array
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val jsonFile : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val string : value:'T -> string
<summary>Converts the argument to a string using <c>ToString</c>.</summary>
<remarks>For standard integer and floating point values the and any type that implements <c>IFormattable</c><c>ToString</c> conversion uses <c>CultureInfo.InvariantCulture</c>. </remarks>
<param name="value">The input value.</param>
<returns>The converted string.</returns>
--------------------
type string = String
<summary>An abbreviation for the CLI type <see cref="T:System.String" />.</summary>
<category>Basic Types</category>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
namespace System.IO
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
type File =
static member AppendAllLines : path: string * contents: IEnumerable<string> -> unit + 1 overload
static member AppendAllLinesAsync : path: string * contents: IEnumerable<string> * encoding: Encoding *?cancellationToken: CancellationToken -> Task + 1 overload
static member AppendAllText : path: string * contents: string -> unit + 1 overload
static member AppendAllTextAsync : path: string * contents: string * encoding: Encoding *?cancellationToken: CancellationToken -> Task + 1 overload
static member AppendText : path: string -> StreamWriter
static member Copy : sourceFileName: string * destFileName: string -> unit + 1 overload
static member Create : path: string -> FileStream + 2 overloads
static member CreateText : path: string -> StreamWriter
static member Decrypt : path: string -> unit
static member Delete : path: string -> unit
...
<summary>Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of <see cref="T:System.IO.FileStream" /> objects.</summary>
File.ReadAllText(path: string) : string
File.ReadAllText(path: string, encoding: Text.Encoding) : string
Multiple items
val json : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type JsonConvert =
static member DeserializeAnonymousType<'T> : value: string * anonymousTypeObject: 'T -> 'T + 1 overload
static member DeserializeObject : value: string -> obj + 7 overloads
static member DeserializeXNode : value: string -> XDocument + 3 overloads
static member DeserializeXmlNode : value: string -> XmlDocument + 3 overloads
static member EnsureDecimalPlace : value: float * text: string -> string + 1 overload
static member EnsureFloatFormat : value: float * text: string * floatFormatHandling: FloatFormatHandling * quoteChar: char * nullable: bool -> string
static member PopulateObject : value: string * target: obj -> unit + 1 overload
static member SerializeObject : value: obj -> string + 7 overloads
static member SerializeObjectInternal : value: obj * type: Type * jsonSerializer: JsonSerializer -> string
static member SerializeXNode : node: XObject -> string + 2 overloads
...
<summary>
Provides methods for converting between .NET types and JSON types.
</summary>
<example><code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\SerializationTests.cs" region="SerializeObject" title="Serializing and Deserializing JSON with JsonConvert" /></example>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
JsonConvert.DeserializeObject<'T>(value: string) : 'T
JsonConvert.DeserializeObject(value: string) : obj
JsonConvert.DeserializeObject<'T>(value: string, settings: JsonSerializerSettings) : 'T
JsonConvert.DeserializeObject<'T>(value: string, [<ParamArray>] converters: JsonConverter []) : 'T
JsonConvert.DeserializeObject(value: string, type: Type) : obj
JsonConvert.DeserializeObject(value: string, settings: JsonSerializerSettings) : obj
JsonConvert.DeserializeObject(value: string, type: Type, settings: JsonSerializerSettings) : obj
JsonConvert.DeserializeObject(value: string, type: Type, [<ParamArray>] converters: JsonConverter []) : obj
Multiple items
type 'T array = 'T []
<summary>Single dimensional, zero-based arrays, written <c>int[]</c>, <c>string[]</c> etc.</summary>
<remarks>Use the values in the <see cref="T:Microsoft.FSharp.Collections.ArrayModule" /> module to manipulate values
of this type, or the notation <c>arr.[x]</c> to get/set array
values.</remarks>
<category>Basic Types</category>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type EarningsAnnouncementReturn =
{ EarningsCall: EarningsCall
TiingoObs: TiingoObs []
Sentiment: Sentiment option
Ear: float option }
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val myEars : EarningsAnnouncementReturn []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
module Seq
from FSharp.Stats
<summary>
Module to compute common statistical measure
</summary>
--------------------
module Seq
from Plotly.NET
--------------------
module Seq
from Microsoft.FSharp.Collections
<summary>Contains operations for working with values of type <see cref="T:Microsoft.FSharp.Collections.seq`1" />.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val collect : mapping:('T -> #seq<'U>) -> source:seq<'T> -> seq<'U>
<summary>Applies the given function to each element of the sequence and concatenates all the
results.</summary>
<remarks>Remember sequence is lazy, effects are delayed until it is enumerated.</remarks>
<param name="mapping">A function to transform elements of the input sequence into the sequences
that will then be concatenated.</param>
<param name="source">The input sequence.</param>
<returns>The result sequence.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input sequence is null.</exception>
val choose : chooser:('T -> 'U option) -> source:seq<'T> -> seq<'U>
<summary>Applies the given function to each element of the list. Return
the list comprised of the results "x" for each element where
the function returns Some(x).</summary>
<remarks>The returned sequence may be passed between threads safely. However,
individual IEnumerator values generated from the returned sequence should not
be accessed concurrently.</remarks>
<param name="chooser">A function to transform items of type T into options of type U.</param>
<param name="source">The input sequence of type T.</param>
<returns>The result sequence.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input sequence is null.</exception>
Multiple items
val sample : EarningsAnnouncementReturn
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
EarningsAnnouncementReturn.Ear: float option
Multiple items
union case Option.Some: Value: 'T -> Option<'T>
<summary>The representation of "Value of type 'T"</summary>
<param name="Value">The input value.</param>
<returns>An option representing the value.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
union case Option.None: Option<'T>
<summary>The representation of "No value"</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val sortBy : projection:('T -> 'Key) -> source:seq<'T> -> seq<'T> (requires comparison)
<summary>Applies a key-generating function to each element of a sequence and yield a sequence ordered
by keys. The keys are compared using generic comparison as implemented by <see cref="M:Microsoft.FSharp.Core.Operators.compare" />.</summary>
<remarks>This function returns a sequence that digests the whole initial sequence as soon as
that sequence is iterated. As a result this function should not be used with
large or infinite sequences.
The function makes no assumption on the ordering of the original
sequence and uses a stable sort, that is the original order of equal elements is preserved.</remarks>
<param name="projection">A function to transform items of the input sequence into comparable keys.</param>
<param name="source">The input sequence.</param>
<returns>The result sequence.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input sequence is null.</exception>
Multiple items
val xs : EarningsAnnouncementReturn
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
EarningsAnnouncementReturn.EarningsCall: EarningsCall
EarningsCall.CallId: CallId
CallId.Date: DateTime
val toArray : source:seq<'T> -> 'T []
<summary>Builds an array from the given collection.</summary>
<param name="source">The input sequence.</param>
<returns>The result array.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input sequence is null.</exception>
property Array.Length: int with get
<summary>Gets the total number of elements in all the dimensions of the <see cref="T:System.Array" />.</summary>
<exception cref="T:System.OverflowException">The array is multidimensional and contains more than <see cref="F:System.Int32.MaxValue" /> elements.</exception>
<returns>The total number of elements in all the dimensions of the <see cref="T:System.Array" />; zero if there are no elements in the array.</returns>
Multiple items
val earsHist : ears:float array -> thresh:float -> GenericChart.GenericChart
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val ears : float array
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val float : value:'T -> float (requires member op_Explicit)
<summary>Converts the argument to 64-bit float. This is a direct conversion for all
primitive numeric types. For strings, the input is converted using <c>Double.Parse()</c>
with InvariantCulture settings. Otherwise the operation requires an appropriate
static conversion method on the input type.</summary>
<param name="value">The input value.</param>
<returns>The converted float</returns>
--------------------
[<Struct>]
type float = Double
<summary>An abbreviation for the CLI type <see cref="T:System.Double" />.</summary>
<category>Basic Types</category>
--------------------
type float<'Measure> =
float
<summary>The type of double-precision floating point numbers, annotated with a unit of measure.
The unit of measure is erased in compiled code and when values of this type
are analyzed using reflection. The type is representationally equivalent to
<see cref="T:System.Double" />.</summary>
<category index="6">Basic Types with Units of Measure</category>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val thresh : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val obsToPlot : ('a -> (float -> bool) -> GenericChart.GenericChart)
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val name : 'a
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val threshExpr : (float -> bool)
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Array =
interface ICollection
interface IEnumerable
interface IList
interface IStructuralComparable
interface IStructuralEquatable
interface ICloneable
new : unit -> unit
member Clone : unit -> obj
member CopyTo : array: Array * index: int -> unit + 1 overload
member GetEnumerator : unit -> IEnumerator
...
<summary>Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val filter : predicate:('T -> bool) -> array:'T [] -> 'T []
<summary>Returns a new collection containing only the elements of the collection
for which the given predicate returns "true".</summary>
<param name="predicate">The function to test the input elements.</param>
<param name="array">The input array.</param>
<returns>An array containing the elements for which the given predicate returns true.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val filteredEars : float []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val pct : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val xs : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Math =
static member Abs : value: decimal -> decimal + 6 overloads
static member Acos : d: float -> float
static member Acosh : d: float -> float
static member Asin : d: float -> float
static member Asinh : d: float -> float
static member Atan : d: float -> float
static member Atan2 : y: float * x: float -> float
static member Atanh : d: float -> float
static member BigMul : a: int * b: int -> int64 + 2 overloads
static member BitDecrement : x: float -> float
...
<summary>Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Math.Round(a: float) : float
Math.Round(d: decimal) : decimal
Math.Round(value: float, mode: MidpointRounding) : float
Math.Round(value: float, digits: int) : float
Math.Round(d: decimal, mode: MidpointRounding) : decimal
Math.Round(d: decimal, decimals: int) : decimal
Math.Round(value: float, digits: int, mode: MidpointRounding) : float
Math.Round(d: decimal, decimals: int, mode: MidpointRounding) : decimal
Multiple items
type Chart =
static member Area : x:seq<#IConvertible> * y:seq<#IConvertible> * ?Name:string * ?ShowMarkers:bool * ?Showlegend:bool * ?MarkerSymbol:Symbol * ?Color:string * ?Opacity:float * ?Labels:seq<#IConvertible> * ?TextPosition:TextPosition * ?TextFont:Font * ?Dash:DrawingStyle * ?Width:float -> GenericChart + 1 overload
static member Bar : keys:seq<#IConvertible> * values:seq<#IConvertible> * ?Name:string * ?Showlegend:bool * ?Color:string * ?Opacity:float * ?Labels:seq<#IConvertible> * ?TextPosition:TextPosition * ?TextFont:Font * ?Marker:Marker -> GenericChart + 1 overload
static member BoxPlot : ?x:'a0 * ?y:'a1 * ?Name:string * ?Showlegend:bool * ?Color:string * ?Fillcolor:'a2 * ?Opacity:float * ?Whiskerwidth:'a3 * ?Boxpoints:Boxpoints * ?Boxmean:BoxMean * ?Jitter:'a4 * ?Pointpos:'a5 * ?Orientation:Orientation * ?Marker:Marker * ?Line:Line * ?Alignmentgroup:'a6 * ?Offsetgroup:'a7 * ?Notched:bool * ?NotchWidth:float * ?QuartileMethod:QuartileMethod -> GenericChart + 1 overload
static member Bubble : x:seq<#IConvertible> * y:seq<#IConvertible> * sizes:seq<#IConvertible> * ?Name:string * ?Showlegend:bool * ?MarkerSymbol:Symbol * ?Color:string * ?Opacity:float * ?Labels:seq<#IConvertible> * ?TextPosition:TextPosition * ?TextFont:Font * ?StackGroup:string * ?Orientation:Orientation * ?GroupNorm:GroupNorm * ?UseWebGL:bool -> GenericChart + 1 overload
static member Candlestick : open:seq<#IConvertible> * high:seq<#IConvertible> * low:seq<#IConvertible> * close:seq<#IConvertible> * x:seq<#IConvertible> * ?Increasing:Line * ?Decreasing:Line * ?WhiskerWidth:float * ?Line:Line * ?XCalendar:Calendar -> GenericChart + 1 overload
static member ChoroplethMap : locations:seq<string> * z:seq<#IConvertible> * ?Text:seq<#IConvertible> * ?Locationmode:LocationFormat * ?Autocolorscale:bool * ?Colorscale:Colorscale * ?Colorbar:Colorbar * ?Marker:Marker * ?GeoJson:'a2 * ?FeatureIdKey:string * ?Zmin:float * ?Zmax:float -> GenericChart
static member ChoroplethMapbox : locations:seq<#IConvertible> * z:seq<#IConvertible> * geoJson:'a2 * ?FeatureIdKey:string * ?Text:seq<#IConvertible> * ?Below:string * ?Colorscale:Colorscale * ?Colorbar:Colorbar * ?ZAuto:bool * ?ZMin:float * ?ZMid:float * ?ZMax:float -> GenericChart
static member Column : keys:seq<#IConvertible> * values:seq<#IConvertible> * ?Name:string * ?Showlegend:bool * ?Color:string * ?Opacity:float * ?Labels:seq<#IConvertible> * ?TextPosition:TextPosition * ?TextFont:Font * ?Marker:Marker -> GenericChart + 1 overload
static member Contour : data:seq<#seq<'a1>> * ?X:seq<#IConvertible> * ?Y:seq<#IConvertible> * ?Name:string * ?Showlegend:bool * ?Opacity:float * ?Colorscale:Colorscale * ?Showscale:'a4 * ?zSmooth:SmoothAlg * ?Colorbar:'a5 -> GenericChart (requires 'a1 :> IConvertible)
static member DensityMapbox : lon:seq<#IConvertible> * lat:seq<#IConvertible> * ?Z:seq<#IConvertible> * ?Radius:float * ?Opacity:float * ?Text:seq<#IConvertible> * ?Below:string * ?Colorscale:Colorscale * ?Colorbar:Colorbar * ?Showscale:bool * ?ZAuto:bool * ?ZMin:float * ?ZMid:float * ?ZMax:float -> GenericChart + 1 overload
...
<summary>
Provides a set of static methods for creating charts.
</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
static member Chart.Histogram : data:seq<#IConvertible> * ?Orientation:StyleParam.Orientation * ?Name:string * ?Showlegend:bool * ?Opacity:float * ?Color:string * ?HistNorm:StyleParam.HistNorm * ?HistFunc:StyleParam.HistNorm * ?nBinsx:int * ?nBinsy:int * ?Xbins:Bins * ?Ybins:Bins * ?xError:'c * ?yError:'d -> GenericChart.GenericChart
static member Chart.withTraceName : ?Name:string * ?Showlegend:bool * ?Legendgroup:string * ?Visible:StyleParam.Visible -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
val ret : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val abs : value:'T -> 'T (requires member Abs)
<summary>Absolute value of the given number.</summary>
<param name="value">The input value.</param>
<returns>The absolute value of the input.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
static member Chart.Combine : gCharts:seq<GenericChart.GenericChart> -> GenericChart.GenericChart
static member Chart.withTitle : title:string * ?Titlefont:Font -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withX_AxisStyle : title:string * ?MinMax:(float * float) * ?Showgrid:bool * ?Showline:bool * ?Side:StyleParam.Side * ?Overlaying:StyleParam.AxisAnchorId * ?Id:int * ?Domain:(float * float) * ?Position:float * ?Zeroline:bool * ?Anchor:StyleParam.AxisAnchorId -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withY_AxisStyle : title:string * ?MinMax:(float * float) * ?Showgrid:bool * ?Showline:bool * ?Side:StyleParam.Side * ?Overlaying:StyleParam.AxisAnchorId * ?Id:int * ?Domain:(float * float) * ?Position:float * ?Zeroline:bool * ?Anchor:StyleParam.AxisAnchorId -> (GenericChart.GenericChart -> GenericChart.GenericChart)
static member Chart.withSize : width:float * height:float -> (GenericChart.GenericChart -> GenericChart.GenericChart)
Multiple items
val earsToPlot : float []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val choose : chooser:('T -> 'U option) -> array:'T [] -> 'U []
<summary>Applies the given function to each element of the array. Returns
the array comprised of the results "x" for each element where
the function returns Some(x)</summary>
<param name="chooser">The function to generate options from the elements.</param>
<param name="array">The input array.</param>
<returns>The array of results.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val labelEar : earVal:float -> thresh:float -> Class
earsHist earsToPlot 0.05 |> Chart.Show
earsHist earsToPlot 0.05 |> GenericChart.toChartHTML
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val earVal : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Class =
| Positive
| Negative
| Neutral
--------------------
type ClassAttribute =
inherit Attribute
new : unit -> ClassAttribute
<summary>Adding this attribute to a type causes it to be represented using a CLI class.</summary>
<category>Attributes</category>
--------------------
new : unit -> ClassAttribute
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
union case Class.Positive: Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
union case Class.Negative: Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
union case Class.Neutral: Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val trainRaw : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val testRaw : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val ear : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val document : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
EarningsCall.Transcript: string []
Multiple items
type String =
interface IEnumerable<char>
interface IEnumerable
interface ICloneable
interface IComparable
interface IComparable<string>
interface IConvertible
interface IEquatable<string>
new : value: nativeptr<char> -> unit + 8 overloads
member Clone : unit -> obj
member CompareTo : value: obj -> int + 1 overload
...
<summary>Represents text as a sequence of UTF-16 code units.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
String(value: nativeptr<char>) : String
String(value: char []) : String
String(value: ReadOnlySpan<char>) : String
String(value: nativeptr<sbyte>) : String
String(c: char, count: int) : String
String(value: nativeptr<char>, startIndex: int, length: int) : String
String(value: char [], startIndex: int, length: int) : String
String(value: nativeptr<sbyte>, startIndex: int, length: int) : String
String(value: nativeptr<sbyte>, startIndex: int, length: int, enc: Text.Encoding) : String
val concat : sep:string -> strings:seq<string> -> string
<summary>Returns a new string made by concatenating the given strings
with separator <c>sep</c>, that is <c>a1 + sep + ... + sep + aN</c>.</summary>
<param name="sep">The separator string to be inserted between the strings
of the input sequence.</param>
<param name="strings">The sequence of strings to be concatenated.</param>
<returns>A new string consisting of the concatenated strings separated by
the separation string.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when <c>strings</c> is null.</exception>
Multiple items
val label : Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val xs : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val cutoff : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val int : value:'T -> int (requires member op_Explicit)
<summary>Converts the argument to signed 32-bit integer. This is a direct conversion for all
primitive numeric types. For strings, the input is converted using <c>Int32.Parse()</c>
with InvariantCulture settings. Otherwise the operation requires an appropriate
static conversion method on the input type.</summary>
<param name="value">The input value.</param>
<returns>The converted int</returns>
--------------------
[<Struct>]
type int = int32
<summary>An abbreviation for the CLI type <see cref="T:System.Int32" />.</summary>
<category>Basic Types</category>
--------------------
type int<'Measure> =
int
<summary>The type of 32-bit signed integer numbers, annotated with a unit of measure. The unit
of measure is erased in compiled code and when values of this type
are analyzed using reflection. The type is representationally equivalent to
<see cref="T:System.Int32" />.</summary>
<category>Basic Types with Units of Measure</category>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val nltkNames : Set<string>
Names
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
File.ReadLines(path: string) : Collections.Generic.IEnumerable<string>
File.ReadLines(path: string, encoding: Text.Encoding) : Collections.Generic.IEnumerable<string>
val map : mapping:('T -> 'U) -> source:seq<'T> -> seq<'U>
<summary>Builds a new collection whose elements are the results of applying the given function
to each of the elements of the collection. The given function will be applied
as elements are demanded using the <c>MoveNext</c> method on enumerators retrieved from the
object.</summary>
<remarks>The returned sequence may be passed between threads safely. However,
individual IEnumerator values generated from the returned sequence should not be accessed concurrently.</remarks>
<param name="mapping">A function to transform items from the input sequence.</param>
<param name="source">The input sequence.</param>
<returns>The result sequence.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input sequence is null.</exception>
Multiple items
val xs : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
String.ToLowerInvariant() : string
Multiple items
module Set
from Microsoft.FSharp.Collections
<summary>Contains operations for working with values of type <see cref="T:Microsoft.FSharp.Collections.Set`1" />.</summary>
--------------------
type Set<'T (requires comparison)> =
interface IReadOnlyCollection<'T>
interface IComparable
interface IEnumerable
interface IEnumerable<'T>
interface ICollection<'T>
new : elements:seq<'T> -> Set<'T>
member Add : value:'T -> Set<'T>
member Contains : value:'T -> bool
override Equals : obj -> bool
member IsProperSubsetOf : otherSet:Set<'T> -> bool
...
<summary>Immutable sets based on binary trees, where elements are ordered by F# generic comparison. By default
comparison is the F# structural comparison function or uses implementations of the IComparable interface on element values.</summary>
<remarks>See the <see cref="T:Microsoft.FSharp.Collections.SetModule" /> module for further operations on sets.
All members of this class are thread-safe and may be used concurrently from multiple threads.</remarks>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
new : elements:seq<'T> -> Set<'T>
Multiple items
val tokenizeDocumentWith : nGram:int -> rawDocument:string -> Token []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val nGram : int
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val rawDocument : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Token = string
Multinomial Naive Bayes Classifier
Tokenizination
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
member Set.Contains : value:'T -> bool
Multiple items
val not : value:bool -> bool
<summary>Negate a logical value. Not True equals False and not False equals True</summary>
<param name="value">The value to negate.</param>
<returns>The result of the negation.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getOnlyWords : text:string -> string
Check for *only* words (Regex)
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val expandContractions : textItem:string -> string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val nGrams : n:int -> text:string -> string []
NGrams Tokenizer
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val removeStopWords : textItem:string -> string option
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
property String.Length: int with get
<summary>Gets the number of characters in the current <see cref="T:System.String" /> object.</summary>
<returns>The number of characters in the current string.</returns>
Multiple items
val tokenizeDocuments : tokenizer:Tokenizer -> labelledRawDocuments:(string * Class) [] -> LabelledDocument []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenizer : Tokenizer
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Tokenizer = string -> Token []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val labelledRawDocuments : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type LabelledDocument = Document * Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
module Parallel
from Microsoft.FSharp.Collections.ArrayModule
<summary>Provides parallel operations on arrays </summary>
val map : mapping:('T -> 'U) -> array:'T [] -> 'U []
<summary>Build a new array whose elements are the results of applying the given function
to each of the elements of the array.</summary>
<remarks>Performs the operation in parallel using <see cref="M:System.Threading.Tasks.Parallel.For" />.
The order in which the given function is applied to elements of the input array is not specified.</remarks>
<param name="mapping"></param>
<param name="array">The input array.</param>
<returns>The array of results.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val doc : string
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getTopNTokens : sampleMaxTokens:int -> labelledDocuments:LabelledDocument [] -> Set<Token>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val sampleMaxTokens : int
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val labelledDocuments : LabelledDocument []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val collect : mapping:('T -> 'U []) -> array:'T [] -> 'U []
<summary>For each element of the array, applies the given function. Concatenates all the results and return the combined array.</summary>
<param name="mapping">The function to create sub-arrays from the input array elements.</param>
<param name="array">The input array.</param>
<returns>The concatenation of the sub-arrays.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val fst : tuple:('T1 * 'T2) -> 'T1
<summary>Return the first element of a tuple, <c>fst (a,b) = a</c>.</summary>
<param name="tuple">The input tuple.</param>
<returns>The first value.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val countBy : projection:('T -> 'Key) -> array:'T [] -> ('Key * int) [] (requires equality)
<summary>Applies a key-generating function to each element of an array and returns an array yielding unique
keys and their number of occurrences in the original array.</summary>
<param name="projection">A function transforming each item of the input array into a key to be
compared against the others.</param>
<param name="array">The input array.</param>
<returns>The result array.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val id : x:'T -> 'T
<summary>The identity function</summary>
<param name="x">The input value.</param>
<returns>The same value.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val sortByDescending : projection:('T -> 'Key) -> array:'T [] -> 'T [] (requires comparison)
<summary>Sorts the elements of an array, in descending order, using the given projection for the keys and returning a new array.
Elements are compared using <see cref="M:Microsoft.FSharp.Core.Operators.compare" />.</summary>
<remarks>This is not a stable sort, i.e. the original order of equal elements is not necessarily preserved.
For a stable sort, consider using <see cref="M:Microsoft.FSharp.Collections.SeqModule.Sort" />.</remarks>
<param name="projection">The function to transform array elements into the type that is compared.</param>
<param name="array">The input array.</param>
<returns>The sorted array.</returns>
Multiple items
val snd : tuple:('T1 * 'T2) -> 'T2
<summary>Return the second element of a tuple, <c>snd (a,b) = b</c>.</summary>
<param name="tuple">The input tuple.</param>
<returns>The second value.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val truncate : count:int -> array:'T [] -> 'T []
<summary>Returns at most N elements in a new array.</summary>
<param name="count">The maximum number of items to return.</param>
<param name="array">The input array.</param>
<returns>The result array.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
val map : mapping:('T -> 'U) -> array:'T [] -> 'U []
<summary>Builds a new array whose elements are the results of applying the given function
to each of the elements of the array.</summary>
<param name="mapping">The function to transform elements of the array.</param>
<param name="array">The input array.</param>
<returns>The array of transformed elements.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val getTopTokenBow : topTokens:Set<Token> -> document:Document -> BagOfWords
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val topTokens : Set<Token>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val document : Document
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type Document = Token []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type BagOfWords = (Token * Count) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val token : Token
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val generateTopTokenBows : topTokens:Set<Token> -> labelledDocuments:LabelledDocument [] -> LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type LabelledBagOfWords = BagOfWords * Class
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val doc : Document
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
type TextVectorizer =
{ NGram: int
MaxSampleTokens: int }
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
TextVectorizer.NGram: int
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
TextVectorizer.MaxSampleTokens: int
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val vectorizeTrainTest : textPreprocessor:TextVectorizer -> rawDocumentsTrain:(string * Class) [] -> rawDocumentsTest:(string * Class) [] -> LabelledBagOfWords [] * LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val textPreprocessor : TextVectorizer
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val rawDocumentsTrain : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val rawDocumentsTest : (string * Class) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenizer : (string -> Token [])
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
TextVectorizer.NGram: int
Multiple items
val tokenizedTrain : LabelledDocument []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenizedTest : LabelledDocument []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
TextVectorizer.MaxSampleTokens: int
Multiple items
val getPriors : labelledBows:LabelledBagOfWords [] -> Map<Class,Prior>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val labelledBows : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
module Map
from Microsoft.FSharp.Collections
<summary>Contains operations for working with values of type <see cref="T:Microsoft.FSharp.Collections.Map`2" />.</summary>
--------------------
type Map<'Key,'Value (requires comparison)> =
interface IReadOnlyDictionary<'Key,'Value>
interface IReadOnlyCollection<KeyValuePair<'Key,'Value>>
interface IEnumerable
interface IComparable
interface IEnumerable<KeyValuePair<'Key,'Value>>
interface ICollection<KeyValuePair<'Key,'Value>>
interface IDictionary<'Key,'Value>
new : elements:seq<'Key * 'Value> -> Map<'Key,'Value>
member Add : key:'Key * value:'Value -> Map<'Key,'Value>
member Change : key:'Key * f:('Value option -> 'Value option) -> Map<'Key,'Value>
...
<summary>Immutable maps based on binary trees, where keys are ordered by F# generic comparison. By default
comparison is the F# structural comparison function or uses implementations of the IComparable interface on key values.</summary>
<remarks>See the <see cref="T:Microsoft.FSharp.Collections.MapModule" /> module for further operations on maps.
All members of this class are thread-safe and may be used concurrently from multiple threads.</remarks>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
new : elements:seq<'Key * 'Value> -> Map<'Key,'Value>
Multiple items
[<Struct>]
type Prior = float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val n : int
val groupBy : projection:('T -> 'Key) -> array:'T [] -> ('Key * 'T []) [] (requires equality)
<summary>Applies a key-generating function to each element of an array and yields an array of
unique keys. Each unique key contains an array of all elements that match
to this key.</summary>
<param name="projection">A function that transforms an element of the array into a comparable key.</param>
<param name="array">The input array.</param>
<returns>The result array.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val labelFreqs : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val prior : float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getClassBagofWords : labelledBow:LabelledBagOfWords [] -> (Class * Token * Count) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val labelledBow : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
[<Struct>]
type Count = int
Bag of Words
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val c : Class
Multiple items
val classBagOfWords : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenCounts : (Token * Count) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val sumBy : projection:('T -> 'U) -> array:'T [] -> 'U (requires member ( + ) and member get_Zero)
<summary>Returns the sum of the results generated by applying the function to each element of the array.</summary>
<param name="projection">The function to transform the array elements into the type to be summed.</param>
<param name="array">The input array.</param>
<returns>The resulting sum.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val computeTokenLikilihoods : classBagOfWords:(Class * Token * Count) [] -> vocabN:Count -> (Class * Token * Likelihood) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val classBagOfWords : (Class * Token * Count) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val vocabN : Count
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
[<Struct>]
type Likelihood = float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val xs : (Class * Token * Count) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val totalTokenCounts : Count
Compute total token counts within all classes
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val counts : Count
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenLikelihood : float
Compute token likelihood for all classes (Laplace corrected)
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getClassLikelihoodsMap : tokenLikelihoods:(Class * Token * Likelihood) [] -> Map<Class,Map<Token,Likelihood>>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenLikelihoods : (Class * Token * Likelihood) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val xs : (Class * Token * Likelihood) []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val counts : Likelihood
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getTokenLikelihoods : labelledBows:LabelledBagOfWords [] -> Map<Class,Map<Token,Likelihood>>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val vocabN : int
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val distinctBy : projection:('T -> 'Key) -> array:'T [] -> 'T [] (requires equality)
<summary>Returns an array that contains no duplicate entries according to the
generic hash and equality comparisons on the keys returned by the given key-generating function.
If an element occurs multiple times in the array then the later occurrences are discarded.</summary>
<param name="projection">A function transforming the array items into comparable keys.</param>
<param name="array">The input array.</param>
<returns>The result array.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
val length : array:'T [] -> int
<summary>Returns the length of an array. You can also use property arr.Length.</summary>
<param name="array">The input array.</param>
<returns>The length of the array.</returns>
<exception cref="T:System.NullReferenceException">Thrown when the input array is null.</exception>
Multiple items
type NbClassifierInfo =
{ Priors: Map<Class,Prior>
Likelihoods: Map<Class,Map<Token,Likelihood>> }
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
NbClassifierInfo.Priors: Map<Class,Prior>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
NbClassifierInfo.Likelihoods: Map<Class,Map<Token,Likelihood>>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val trainNbClassifier : labelledBows:LabelledBagOfWords [] -> NbClassifierInfo
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val getTokenScores : tokenLikelihoods:Map<Token,Likelihood> -> bow:BagOfWords -> TokenScore []
Fetch token scores from bag of words
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenLikelihoods : Map<Token,Likelihood>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val bow : BagOfWords
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
[<Struct>]
type TokenScore = float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val count : Count
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
member Map.TryFind : key:'Key -> 'Value option
Multiple items
val likelihood : Likelihood
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val log : value:'T -> 'T (requires member Log)
<summary>Natural logarithm of the given number</summary>
<param name="value">The input value.</param>
<returns>The natural logarithm of the input.</returns>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val computeDocumentScore : prior:Prior -> tokenScores:TokenScore [] -> DocumentScore
Computes final score by adding token scores, prior
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val prior : Prior
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val tokenScores : TokenScore []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
[<Struct>]
type DocumentScore = float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val fold : folder:('State -> 'T -> 'State) -> state:'State -> array:'T [] -> 'State
<summary>Applies a function to each element of the collection, threading an accumulator argument
through the computation. If the input function is <c>f</c> and the elements are <c>i0...iN</c> then computes
<c>f (... (f s i0)...) iN</c></summary>
<param name="folder">The function to update the state given the input elements.</param>
<param name="state">The initial state.</param>
<param name="array">The input array.</param>
<returns>The final state.</returns>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
Multiple items
val classifyBagOfWords : nbClassifierInfo:NbClassifierInfo -> bow:BagOfWords -> Class
Computes document scores and classifies document
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val nbClassifierInfo : NbClassifierInfo
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
NbClassifierInfo.Priors: Map<Class,Prior>
val toArray : table:Map<'Key,'T> -> ('Key * 'T) [] (requires comparison)
<summary>Returns an array of all key-value pairs in the mapping.
The array will be ordered by the keys of the map.</summary>
<param name="table">The input map.</param>
<returns>The array of key/value pairs.</returns>
NbClassifierInfo.Likelihoods: Map<Class,Map<Token,Likelihood>>
Multiple items
val docScore : DocumentScore
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val maxBy : projection:('T -> 'U) -> array:'T [] -> 'T (requires comparison)
<summary>Returns the greatest of all elements of the array, compared via Operators.max on the function result.</summary>
<remarks>Throws ArgumentException for empty arrays.</remarks>
<param name="projection">The function to transform the elements into a type supporting comparison.</param>
<param name="array">The input array.</param>
<exception cref="T:System.ArgumentNullException">Thrown when the input array is null.</exception>
<exception cref="T:System.ArgumentException">Thrown when the input array is empty.</exception>
<returns>The maximum element.</returns>
Multiple items
val evaluate : nbClassifierInfo:NbClassifierInfo -> labelledBows:LabelledBagOfWords [] -> Accuracy
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
[<Struct>]
type Accuracy = float
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val classifyBow : (BagOfWords -> Class)
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
module PSeq
from FSharp.Collections.ParallelSeq
<summary>Parallel operations on IEnumerables.</summary>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
val averageBy : projection:('T -> 'U) -> source:seq<'T> -> 'U (requires member ( + ) and member DivideByInt and member get_Zero)
<summary>Operates in parallel, using System.Linq.Parallel. Returns the average of the results generated by applying the function to each element
of the sequence.</summary>
<remarks>The elements are averaged using the <c>+</c> operator, <c>DivideByInt</c> method and <c>Zero</c> property
associated with the generated type.</remarks>
<param name="projection">A function applied to transform each element of the sequence.</param>
<param name="source">The input sequence.</param>
<returns>The result sequence.</returns>
<exception cref="System.ArgumentNullException">Thrown when the input sequence is null.</exception>
<exception cref="System.ArgumentException">Thrown when the input sequence has zero elements.</exception>
Multiple items
val tp1 : TextVectorizer
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val trainBow : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val testBow : LabelledBagOfWords []
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val fittedClassifier : NbClassifierInfo
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val trainEval : Accuracy
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
Multiple items
val testEval : Accuracy
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>
--------------------
CsvProvider<...>() : CsvProvider<...>
CsvProvider<...>(rows: Collections.Generic.IEnumerable<CsvProvider<...>.Row>) : CsvProvider<...>