MCPcopy Create free account

hub / github.com/PacktCode/Practical-Machine-Learning / functions

Functions479 in github.com/PacktCode/Practical-Machine-Learning

↓ 1 callersMethodatMostK
Compute a symmetric two-dimensional array from a non-symmetric two-dimensional array M by taking the minimum between M and M<sup>T</sup>. @param M
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:212
↓ 1 callersMethodbuildDescriptor
(int numberOfFeatures)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:82
↓ 1 callersMethodbuildForest
(int numberOfTrees, Data data)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:27
↓ 1 callersMethodbuild_ensemble
Generate bagged ensemble
python-sckit-learn/chapter13/ensembleexample/ensemble.py:546
↓ 1 callersFunctionbuild_model_library
(model_types=['dtree'], random_seed=None)
python-sckit-learn/chapter13/ensembleexample/model_library.py:184
↓ 1 callersMethodcolumnStart
Return the indexes of all the beginnings of a column for a flatten square matrix of size n. @param n Size of the matrix @return An array o
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:160
↓ 1 callersMethodcompute
Compute the weighted matrix from the input array of Vectors.
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:105
↓ 1 callersMethodcomputeDistance
Compute the distance between two vectors. @param vector @param vector2 @return The distance between the two vectors.
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:303
↓ 1 callersMethodcomputeDistanceMatrix
Compute the matrix of the distances between all the vectors of the <i>input</i> array. @return A 2-dimensional array of double of the distances.
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:283
↓ 1 callersMethodcomputeKNeighbours
Compute a non-symmetric matrix by keeping for each row the distance of the <i>k</i> nearest points, and setting the rest to 0. @param distances @retu
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:232
↓ 1 callersMethodcomputeNewParameters
(double alpha)
mahout/chapter11/dlexample/src/main/java/AutoencoderLineSearch.java:58
↓ 1 callersMethodcomputeTestError
()
mahout/chapter11/dlexample/src/main/java/AutoencoderFct.java:35
↓ 1 callersFunctionconditional_tree_from_paths
Build a conditional FP-tree from the given prefix paths.
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:177
↓ 1 callersMethodcount
(self, count)
python-sckit-learn/chapter7/fpgrowthexample/test-fpgrowth.py:27
↓ 1 callersFunctioncreateOneHotDict
(inputData)
spark/chapter10/linearregressionexample/ClickRate.py:49
↓ 1 callersMethodcreateOutput
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:203
↓ 1 callersFunctioncreate_target
(segments)
python-sckit-learn/chapter6/svmexample/svm_test.py:20
↓ 1 callersFunctiondataFromFile
Function which reads from the file and yields a generator
python-sckit-learn/chapter7/aprioriexample/apriori.py:125
↓ 1 callersFunctiondo_cross_validation
Cross-Validation-routine from svm-train */
julia/chapter6/svmexample/reference/libsvm_wrapper.c:152
↓ 1 callersFunctionevaluate
Train a given classifier n times and prints his confusion matrix and the accuracy of the classifier with a margin of error (by Chebychev
python-sckit-learn/chapter9/naivebayesexample/read-spam-data.py:58
↓ 1 callersMethodevaluateOnSimilarity
(int k,int SimilarityMeasure)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/RecommenderEvaluator.java:57
↓ 1 callersFunctionevaluate_cross_validation
(clf, X, y, K)
python-sckit-learn/chapter6/svmexample/svm.py:51
↓ 1 callersMethodfileAsStringArray
(String file, int numberToRead)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:166
↓ 1 callersMethodfileWrite
(File file,String text)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/RecommenderEvaluator.java:75
↓ 1 callersMethodfindFrequencies
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:175
↓ 1 callersFunctionfind_frequent_itemsets
Find frequent itemsets in the given transactions using FP-growth. This function returns a generator instead of an eagerly-populated list of i
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:16
↓ 1 callersFunctionfind_with_suffix
(tree, suffix)
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:55
↓ 1 callersMethodfit_models
Perform internal cross-validation fit
python-sckit-learn/chapter13/ensembleexample/ensemble.py:294
↓ 1 callersMethodgaussian
Compute the Gaussian similarity function for non-zero values. @param d Input value @return Calculated value
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:175
↓ 1 callersMethodgetAlpha
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:106
↓ 1 callersMethodgetAlphaSteps
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:178
↓ 1 callersMethodgetFilters
(AutoencoderParams params)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:284
↓ 1 callersMethodgetInitMomentum
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:122
↓ 1 callersFunctiongetItemSetTransactionList
(data_iterator)
python-sckit-learn/chapter7/aprioriexample/apriori.py:47
↓ 1 callersMethodgetLineSearchStrategy
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:170
↓ 1 callersMethodgetNum_hidden
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:162
↓ 1 callersFunctiongetP
get probability
spark/chapter10/linearregressionexample/ClickRate.py:126
↓ 1 callersMethodgetSparsityArray
()
mahout/chapter11/dlexample/src/main/java/AutoencoderComputedParams.java:28
↓ 1 callersMethodgetWeightedMatrix
@return the weighted Matrix
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:26
↓ 1 callersMethodget_QD
julia/chapter6/svmexample/reference/svm.cpp:1276
↓ 1 callersFunctionget_activation_string
(x, weights)
python-sckit-learn/chapter11/dlexample/perceptron.py:90
↓ 1 callersMethodincrement
Increment the count associated with this node's item.
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:261
↓ 1 callersMethodinitUpdater
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:69
↓ 1 callersMethodinitializeWeights
()
mahout/chapter11/dlexample/src/main/java/Autoencoder.java:134
↓ 1 callersMethodinsert
(Long item, Float value)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/Utilities.java:25
↓ 1 callersMethodinspect
(self)
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:166
↓ 1 callersFunctionjoinSet
Join a set with itself and returns the n-element itemsets
python-sckit-learn/chapter7/aprioriexample/apriori.py:42
↓ 1 callersFunctionload_spam_ds
Loads the data from file and build the dataset in scikit format. () -> Dataset
python-sckit-learn/chapter9/naivebayesexample/read-spam-data.py:12
↓ 1 callersMethodmain
(String[] args)
mahout/chapter6/knnexample/test/java/WeightedMatrixTest.java:15
↓ 1 callersFunctionmulticlass_probability
Method 2 from the multiclass_prob paper by Wu, Lin, and Weng
julia/chapter6/svmexample/reference/svm.cpp:1814
↓ 1 callersFunctiononeHotEncoding
create sparse vector of features
spark/chapter10/linearregressionexample/ClickRate.py:68
↓ 1 callersMethodoutputResults
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:224
↓ 1 callersFunctionparsePoint
from each line remove first (label) and parse rest (features) into a list of (featureID, value) tuples.
spark/chapter10/linearregressionexample/ClickRate.py:54
↓ 1 callersFunctionparse_args
()
python-sckit-learn/chapter13/ensembleexample/ensemble_predict.py:42
↓ 1 callersFunctionparse_args
()
python-sckit-learn/chapter13/ensembleexample/ensemble_train.py:83
↓ 1 callersMethodperformPatternMining
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:188
↓ 1 callersMethodprecompute
()
mahout/chapter11/dlexample/src/main/java/AutoencoderLineSearch.java:44
↓ 1 callersFunctionpredict
(x, weights)
python-sckit-learn/chapter11/dlexample/perceptron.py:83
↓ 1 callersFunctionprintResults
prints the generated itemsets sorted by support and the confidence rules sorted by confidence
python-sckit-learn/chapter7/aprioriexample/apriori.py:115
↓ 1 callersFunctionprint_faces
(images, target, top_n)
python-sckit-learn/chapter6/svmexample/svm.py:23
↓ 1 callersMethodreadFrequentPatterns
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:135
↓ 1 callersMethodreadItemsName
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:78
↓ 1 callersMethodreadRecom
(FileSystem fs1,String outputPath)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/Hadoop.java:76
↓ 1 callersMethodreadTransactions
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:122
↓ 1 callersMethodrowStart
Return the indexes of all the beginnings of a row for a flatten square matrix of size n. @param n Size of the matrix @return An array of i
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:144
↓ 1 callersFunctionrun
Starts the classification Pipeline
python-sckit-learn/chapter9/naivebayesexample/read-spam-data.py:49
↓ 1 callersFunctionrunApriori
run the apriori algorithm. data_iter is a record iterator Return both: - items (tuple, support) - rules ((pretuple, posttuple), con
python-sckit-learn/chapter7/aprioriexample/apriori.py:58
↓ 1 callersMethodrunIteration
(int numberOfTrees, String[] trainDataValues, String[] testDataValues, String descriptor)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:95
↓ 1 callersMethodrunJob
(Path input, Path output, String vectorClassName,Configuration config)
mahout/chapter8/k-meansexample/src/main/java/com/packt/pml/mahout/kmeans/InputDriver.java:97
↓ 1 callersMethodsaveTree
(int numberOfTrees, DecisionForest forest)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:90
↓ 1 callersMethodsetNum_input
(int num_input)
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:158
↓ 1 callersMethodset_FREQUENCY_ITEM_LIST
(String value)
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:88
↓ 1 callersMethodset_FREQUENCY_ITEM_PATTERNS
(String value)
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:98
↓ 1 callersFunctionsigmoid_predict
julia/chapter6/svmexample/reference/svm.cpp:1803
↓ 1 callersFunctionsigmoid_train
Platt's binary SVM Probablistic Output: an improvement from Lin et al.
julia/chapter6/svmexample/reference/svm.cpp:1690
↓ 1 callersFunctionsolve_c_svc
construct and solve various formulations
julia/chapter6/svmexample/reference/svm.cpp:1425
↓ 1 callersFunctionsolve_epsilon_svr
julia/chapter6/svmexample/reference/svm.cpp:1547
↓ 1 callersFunctionsolve_nu_svc
julia/chapter6/svmexample/reference/svm.cpp:1460
↓ 1 callersFunctionsolve_nu_svr
julia/chapter6/svmexample/reference/svm.cpp:1585
↓ 1 callersFunctionsolve_one_class
julia/chapter6/svmexample/reference/svm.cpp:1515
↓ 1 callersMethodsortWeights
Function to sort a two-dimensionnal array @param toSort the array to sort @return The sorted array
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:260
↓ 1 callersFunctionsplit_train_test
Given the dataset, split in two datasets: One is the Training set. Other is the Test set. The proportion is 80% to 20% Respectively
python-sckit-learn/chapter9/naivebayesexample/read-spam-data.py:35
↓ 1 callersFunctionsubsets
Returns non empty subsets of arr
python-sckit-learn/chapter7/aprioriexample/apriori.py:18
↓ 1 callersFunctionsvm_binary_svc_probability
Cross-validation decision values for probability estimates
julia/chapter6/svmexample/reference/svm.cpp:1878
↓ 1 callersFunctionsvm_check_parameter
julia/chapter6/svmexample/reference/svm.cpp:2937
↓ 1 callersFunctionsvm_check_probability_model
julia/chapter6/svmexample/reference/svm.cpp:3058
↓ 1 callersFunctionsvm_cross_validation
Stratified cross validation
julia/chapter6/svmexample/reference/svm.cpp:2296
↓ 1 callersFunctionsvm_destroy_param
julia/chapter6/svmexample/reference/svm.cpp:2931
↓ 1 callersFunctionsvm_free_model_content
julia/chapter6/svmexample/reference/svm.cpp:2889
↓ 1 callersFunctionsvm_get_nr_class
julia/chapter6/svmexample/reference/svm.cpp:2417
↓ 1 callersFunctionsvm_get_svr_probability
julia/chapter6/svmexample/reference/svm.cpp:2429
↓ 1 callersFunctionsvm_save_model
julia/chapter6/svmexample/reference/svm.cpp:2581
↓ 1 callersFunctionsvm_svr_probability
Return parameter of a Laplace distribution
julia/chapter6/svmexample/reference/svm.cpp:1965
↓ 1 callersMethodupdateInitial
(AutoencoderFctGrd result, double alpha)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:166
↓ 1 callersMethodupdateParams
(AutoencoderParams params, AutoencoderParams oldGrad)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:244
MethodAutoencoder
(AutoencoderConfig conf)
mahout/chapter11/dlexample/src/main/java/Autoencoder.java:47
MethodAutoencoderComputedParams
(long numSamples, double[] sparsityArray)
mahout/chapter11/dlexample/src/main/java/AutoencoderComputedParams.java:14
MethodAutoencoderConfig
(ConfigBaseLayer config)
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:31
MethodAutoencoderFct
(Broadcast<AutoencoderParams> params, JavaRDD<Vector> data, AutoencoderConfig conf)
mahout/chapter11/dlexample/src/main/java/AutoencoderFct.java:27
MethodAutoencoderFctGrd
(DenseMatrix w1, DenseMatrix w2, DenseVector b1, DenseVector b2,double value)
mahout/chapter11/dlexample/src/main/java/AutoencoderFctGrd.java:19
← previousnext →101–200 of 479, ranked by callers