nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.MachineLearning

Microsoft.VisualBasic.MachineLearning 5.0.9762.11310.

Namespaces 19 Types 114 Members 666

01 Namespaces

Microsoft.VisualBasic.MachineLearning

The machine learning framework root: the core learning abstractions and the shared data preprocessing models.

TypeSummary Members
Extensions 3
IterationReporter 用于报告基于迭代的机器学习算法的状态进度之类的信息的框架 2
Model the base type of the machine learning model 0

Microsoft.VisualBasic.MachineLearning.ComponentModel

The machine learning component model: the shared interfaces implemented by the learning algorithms.

TypeSummary Members
ConstantStatus0 A constant value as the initial value generator: the ConstantStatus0.C value will always be generated. 3
RandomStatus0 Generate the initial value from a uniform random distribution: the value is sampled from the interval between RandomStatus0.Min and RandomStatus0.Max. 6
Status0 The abstract model of the initial value generator of the network node status. 4

Microsoft.VisualBasic.MachineLearning.ComponentModel.Activations

Activation functions for the neural network models.

TypeSummary Members
ActiveFunction 激活函数的存储于XML文档之中的数据模型 13
BipolarSigmoid Bipolar sigmoid activation function. 7
HyperbolicTangent The hyperbolic tangent activation function, its output range is [-1, 1]. 4
IActivationFunction Activation function interface. 8
Identical The identity activation function: f(x) = x. 4
QLinear A quadratic-linear activation function: f(x) = ln(x ^ 2) when x >= 1, otherwise zero. 4
ReLU The rectified linear unit (ReLU) activation function: the input value which is less than the threshold will be clipped as the threshold value. 11
Sigmoid Sigmoid activation function. 8
SigmoidFunction https://github.com/trentsartain/Neural-Network/blob/master/NeuralNetwork/NeuralNetwork/Network/Sigmoid.cs 5
Sinc The sinc (cardinal sine) activation function: f(x) = sin(x) / x. 4
Softplus The softplus activation function: f(x) = ln(1 + e ^ x). 4
Threshold Threshold activation function. 6

Microsoft.VisualBasic.MachineLearning.ComponentModel.StoreProcedure

A common dataset for machine learnings

TypeSummary Members
DataSet A training dataset that stored in XML file. 9
Diagnostics The diagnostic helpers of the training DataSet object. 2
MLDataFrame a collection of the samples data 6
NormalizeMatrix A matrix for make the sample input normalized.(进行所输入的样本数据的归一化的矩阵) 8
Sample The training dataset, a data point with known label 8
SampleData the in-memory sample data object 15
SampleHelper The projection helpers of the sample data collection. 1
SampleList the Sample collection 8

Microsoft.VisualBasic.MachineLearning.Darwinism

The Darwinism genetic algorithm framework root.

TypeSummary Members
DifferentialEvolution In evolutionary computation, differential evolution (DE) is a method that optimizes a problem by iteratively trying to improve a candidate solution with regard to a given measure… 3
IIndividual The individual model of the differential evolution: a chromosome which exposes its gene values as a indexable real valued vector. 2

Microsoft.VisualBasic.MachineLearning.Darwinism.DifferentialEvolution

TypeSummary Members
New The delegate function for creates a new (usually randomized) IIndividual object. 0

Microsoft.VisualBasic.MachineLearning.Darwinism.GAF

The genetic algorithm framework (GAF): genomes, populations and the evolution engine.

TypeSummary Members
EnvironmentDriver 发生种群进化所需要的环境压力产生器 7
Fitness A function wrapper for calculate genome fitness in current environment. 2
GeneticAlgorithm The GA engine core 12
outPrint One iteration report record of the genetic algorithm evolution process. 6

Microsoft.VisualBasic.MachineLearning.Darwinism.GAF.Helper

Helper types of the genetic algorithm framework.

TypeSummary Members
GeneticHelper 在这个模块之中,涉及到SparseVector的所有函数都是应用于处理非常大的系统而构建的 7
InitializationHelper The helper module for creates the initial population of a genetic algorithm. 3
Memory Dump the genetic algorithm evolution process into a text table file, so that the optimization procedure can be reviewed afterwards. 4

Microsoft.VisualBasic.MachineLearning.Darwinism.GAF.Population

Population models of the genetic algorithm framework.

