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