_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c7600
// RegisterEncoder registers a converter for encoding a custom type.
c7601
// isValidStructPointer test if input value is a valid struct pointer.
c7602
// Or sets OR conditions
c7603
// WriteTo implments Cond
c7604
// WriteByte appends the byte c to b's buffer. // The returned error is always nil.
c7605
// WriteRune appends the UTF-8 encoding of Unicode code point r to b's buffer. // It returns the length of r and a nil error.
c7606
// WriteString appends the contents of s to b's buffer. // It returns the length of s and a nil error.
c7607
// Delete creates a delete Builder
c7608
// If returns Cond via condition
c7609
// Dialect sets the db dialect of Builder.
c7610
// Where sets where SQL
c7611
// TableName returns the table name
c7612
// Join sets join table and conditions
c7613
// Union sets union conditions
c7614
// Limit sets limitN condition
c7615
// InnerJoin sets inner join
c7616
// LeftJoin sets left join SQL
c7617
// RightJoin sets right join SQL
c7618
// CrossJoin sets cross join SQL
c7619
// FullJoin sets full join SQL
c7620
// And sets AND condition
c7621
// Or sets OR condition
c7622
// Delete sets delete SQL
c7623
// And generates AND conditions
c7624
// Update creates an update Builder
c7625
// And implments And with other conditions
c7626
// Or implments Or with other conditions
c7627
// Select creates a select Builder
c7628
// OrderBy orderBy SQL
c7629
// GroupBy groupby SQL
c7630
// Having having SQL
c7631
// Insert creates an insert Builder
c7632
// Write writes data to Writer
c7633
// Append appends args to Writer
c7634
// ToSQL convert a builder or conditions to SQL and args
c7635
// ToBoundSQL convert a builder or conditions to parameters bound SQL
c7636
// ConvertToBoundSQL will convert SQL and args to a bound SQL
c7637
// Freeze fills in some important offsets in resulting file.
c7638
// Max finds the highest number in a slice
c7639
// PercentileNearestRank finds the relative standing in a slice of floats using the Nearest Rank method
c7640
// QuartileOutliers finds the mild and extreme outliers
c7641
// Quartile returns the three quartile points from a slice of data
c7642
// InterQuartileRange finds the range between Q1 and Q3
c7643
// Midhinge finds the average of the first and third quartiles
c7644
// Trimean finds the average of the median and the midhinge
c7645
// Min finds the lowest number in a set of data
c7646
// Round a float to a specific decimal place or precision
c7647
// Entropy provides calculation of the entropy
c7648
// CumulativeSum calculates the cumulative sum of the input slice
c7649
// SoftMax returns the input values in the range of 0 to 1 // with sum of all the probabilities being equal to one. It // is commonly used in machine learning neural networks.
c7650
// MedianAbsoluteDeviationPopulation finds the median of the absolute deviations from the population median
c7651
// StandardDeviationPopulation finds the amount of variation from the population
c7652
// StandardDeviationSample finds the amount of variation from a sample
c7653
// Validate data for distance calculation
c7654
// ChebyshevDistance computes the Chebyshev distance between two data sets
c7655
// EuclideanDistance computes the Euclidean distance between two data sets
c7656
// Mean gets the average of a slice of numbers
c7657
// GeometricMean gets the geometric mean for a slice of numbers
c7658
// HarmonicMean gets the harmonic mean for a slice of numbers
c7659
// Sum adds all the numbers of a slice together
c7660
// LinearRegression finds the least squares linear regression on data series
c7661
// ExponentialRegression returns an exponential regression on data series
c7662
// LogarithmicRegression returns an logarithmic regression on data series
c7663
// Median gets the median number in a slice of numbers
c7664
// _variance finds the variance for both population and sample data
c7665
// PopulationVariance finds the amount of variance within a population
c7666
// SampleVariance finds the amount of variance within a sample
c7667
// Sigmoid returns the input values in the range of -1 to 1 // along the sigmoid or s-shaped curve, commonly used in // machine learning while training neural networks as an // activation function.
c7668
// float64ToInt rounds a float64 to an int
c7669
// copyslice copies a slice of float64s
c7670
// sortedCopyDif returns a sorted copy of float64s // only if the original data isn't sorted. // Only use this if returned slice won't be manipulated!
c7671
// PercentileNearestRank finds the relative standing using the Nearest Rank method
c7672
// Pearson calculates the Pearson product-moment correlation coefficient between two variables.
c7673
// CovariancePopulation computes covariance for entire population between two variables
c7674
// Check will check a given line if it would be included in the level // filter.
c7675
// SetMinLevel is used to update the minimum log level
c7676
// mkArgs prepares a list of paths for the command line
c7677
// Get a variable by name
c7678
// Render renders the command with a map of variables
c7679
// Push implements Notifier
c7680
// RunProc runs a process to completion, sending output to log
c7681
// RunPreps runs all commands in sequence. Stops if any command returns an error.
c7682
// acceptFunc accepts a run of characters based on a match function
c7683
// Eats and emits a run of whitespace, if any, and returns the next sigificant // rune
c7684
// Eats and emits a run of whitespace and comments, and returns the next // sigificant rune
c7685
// nextSignificantItem returns the next significant item from the input, // ignoring comments and spaces.
c7686
// acceptLine accepts the remainder of a line
c7687
// acceptBareString accepts a bare, unquoted string
c7688
// acceptWord accepts a lowercase word
c7689
// acceptQuotedString accepts a quoted string
c7690
// stateFns // lexPatterns reads and emits consecutive file patterns. Strings can be // interspersed with comments.
c7691
// lexVariables reads a block of variable declarations.
c7692
// lexOptions lexes the options that precede a command specification.
c7693
// lexCommand lexes a single command. Commands can either be unquoted and on a // single line, or quoted and span multiple lines.
c7694
// NewModRunner constructs a new ModRunner
c7695
// ReadConfig parses the configuration file in ConfPath
c7696
// PrepOnly runs all prep functions and exits
c7697
// Gives control of chan to caller
c7698
// Run is the top-level runner for modd
c7699
// Restart the daemon, or start it if it's not yet running