_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c164900 | train | // Creates mat.Vector of most likely component for each observation | {
"resource": ""
} | ||
c164901 | train | // Returns a symmetric matrix with variance on the diagonal | {
"resource": ""
} | ||
c164902 | train | // Creates an n_comps x n_feats array of means | {
"resource": ""
} | ||
c164903 | train | // Creates a n_comps array of n_feats x n_feats mat.Symmetrics | {
"resource": ""
} | ||
c164904 | train | // Compues the euclidian distance between two parameters | {
"resource": ""
} | ||
c164905 | train | // Helper functions
// Finds the min value of a mat.Vector | {
"resource": ""
} | ||
c164906 | train | // Find the max value of a mat.Vector | {
"resource": ""
} | ||
c164907 | train | // Converts a mat.Vector to an array of ints | {
"resource": ""
} | ||
c164908 | train | // Computes column Means of a mat.Dense | {
"resource": ""
} | ||
c164909 | train | // Subest a mat.Dense with rows matching a target value | {
"resource": ""
} | ||
c164910 | train | // Returns values for a square array with ones on the main diagonal | {
"resource": ""
} | ||
c164911 | train | // Generates an array of values for symmetric matrix | {
"resource": ""
} | ||
c164912 | train | // SerializeInstancesToDenseARFF writes the given FixedDataGrid to a
// densely-formatted ARFF file. | {
"resource": ""
} | ||
c164913 | train | // SerializeInstancesToDenseARFFWithAttributes writes the given FixedDataGrid to a
// densely-formatted ARFF file with the header Attributes in the order given. | {
"resource": ""
} | ||
c164914 | train | // ParseARFFGetRows returns the number of data rows in an ARFF file. | {
"resource": ""
} | ||
c164915 | train | // ParseDenseARFFToInstances parses the dense ARFF File into a FixedDataGrid | {
"resource": ""
} | ||
c164916 | train | // NewOneVsAllModel creates a new OneVsAllModel. The argument
// must be a function which returns a base.Classifier ready for training. | {
"resource": ""
} | ||
c164917 | train | // Build builds the kdtree with specific data. | {
"resource": ""
} | ||
c164918 | train | // buildHandle builds the kdtree recursively. | {
"resource": ""
} | ||
c164919 | train | // NewInstancesViewFromVisible creates a new InstancesView from a source
// FixedDataGrid, a slice of row numbers and a slice of Attributes.
//
// Only the rows specified will appear in this InstancesView, and they will
// appear in the same order they appear within the rows array.
//
// Only the Attributes specified w... | {
"resource": ""
} | ||
c164920 | train | // NewInstancesViewFromAttrs creates a new InstancesView from a source
// FixedDataGrid and a slice of Attributes.
//
// Only the Attributes specified will appear in this InstancesView. | {
"resource": ""
} | ||
c164921 | train | // GetAttribute returns an Attribute specification matching an Attribute
// if it has not been filtered.
//
// The AttributeSpecs returned are the same as those returned by the
// source FixedDataGrid. | {
"resource": ""
} | ||
c164922 | train | // AllAttributes returns every Attribute which hasn't been filtered. | {
"resource": ""
} | ||
c164923 | train | // AddClassAttribute adds the given Attribute to the set of defined
// class Attributes, if it hasn't been filtered. | {
"resource": ""
} | ||
c164924 | train | // RemoveClassAttribute removes the given Attribute from the set of
// class Attributes. | {
"resource": ""
} | ||
c164925 | train | // AllClassAttributes returns all the Attributes currently defined
// as being class Attributes. | {
"resource": ""
} | ||
c164926 | train | // Size Returns the number of Attributes and rows this InstancesView
// contains. | {
"resource": ""
} | ||
c164927 | train | // String returns a human-readable summary of this InstancesView. | {
"resource": ""
} | ||
c164928 | train | // Attributes returns a slice of Attributes in this FixedAttributeGroup | {
"resource": ""
} | ||
c164929 | train | // AddAttribute adds an attribute to this FixedAttributeGroup | {
"resource": ""
} | ||
c164930 | train | // NewKnnClassifier returns a new classifier | {
"resource": ""
} | ||
c164931 | train | // Fit stores the training data for later | {
"resource": ""
} | ||
c164932 | train | // Save outputs a given KNN classifier. | {
"resource": ""
} | ||
c164933 | train | // SaveWithPrefix outputs KNN as part of another file. | {
"resource": ""
} | ||
c164934 | train | // Load reloads a given KNN classifier when it's the only thing in the output file. | {
"resource": ""
} | ||
c164935 | train | // LoadWithPrefix reloads a given KNN classifier when it's part of another file. | {
"resource": ""
} | ||
c164936 | train | // ReloadKNNClassifier reloads a KNNClassifier when it's the only thing in an output file. | {
"resource": ""
} | ||
c164937 | train | // NewKnnRegressor mints a new classifier. | {
"resource": ""
} | ||
c164938 | train | // NewMultiLayerNet returns an underlying
// Network conceptuallyorganised into layers
//
// Layers variable = slice of integers representing
// node count at each layer. | {
"resource": ""
} | ||
c164939 | train | // String returns a human-readable summary of this network. | {
"resource": ""
} | ||
c164940 | train | // Predict uses the underlying network to produce predictions for the
// class variables of X.
//
// Can only predict one CategoricalAttribute at a time, or up to n
// FloatAttributes. Set or unset ClassAttributes to work around this
// limitation. | {
"resource": ""
} | ||
c164941 | train | // InstancesFromMat64 returns a new Mat64Instances from a literal provided. | {
"resource": ""
} | ||
c164942 | train | // GetAttribute returns an AttributeSpec from an Attribute field. | {
"resource": ""
} | ||
c164943 | train | // AllAttributes returns every defined Attribute. | {
"resource": ""
} | ||
c164944 | train | // AddClassAttribute adds an attribute to the class set. | {
"resource": ""
} | ||
c164945 | train | // RemoveClassAttribute removes an attribute to the class set. | {
"resource": ""
} | ||
c164946 | train | // AllClassAttributes returns every class attribute. | {
"resource": ""
} | ||
c164947 | train | // Get returns the bytes at a given position | {
"resource": ""
} | ||
c164948 | train | // MapOverRows is a convenience function for iteration | {
"resource": ""
} | ||
c164949 | train | // Size returns the number of Attributes, then the number of rows | {
"resource": ""
} | ||
c164950 | train | // getSplitEntropyFast determines the entropy of the target
// class distribution after splitting on an base.Attribute.
// It is similar to getSplitEntropy, but accepts array of slices,
// to avoid map access overhead. | {
"resource": ""
} | ||
c164951 | train | // getSplitEntropy determines the entropy of the target
// class distribution after splitting on an base.Attribute | {
"resource": ""
} | ||
c164952 | train | // getBaseEntropy determines the entropy of the target
// class distribution before splitting on an base.Attribute | {
"resource": ""
} | ||
c164953 | train | // windows api to get the console screen buffer info | {
"resource": ""
} | ||
c164954 | train | // Run executes the Packer build step that creates a GCE machine image.
//
// The image is created from the persistent disk used by the instance. The
// instance must be deleted and the disk retained before doing this step. | {
"resource": ""
} | ||
c164955 | train | // RenderInterface renders any value and returns the resulting value. | {
"resource": ""
} | ||
c164956 | train | // ValidateInterface renders any value and returns the resulting value. | {
"resource": ""
} | ||
c164957 | train | // Include checks whether a key should be included. | {
"resource": ""
} | ||
c164958 | train | // CheckFloatingIP gets a floating IP by its ID and checks if it is already
// associated with any internal interface.
// It returns floating IP if it can be used. | {
"resource": ""
} | ||
c164959 | train | // FindFreeFloatingIP returns free unassociated floating IP.
// It will return first floating IP if there are many. | {
"resource": ""
} | ||
c164960 | train | // GetInstancePortID returns internal port of the instance that can be used for
// the association of a floating IP.
// It will return an ID of a first port if there are many. | {
"resource": ""
} | ||
c164961 | train | // CheckFloatingIPNetwork checks provided network reference and returns a valid
// Networking service ID. | {
"resource": ""
} | ||
c164962 | train | // GetFloatingIPNetworkIDByName searches for the external network ID by the provided name. | {
"resource": ""
} | ||
c164963 | train | // waitForState will spin in a loop forever waiting for state to
// reach a certain target. | {
"resource": ""
} | ||
c164964 | train | // MultistepDebugFn will return a proper multistep.DebugPauseFn to
// use for debugging if you're using multistep in your builder. | {
"resource": ""
} | ||
c164965 | train | // Creates the main directory used to house the VMs files and folders
// during the build | {
"resource": ""
} | ||
c164966 | train | // Cleanup removes the build directory | {
"resource": ""
} | ||
c164967 | train | // New returns a flag.Value implementation for parsing flags with a one-of-a-set value | {
"resource": ""
} | ||
c164968 | train | // Runs the provisioners in order. | {
"resource": ""
} | ||
c164969 | train | // Run sets the value of "parallels_tools_path". | {
"resource": ""
} | ||
c164970 | train | // Run sets up the output directory. | {
"resource": ""
} | ||
c164971 | train | // Core returns the core for the given template given the configured
// CoreConfig and user variables on this Meta. | {
"resource": ""
} | ||
c164972 | train | // BuildNames returns the list of builds that are in the given core
// that we care about taking into account the only and except flags. | {
"resource": ""
} | ||
c164973 | train | // FlagSet returns a FlagSet with the common flags that every
// command implements. The exact behavior of FlagSet can be configured
// using the flags as the second parameter, for example to disable
// build settings on the commands that don't handle builds. | {
"resource": ""
} | ||
c164974 | train | // Run uploads a file containing the version of Parallels Desktop. | {
"resource": ""
} | ||
c164975 | train | // Prepare performs basic validation on a TargetImageConfig struct. | {
"resource": ""
} | ||
c164976 | train | // Run adds a virtual CD-ROM device to the VM and attaches Parallels Tools ISO image.
// If ISO image is not specified, then this step will be skipped. | {
"resource": ""
} | ||
c164977 | train | // Cleanup removes the virtual CD-ROM device attached to the VM. | {
"resource": ""
} | ||
c164978 | train | // NewArtifact returns a Parallels artifact containing the files
// in the given directory. | {
"resource": ""
} | ||
c164979 | train | // DebugPauseDefault is the default pause function when using the
// DebugRunner if no PauseFn is specified. It outputs some information
// to stderr about the step and waits for keyboard input on stdin before
// continuing. | {
"resource": ""
} | ||
c164980 | train | // SetExited is a helper for setting that this process is exited. This
// should be called by communicators who are running a remote command in
// order to set that the command is done. | {
"resource": ""
} | ||
c164981 | train | // Wait for command exit and return exit status | {
"resource": ""
} | ||
c164982 | train | // CommHost returns the VM's IP address which should be used to access it by SSH. | {
"resource": ""
} | ||
c164983 | train | // Unmarshal is wrapper around json.Unmarshal that returns user-friendly
// errors when there are syntax errors. | {
"resource": ""
} | ||
c164984 | train | // generateUserData returns the user data as a base64 encoded string. | {
"resource": ""
} | ||
c164985 | train | // Decode decodes the configuration into the target and optionally
// automatically interpolates all the configuration as it goes. | {
"resource": ""
} | ||
c164986 | train | // DetectContext builds a base interpolate.Context, automatically
// detecting things like user variables from the raw configuration params. | {
"resource": ""
} | ||
c164987 | train | // MultiErrorAppend is a helper function that will append more errors
// onto a MultiError in order to create a larger multi-error. If the
// original error is not a MultiError, it will be turned into one. | {
"resource": ""
} | ||
c164988 | train | // ServerStateRefreshFunc returns a StateRefreshFunc that is used to watch
// an openstack server. | {
"resource": ""
} | ||
c164989 | train | // WaitForState watches an object and waits for it to achieve a certain
// state. | {
"resource": ""
} | ||
c164990 | train | // Tells whether or not the underlying process has exited. | {
"resource": ""
} | ||
c164991 | train | // Returns a builder implementation that is communicating over this
// client. If the client hasn't been started, this will start it. | {
"resource": ""
} | ||
c164992 | train | // Returns a hook implementation that is communicating over this
// client. If the client hasn't been started, this will start it. | {
"resource": ""
} | ||
c164993 | train | // Returns a post-processor implementation that is communicating over
// this client. If the client hasn't been started, this will start it. | {
"resource": ""
} | ||
c164994 | train | // Returns a provisioner implementation that is communicating over this
// client. If the client hasn't been started, this will start it. | {
"resource": ""
} | ||
c164995 | train | // Get mac address for VM. | {
"resource": ""
} | ||
c164996 | train | // Get ip address for mac address. | {
"resource": ""
} | ||
c164997 | train | // Get host name from ip address | {
"resource": ""
} | ||
c164998 | train | // Finds the IP address of a host adapter connected to switch | {
"resource": ""
} | ||
c164999 | train | // Type scan codes to virtual keyboard of vm | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.