TypeSummary Members
IPopulation The abstract model of the genetic algorithm population. 3
ParallelComputeFitness implements this interface for create custom parallel compute api function for run the genetic algorithm 1
ParallelDataSetCompute A compute implementation for the case that the parallelism is already handled inside the fitness calculation function itself, so that the individuals of the population are eval… 2
ParallelPopulationCompute A parallel compute implementation which distributes the population individuals onto all of the available cpu cores. 1
Population The default genetic algorithm population model. 11
PopulationCollection The abstract chromosome collection of one genetic algorithm population. 7
PopulationCollectionCreator The delegate function for creates a new empty chromosome collection object. 0
PopulationList A PopulationCollection implementation which is based on the List object. 6

Microsoft.VisualBasic.MachineLearning.Darwinism.GAF.Population.ParallelPopulationCompute`1

TypeSummary Members
ParallelTask The parallel task which evaluates the fitness value of the assigned chromosome individuals on one cpu core. 4

Microsoft.VisualBasic.MachineLearning.Darwinism.GAF.Population.SubstitutionStrategy

Substitution strategies used when evolving genetic algorithm populations.

TypeSummary Members
EliteReplacement 种群的精英杂交更替策略 3
Extensions 1
IStrategy The interface of the population substitution strategies: it decides how the new individuals replace the old ones and therefore controls the convergence speed and the diversity… 2
SimpleReplacement 最简单的种群更替策略 2
Strategies enums of the population substitution strategies 4

Microsoft.VisualBasic.MachineLearning.Darwinism.Models

Model definitions of the Darwinism framework.

TypeSummary Members
Chromosome In computer programming, genetic representation is a way of representing solutions/individuals in evolutionary computation methods. 3
FitnessPool Compute fitness and cache the result data in this pool. 1
GeneralFitnessPool Compute fitness and cache the result data in this pool. 8

Microsoft.VisualBasic.MachineLearning.IterationReporter`1

TypeSummary Members
DoReport The delegate callback for reports the training progress and status of a iteration based machine learning algorithm. 3

Microsoft.VisualBasic.MachineLearning.QLearning

The Q-Learning reinforcement learning algorithm.

TypeSummary Members
Action One specific environment state have some possible actions, but there is just one best action on the current environment state based on the accumulate q-values 3
IQStateFeatureSet The feature set description of the Q-learning state objects, this interface is a helper for writing the cdf model file. 4
QLearning Q Learning sample class The goal of this code sample is for the character @ to reach the goal area G compile using "javac QLearning.java" test using "java QLearning"… 11
QState The abstract environment state model of the tabular Q-learning. 10
QTable The heart of the Q-learning algorithm, the QTable contains the table which maps states, actions and their Q values. 16

Microsoft.VisualBasic.MachineLearning.QLearning.DataModel

Data models of the Q-Learning implementation.

TypeSummary Members
IndexCurve 属性是时间 3
IQTable The common interface of the tabular Q-learning models. 5
QModel Data model of the QTable, you can using this object to stores the trained QL_AI into a file. 7

Microsoft.VisualBasic.MachineLearning.RandomForests

Random Forests ## Overview We assume that the user knows about the construction Of Single classification trees. Random Forests grows many classification trees. To classify a New Object from an input vector, put the input vector down Each Of the trees In the forest. Each tree gives a classification, And we say the tree "votes" For that Class. The forest chooses the classification having the most votes (over all the trees In the forest). Each tree Is grown as follows + If the number Of cases In the training Set Is N, sample N cases at random - but With replacement, from the original data. This sample will be the training Set For growing the tree. + If there are M input variables, a number m<<M Is specified such that at Each node, m variables are selected at random out Of the M And the best split On these m Is used To split the node. The value Of m Is held constant during the forest growing. + Each tree Is grown to the largest extent possible. There Is no pruning. In the original paper on random forests, it was shown that the forest error rate depends on two things: + The correlation between any two trees In the forest. Increasing the correlation increases the forest Error rate. + The strength Of Each individual tree In the forest. A tree With a low Error rate Is a strong classifier. Increasing the strength Of the individual trees decreases the forest Error rate. Reducing m reduces both the correlation And the strength. Increasing it increases both. Somewhere In between Is an "optimal" range Of m - usually quite wide. Using the oob Error rate (see below) a value Of m In the range can quickly be found. This Is the only adjustable parameter To which random forests Is somewhat sensitive. ## Features of Random Forests + It Is unexcelled in accuracy among current algorithms. + It runs efficiently On large data bases. + It can handle thousands Of input variables without variable deletion. + It gives estimates Of what variables are important In the classification. + It generates an internal unbiased estimate Of the generalization Error As the forest building progresses. + It has an effective method For estimating missing data And maintains accuracy When a large proportion Of the data are missing. + It has methods For balancing Error In Class population unbalanced data sets. + Generated forests can be saved For future use On other data. + Prototypes are computed that give information about the relation between the variables And the classification. + It computes proximities between pairs Of cases that can be used In clustering, locating outliers, Or (by scaling) give interesting views Of the data. + The capabilities Of the above can be extended To unlabeled data, leading To unsupervised clustering, data views And outlier detection. + It offers an experimental method For detecting variable interactions. ## Remarks Random forests does Not overfit. You can run As many trees As you want. It Is fast. Running On a data Set With 50,000 cases And 100 variables, it produced 100 trees In 11 minutes On a 800Mhz machine. For large data sets the major memory requirement Is the storage Of the data itself, And three Integer arrays With the same dimensions As the data. If proximities are calculated, storage requirements grow As the number Of cases times the number Of trees.

