C# Класс ImsInformed.Scoring.ScoreUtil

The input util.
Показать файл Открыть проект

Открытые методы

Метод Описание
MapToZeroOneExponential ( double input, double a, bool inverseMapping = false ) : double
MapToZeroOneExponential ( double input, double x0, double y0, bool inverseMapping = false ) : double

The map to zero one using 1- e^-ax

MapToZeroOneTrignometry ( double input, bool inverseMapping, double ninetyPercentX ) : double

Map a double from 0 to inifinity to [0,1] Range

MoreLikelyThanTargeted ( ObservedPeak a, ObservedPeak b, LikelihoodFunc likelihoodFunc, IImsTarget target ) : bool

The more likely than targeted.

MoreLikelyThanUntargeted ( ObservedPeak a, ObservedPeak b, LikelihoodFunc likelihoodFunc ) : bool

The more likely than.

Приватные методы

Метод Описание
CompareFeatureScore ( PeakScores a, PeakScores b, LikelihoodFunc likelihoodFunc ) : int

The compare feature input.

Описание методов

MapToZeroOneExponential() публичный статический Метод

public static MapToZeroOneExponential ( double input, double a, bool inverseMapping = false ) : double
input double
a double
inverseMapping bool
Результат double

MapToZeroOneExponential() публичный статический Метод

The map to zero one using 1- e^-ax
///
public static MapToZeroOneExponential ( double input, double x0, double y0, bool inverseMapping = false ) : double
input double /// The input. ///
x0 double /// The x 0. ///
y0 double /// The y 0. ///
inverseMapping bool
Результат double

MapToZeroOneTrignometry() публичный статический Метод

Map a double from 0 to inifinity to [0,1] Range
public static MapToZeroOneTrignometry ( double input, bool inverseMapping, double ninetyPercentX ) : double
input double /// The input. ///
inverseMapping bool /// The inverse mapping. ///
ninetyPercentX double /// The X value to map to 0.9. Used to define a "good" input. ///
Результат double

MoreLikelyThanTargeted() публичный статический Метод

The more likely than targeted.
///
public static MoreLikelyThanTargeted ( ObservedPeak a, ObservedPeak b, LikelihoodFunc likelihoodFunc, IImsTarget target ) : bool
a ImsInformed.Domain.DirectInjection.ObservedPeak /// The a. ///
b ImsInformed.Domain.DirectInjection.ObservedPeak /// The b. ///
likelihoodFunc LikelihoodFunc /// The likelihood func. ///
target IImsTarget /// The target. ///
Результат bool

MoreLikelyThanUntargeted() публичный статический Метод

The more likely than.
public static MoreLikelyThanUntargeted ( ObservedPeak a, ObservedPeak b, LikelihoodFunc likelihoodFunc ) : bool
a ImsInformed.Domain.DirectInjection.ObservedPeak /// The a. ///
b ImsInformed.Domain.DirectInjection.ObservedPeak /// The b. ///
likelihoodFunc LikelihoodFunc /// The likelyhood func. ///
Результат bool