Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktCode/Practical-Machine-Learning
/ functions
Functions
479 in github.com/PacktCode/Practical-Machine-Learning
⨍
Functions
479
◇
Types & classes
103
↓ 1 callers
Method
atMostK
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 callers
Method
buildDescriptor
(int numberOfFeatures)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:82
↓ 1 callers
Method
buildForest
(int numberOfTrees, Data data)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:27
↓ 1 callers
Method
build_ensemble
Generate bagged ensemble
python-sckit-learn/chapter13/ensembleexample/ensemble.py:546
↓ 1 callers
Function
build_model_library
(model_types=['dtree'], random_seed=None)
python-sckit-learn/chapter13/ensembleexample/model_library.py:184
↓ 1 callers
Method
columnStart
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 callers
Method
compute
Compute the weighted matrix from the input array of Vectors.
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:105
↓ 1 callers
Method
computeDistance
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 callers
Method
computeDistanceMatrix
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 callers
Method
computeKNeighbours
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 callers
Method
computeNewParameters
(double alpha)
mahout/chapter11/dlexample/src/main/java/AutoencoderLineSearch.java:58
↓ 1 callers
Method
computeTestError
()
mahout/chapter11/dlexample/src/main/java/AutoencoderFct.java:35
↓ 1 callers
Function
conditional_tree_from_paths
Build a conditional FP-tree from the given prefix paths.
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:177
↓ 1 callers
Method
count
(self, count)
python-sckit-learn/chapter7/fpgrowthexample/test-fpgrowth.py:27
↓ 1 callers
Function
createOneHotDict
(inputData)
spark/chapter10/linearregressionexample/ClickRate.py:49
↓ 1 callers
Method
createOutput
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:203
↓ 1 callers
Function
create_target
(segments)
python-sckit-learn/chapter6/svmexample/svm_test.py:20
↓ 1 callers
Function
dataFromFile
Function which reads from the file and yields a generator
python-sckit-learn/chapter7/aprioriexample/apriori.py:125
↓ 1 callers
Function
do_cross_validation
Cross-Validation-routine from svm-train */
julia/chapter6/svmexample/reference/libsvm_wrapper.c:152
↓ 1 callers
Function
evaluate
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 callers
Method
evaluateOnSimilarity
(int k,int SimilarityMeasure)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/RecommenderEvaluator.java:57
↓ 1 callers
Function
evaluate_cross_validation
(clf, X, y, K)
python-sckit-learn/chapter6/svmexample/svm.py:51
↓ 1 callers
Method
fileAsStringArray
(String file, int numberToRead)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:166
↓ 1 callers
Method
fileWrite
(File file,String text)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/RecommenderEvaluator.java:75
↓ 1 callers
Method
findFrequencies
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:175
↓ 1 callers
Function
find_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 callers
Function
find_with_suffix
(tree, suffix)
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:55
↓ 1 callers
Method
fit_models
Perform internal cross-validation fit
python-sckit-learn/chapter13/ensembleexample/ensemble.py:294
↓ 1 callers
Method
gaussian
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 callers
Method
getAlpha
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:106
↓ 1 callers
Method
getAlphaSteps
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:178
↓ 1 callers
Method
getFilters
(AutoencoderParams params)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:284
↓ 1 callers
Method
getInitMomentum
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:122
↓ 1 callers
Function
getItemSetTransactionList
(data_iterator)
python-sckit-learn/chapter7/aprioriexample/apriori.py:47
↓ 1 callers
Method
getLineSearchStrategy
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:170
↓ 1 callers
Method
getNum_hidden
()
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:162
↓ 1 callers
Function
getP
get probability
spark/chapter10/linearregressionexample/ClickRate.py:126
↓ 1 callers
Method
getSparsityArray
()
mahout/chapter11/dlexample/src/main/java/AutoencoderComputedParams.java:28
↓ 1 callers
Method
getWeightedMatrix
@return the weighted Matrix
mahout/chapter6/knnexample/main/java/KNearestNeighbor.java:26
↓ 1 callers
Method
get_QD
julia/chapter6/svmexample/reference/svm.cpp:1276
↓ 1 callers
Function
get_activation_string
(x, weights)
python-sckit-learn/chapter11/dlexample/perceptron.py:90
↓ 1 callers
Method
increment
Increment the count associated with this node's item.
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:261
↓ 1 callers
Method
initUpdater
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:69
↓ 1 callers
Method
initializeWeights
()
mahout/chapter11/dlexample/src/main/java/Autoencoder.java:134
↓ 1 callers
Method
insert
(Long item, Float value)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/Utilities.java:25
↓ 1 callers
Method
inspect
(self)
python-sckit-learn/chapter7/fpgrowthexample/fp_growth.py:166
↓ 1 callers
Function
joinSet
Join a set with itself and returns the n-element itemsets
python-sckit-learn/chapter7/aprioriexample/apriori.py:42
↓ 1 callers
Function
load_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 callers
Method
main
(String[] args)
mahout/chapter6/knnexample/test/java/WeightedMatrixTest.java:15
↓ 1 callers
Function
multiclass_probability
Method 2 from the multiclass_prob paper by Wu, Lin, and Weng
julia/chapter6/svmexample/reference/svm.cpp:1814
↓ 1 callers
Function
oneHotEncoding
create sparse vector of features
spark/chapter10/linearregressionexample/ClickRate.py:68
↓ 1 callers
Method
outputResults
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:224
↓ 1 callers
Function
parsePoint
from each line remove first (label) and parse rest (features) into a list of (featureID, value) tuples.
spark/chapter10/linearregressionexample/ClickRate.py:54
↓ 1 callers
Function
parse_args
()
python-sckit-learn/chapter13/ensembleexample/ensemble_predict.py:42
↓ 1 callers
Function
parse_args
()
python-sckit-learn/chapter13/ensembleexample/ensemble_train.py:83
↓ 1 callers
Method
performPatternMining
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:188
↓ 1 callers
Method
precompute
()
mahout/chapter11/dlexample/src/main/java/AutoencoderLineSearch.java:44
↓ 1 callers
Function
predict
(x, weights)
python-sckit-learn/chapter11/dlexample/perceptron.py:83
↓ 1 callers
Function
printResults
prints the generated itemsets sorted by support and the confidence rules sorted by confidence
python-sckit-learn/chapter7/aprioriexample/apriori.py:115
↓ 1 callers
Function
print_faces
(images, target, top_n)
python-sckit-learn/chapter6/svmexample/svm.py:23
↓ 1 callers
Method
readFrequentPatterns
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:135
↓ 1 callers
Method
readItemsName
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:78
↓ 1 callers
Method
readRecom
(FileSystem fs1,String outputPath)
mahout/chapter13/ensembleexample/src/main/java/com/packt/pml/mahout/ensemble/Hadoop.java:76
↓ 1 callers
Method
readTransactions
()
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMiningJava.java:122
↓ 1 callers
Method
rowStart
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 callers
Function
run
Starts the classification Pipeline
python-sckit-learn/chapter9/naivebayesexample/read-spam-data.py:49
↓ 1 callers
Function
runApriori
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 callers
Method
runIteration
(int numberOfTrees, String[] trainDataValues, String[] testDataValues, String descriptor)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:95
↓ 1 callers
Method
runJob
(Path input, Path output, String vectorClassName,Configuration config)
mahout/chapter8/k-meansexample/src/main/java/com/packt/pml/mahout/kmeans/InputDriver.java:97
↓ 1 callers
Method
saveTree
(int numberOfTrees, DecisionForest forest)
mahout/chapter5/randomforestexample/src/main/java/com/packt/pml/mahout/randomforest/RandomForest.java:90
↓ 1 callers
Method
setNum_input
(int num_input)
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:158
↓ 1 callers
Method
set_FREQUENCY_ITEM_LIST
(String value)
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:88
↓ 1 callers
Method
set_FREQUENCY_ITEM_PATTERNS
(String value)
mahout/chapter7/fpgrowthexample/src/main/java/com/packt/pml/mahout/fpgrowth/FrequentPatternMetrics.java:98
↓ 1 callers
Function
sigmoid_predict
julia/chapter6/svmexample/reference/svm.cpp:1803
↓ 1 callers
Function
sigmoid_train
Platt's binary SVM Probablistic Output: an improvement from Lin et al.
julia/chapter6/svmexample/reference/svm.cpp:1690
↓ 1 callers
Function
solve_c_svc
construct and solve various formulations
julia/chapter6/svmexample/reference/svm.cpp:1425
↓ 1 callers
Function
solve_epsilon_svr
julia/chapter6/svmexample/reference/svm.cpp:1547
↓ 1 callers
Function
solve_nu_svc
julia/chapter6/svmexample/reference/svm.cpp:1460
↓ 1 callers
Function
solve_nu_svr
julia/chapter6/svmexample/reference/svm.cpp:1585
↓ 1 callers
Function
solve_one_class
julia/chapter6/svmexample/reference/svm.cpp:1515
↓ 1 callers
Method
sortWeights
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 callers
Function
split_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 callers
Function
subsets
Returns non empty subsets of arr
python-sckit-learn/chapter7/aprioriexample/apriori.py:18
↓ 1 callers
Function
svm_binary_svc_probability
Cross-validation decision values for probability estimates
julia/chapter6/svmexample/reference/svm.cpp:1878
↓ 1 callers
Function
svm_check_parameter
julia/chapter6/svmexample/reference/svm.cpp:2937
↓ 1 callers
Function
svm_check_probability_model
julia/chapter6/svmexample/reference/svm.cpp:3058
↓ 1 callers
Function
svm_cross_validation
Stratified cross validation
julia/chapter6/svmexample/reference/svm.cpp:2296
↓ 1 callers
Function
svm_destroy_param
julia/chapter6/svmexample/reference/svm.cpp:2931
↓ 1 callers
Function
svm_free_model_content
julia/chapter6/svmexample/reference/svm.cpp:2889
↓ 1 callers
Function
svm_get_nr_class
julia/chapter6/svmexample/reference/svm.cpp:2417
↓ 1 callers
Function
svm_get_svr_probability
julia/chapter6/svmexample/reference/svm.cpp:2429
↓ 1 callers
Function
svm_save_model
julia/chapter6/svmexample/reference/svm.cpp:2581
↓ 1 callers
Function
svm_svr_probability
Return parameter of a Laplace distribution
julia/chapter6/svmexample/reference/svm.cpp:1965
↓ 1 callers
Method
updateInitial
(AutoencoderFctGrd result, double alpha)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:166
↓ 1 callers
Method
updateParams
(AutoencoderParams params, AutoencoderParams oldGrad)
mahout/chapter11/dlexample/src/main/java/AutoencoderLinAlgebra.java:244
Method
Autoencoder
(AutoencoderConfig conf)
mahout/chapter11/dlexample/src/main/java/Autoencoder.java:47
Method
AutoencoderComputedParams
(long numSamples, double[] sparsityArray)
mahout/chapter11/dlexample/src/main/java/AutoencoderComputedParams.java:14
Method
AutoencoderConfig
(ConfigBaseLayer config)
mahout/chapter11/dlexample/src/main/java/AutoencoderConfig.java:31
Method
AutoencoderFct
(Broadcast<AutoencoderParams> params, JavaRDD<Vector> data, AutoencoderConfig conf)
mahout/chapter11/dlexample/src/main/java/AutoencoderFct.java:27
Method
AutoencoderFctGrd
(DenseMatrix w1, DenseMatrix w2, DenseVector b1, DenseVector b2,double value)
mahout/chapter11/dlexample/src/main/java/AutoencoderFctGrd.java:19
← previous
next →
101–200 of 479, ranked by callers