TypeSummary Members
Branch One node (branch) of a random forest decision tree. 22
Data the training dataset 8
File The legacy parameter file reader of the RanFog program. 1
LF_c Loss function used for continuous features 10
LossFunction This class provides a method to calculate the Loss function of a given attribute. 3
RanFog Random Forest for classified and regression problems 11
Result The result object of the random forest training procedure. 4

Microsoft.VisualBasic.MachineLearning.SVM

Support vector machines: kernels, solvers and the SVM model.

TypeSummary Members
Cache 5
GaussianTransform A transform which learns the mean and variance of a sample set and uses these to transform new data so that it has zero mean and unit variance. 4
GaussianTransformText 2
GridSquare Class representing a grid square result. 7
head_t 5
IRangeTransform Interface implemented by range transforms. 2
Kernel 6
KernelType Contains the various kernel types this library can use. 10
LibSVM The LibSVM style high level api for training a support vector machine model from a raw problem definition. 1
Logging The console logging helper of the LibSVM port. 3
Model Encapsulates an SVM Model. 16
ModelText 2
Node Encapsulates a node in a Problem vector, with an index and a value (for more efficient representation of sparse data. 9
ONE_CLASS_Q The one-class SVM formulation of the kernel matrix. 4
Parameter This class contains the various parameters which can affect the way in which an SVM is learned. 19
ParameterSelection This class contains routines which perform parameter selection for a model which uses C-SVC and an RBF kernel. 22
PrecomputedKernel Class encapsulating a precomputed kernel, where each position indicates the similarity score for two items in the training data. 3
Prediction Class containing the routines to perform class membership prediction using a trained SVM. 5
Problem Encapsulates a problem, or set of vectors which must be classified. 10
ProblemText 2
Procedures 21
RangeTransform Class which encapsulates a range transformation. 9
Scaling Deals with the scaling of Problems so they have uniform ranges across all dimensions in order to result in better SVM performance. 1
SolutionInfo The solution information of the support vector machine solver, which contains everything of the solution except the alpha coefficients. 6
Solver An SMO algorithm in Fan et al., JMLR 6(2005), p. 4
Solver_NU Solver for nu-svm classification and regression additional constraint: e^T \alpha = constant 2
SVC_Q Q matrices for various formulations 4
SVMExtensions 5
SVMModel A trained svm data model that can be apply for classify analysis. 6
SVMMultipleSet A collection of trained svm data model that can be apply for multiple dimension class classify analysis. 3
SVMPrediction The prediction result of a support vector machine model. 5
SvmType Contains all of the types of SVM this library can model. 10
SVMUtilities svm demo test 7
SVR_Q The epsilon-SVR / nu-SVR formulation of the kernel matrix: the kernel matrix is expanded to twice of the sample size so that the two slack variables of each sample can be handl… 4
Training Class containing the routines to train SVM models. 3
TransformText 2

Microsoft.VisualBasic.MachineLearning.SVM.Procedures

TypeSummary Members
decision_function The decision function of one binary sub-problem: it holds the lagrange multipliers of the samples and the bias term. 3

Microsoft.VisualBasic.MachineLearning.SVM.StorageProcedure

Storage procedures of the support vector machine model.

TypeSummary Members
GaussianTransformModel The JSON serializable data model of a GaussianTransform object. 6
Model The JSON serializable data model of a trained LibSVM model. 15
ProblemTable A tabular training data model: each SupportVector row contains the feature values and the class labels of multiple topics. 7
RangeTransformModel The JSON serializable data model of a RangeTransform object. 9
supportNodeVector The JSON serializable data model of a support vector: the sparse Node array is stored as two separated index/value arrays. 4
SupportVector data -> labels 2
SvmModelJSON The JSON serializable storage model of a complete SVMModel object, which contains the inner model, the range transform and the class label factors. 7
SVMMultipleSetJSON The JSON serializable storage model of a SVMMultipleSet object. 5