MCPcopy Create free account

hub / github.com/Apress/practical-machine-learning-w-rust / functions

Functions270 in github.com/Apress/practical-machine-learning-w-rust

↓ 30 callersMethodpredict
(&self, predict_filename: String)
chapter8/crfsuite-model/src/lib.rs:47
↓ 20 callersMethodinto_feature_vector
(&self)
chapter2/rusty_machine_supervised_algos/src/main.rs:40
↓ 14 callersMethodinto_feature_vector
(&self)
chapter2/ml-utils/src/datasets.rs:37
↓ 14 callersMethodinto_labels
(&self)
chapter2/ml-utils/src/datasets.rs:77
↓ 10 callersMethodinto_targets
(&self)
chapter2/ml-utils/src/datasets.rs:43
↓ 9 callersMethodfit
(&self, py: Python<'_>, path: String)
chapter8/crfsuite-model/src/lib.rs:35
↓ 8 callersFunctionrun
()
chapter2/rust_and_tf/src/seq_nodes.rs:13
↓ 7 callersFunctiongenerate_data
()
chapter2/ml-utils/src/main.rs:115
↓ 7 callersFunctiongenerate_data
()
chapter2/ml-utils/src/unsup_metrics.rs:101
↓ 7 callersMethodrun
(self)
chapter8/crfsuite-model/setup.py:59
↓ 6 callersMethodinto_labels
(&self)
chapter5/jigsaw/src/main.rs:62
↓ 5 callersFunctionget_boston_records_from_file
(filename: impl AsRef<Path>)
chapter2/ml-utils/src/datasets.rs:54
↓ 4 callersFunctionhashset
(data: &[u8])
chapter2/ml-utils/src/main.rs:76
↓ 4 callersFunctionrun
()
chapter2/rustymachine_regression/src/glms.rs:28
↓ 4 callersFunctionrun
()
chapter2/rustlearn_classification_tasks/src/svm.rs:18
↓ 4 callersFunctionrun
()
chapter4/databases/src/neo4j_db.rs:7
↓ 3 callersFunctioncluster_size_sequence_sqsum
(clusters: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:34
↓ 3 callersFunctioncluster_size_sequence_sqsum
(clusters: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:36
↓ 3 callersFunctioncount_pairwise_cooccurence
(clusters1: &Vec<HashSet<u8>>, clusters2: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:54
↓ 3 callersFunctioncount_pairwise_cooccurence
(clusters1: &[HashSet<u64>], clusters2: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:55
↓ 3 callersMethodgrad
(force: f64, state: &Vector)
chapter3/rsrl_custom/src/main.rs:102
↓ 3 callersFunctionoutput_separator
()
chapter3/rusty_machine_unsupervised/src/main.rs:95
↓ 3 callersFunctionprint_type_of
(_: &T)
chapter1/simple-scripts/variables1.rs:3
↓ 3 callersFunctionrun
()
chapter4/data_formats/src/xmlreading.rs:50
↓ 2 callersMethodaction_space
(&self)
chapter3/rsrl_custom/src/main.rs:176
↓ 2 callersFunctioncontingency_table
(clusters1: &Vec<HashSet<u8>>, clusters2: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:20
↓ 2 callersFunctioncontingency_table
(clusters1: &[HashSet<u64>], clusters2: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:22
↓ 2 callersFunctioncreate_xseq_yseq
(data: &[NER])
chapter5/crfsuite-model/src/main.rs:68
↓ 2 callersFunctioncreate_xseq_yseq
(data: &[NER])
chapter8/crfsuite-model/src/lib.rs:104
↓ 2 callersFunctiondeserialize_books
Deserialize from file at `path` into the book mappings.
chapter7/goodbooks-recommender/src/main.rs:116
↓ 2 callersFunctiondownload
Download file from `url` and save it to `destination`.
chapter7/goodbooks-recommender/src/main.rs:52
↓ 2 callersFunctionelements_in_vectr
(vectr: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:44
↓ 2 callersFunctionelements_in_vectr
(vectr: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:45
↓ 2 callersMethodemit
(&self)
chapter3/rsrl_custom/src/main.rs:130
↓ 2 callersFunctionfilter_out_relevant_columns
(samples: &Vec<usize>, gene_expression_measures_matrix: &Array2<f64>)
chapter7/statistics/src/main.rs:59
↓ 2 callersFunctionfilter_specific_samples
(STP: &Vec<String>, group_type: &str)
chapter7/statistics/src/main.rs:41
↓ 2 callersFunctionfind_rate_difference
(data: &Vec<HashMap<User, bool>>)
chapter2/ml-utils/src/hypothesis_testing.rs:43
↓ 2 callersFunctionflower_labels_clusters
(iris_data: Vec<u64>)
chapter3/rusty_machine_unsupervised/src/main.rs:52
↓ 2 callersMethodforward
(&self, xs: &Tensor)
chapter2/iris_classification_tchrs/src/simple_nn.rs:36
↓ 2 callersMethodforward
(&self, xs: &Tensor)
chapter2/iris_classification_tchrs/src/linear_with_sgd.rs:36
↓ 2 callersMethodforward_t
(&self, xs: &Tensor, train: bool)
chapter6/adversarial/src/main.rs:29
↓ 2 callersMethodforward_t
(&self, xs: &Tensor, train: bool)
chapter6/pytorch-image-classification/src/main.rs:129
↓ 2 callersFunctiongenerate_data
(control_size: u32, test_size: u32, p_control: f64, p_test: f64)
chapter2/ml-utils/src/hypothesis_testing.rs:15
↓ 2 callersFunctionhashset
(data: &[u64])
chapter2/ml-utils/src/unsup_metrics.rs:77
↓ 2 callersMethodinto_feature_vector
(&self)
chapter2/nb_classification/src/main.rs:40
↓ 2 callersMethodinto_feature_vector
(&self)
chapter3/rusty_machine_unsupervised/src/main.rs:38
↓ 2 callersMethodinto_int_labels
(&self)
chapter2/ml-utils/src/datasets.rs:86
↓ 2 callersMethodinto_labelencoded_labels
(&self)
chapter2/rusty_machine_supervised_algos/src/main.rs:44
↓ 2 callersMethodinto_labels
(&self)
chapter2/nb_classification/src/main.rs:44
↓ 2 callersMethodinto_labels
(&self)
chapter3/rusty_machine_unsupervised/src/main.rs:42
↓ 2 callersMethodinto_onehot_labels
(&self)
chapter2/rusty_machine_supervised_algos/src/main.rs:53
↓ 2 callersFunctionjaccard_index
(clusters1: &Vec<HashSet<u8>>, clusters2: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:80
↓ 2 callersFunctionmatching_elems_count
(s1: &HashSet<u8>, s2: &HashSet<u8>)
chapter2/ml-utils/src/main.rs:15
↓ 2 callersFunctionmatching_elems_count
(s1: &HashSet<u64>, s2: &HashSet<u64>)
chapter2/ml-utils/src/unsup_metrics.rs:17
↓ 2 callersFunctionmean_of_samples
(samples: &Vec<usize>, gene_expression_measures_matrix: &Array2<f64>)
chapter7/statistics/src/main.rs:73
↓ 2 callersFunctionmodel_prediction
(xtest: Vec<Vec<Attribute>>, model_name: &str)
chapter8/crfsuite-model/src/lib.rs:155
↓ 2 callersFunctionmove_file
move files from source to destination # Arguments `from_path`: the directory that needs to be copied `to_path`: the target directory where the file c
chapter6/pytorch-image-classification/src/main.rs:83
↓ 2 callersMethodpredict
()
chapter8/iris_classification_xgboost/IrisClassificationXgboost.java:3
↓ 2 callersFunctionrand_index
(clusters1: &Vec<HashSet<u8>>, clusters2: &Vec<HashSet<u8>>)
chapter2/ml-utils/src/main.rs:91
↓ 2 callersFunctionrun
()
chapter2/iris_classification_tchrs/src/simple_nn.rs:41
↓ 2 callersMethodstate_space
(&self)
chapter3/rsrl_custom/src/main.rs:169
↓ 2 callersMethodsummarize
(&self)
chapter1/simple-scripts/oops.rs:29
↓ 2 callersFunctionvariance_of_samples
( samples: &Vec<usize>, gene_expression_measures_matrix: &Array2<f64>)
chapter7/statistics/src/main.rs:78
↓ 1 callersFunctionadd_lang
(s: &str)
chapter1/simple-scripts/ownership5.rs:17
↓ 1 callersFunctionadd_lang
(s: String)
chapter1/simple-scripts/ownership2.rs:14
↓ 1 callersFunctionadd_lang
(s: &String)
chapter1/simple-scripts/ownership3.rs:16
↓ 1 callersFunctionadd_lang
(s: &mut String)
chapter1/simple-scripts/ownership4.rs:18
↓ 1 callersFunctionadd_version
(s: &str)
chapter1/simple-scripts/ownership5.rs:13
↓ 1 callersFunctionadd_version
(s: &str)
chapter1/simple-scripts/ownership1.rs:9
↓ 1 callersFunctionadd_version
(s: String)
chapter1/simple-scripts/ownership2.rs:10
↓ 1 callersFunctionadd_version
(s: &String)
chapter1/simple-scripts/ownership3.rs:11
↓ 1 callersFunctionadd_version
(s: &mut String)
chapter1/simple-scripts/ownership4.rs:13
↓ 1 callersFunctionadd_version
(s: &str)
chapter1/simple-scripts/unittestingexample/src/main.rs:7
↓ 1 callersMethodamount_of_other_gases
(&self)
chapter1/simple-scripts/oops.rs:25
↓ 1 callersFunctionbuild_interactions
(data: &[UserReadsBook])
chapter7/goodbooks-recommender/src/main.rs:153
↓ 1 callersFunctionbuild_model
(num_items: usize)
chapter7/goodbooks-recommender/src/main.rs:140
↓ 1 callersFunctioncalc_prob_between
(beta1, beta2)
chapter2/ml-utils/calc_prob.py:25
↓ 1 callersFunctioncheck_accuracy
(preds: &[String], actual: &[String])
chapter5/crfsuite-model/src/main.rs:81
↓ 1 callersFunctioncheck_accuracy
(preds: &[String], actual: &[String])
chapter8/crfsuite-model/src/lib.rs:128
↓ 1 callersFunctionconvert_to_log_scale
(X: &Array2<f64>)
chapter7/statistics/src/main.rs:53
↓ 1 callersFunctioncreate_xseq_for_predict
(data: &[NER_Only_X])
chapter8/crfsuite-model/src/lib.rs:117
↓ 1 callersFunctioncrfmodel_training
(xseq: Vec<Vec<Attribute>>, yseq: Vec<String>, model_name: &str)
chapter5/crfsuite-model/src/main.rs:98
↓ 1 callersFunctioncrfmodel_training
(xseq: Vec<Vec<Attribute>>, yseq: Vec<String>, model_name: &str)
chapter8/crfsuite-model/src/lib.rs:145
↓ 1 callersFunctiondelete_s3_file
(client: &S3Client, bucket: &str, filename: &str)
chapter4/s3_files/src/main.rs:83
↓ 1 callersFunctiondeserialize_model
()
chapter7/goodbooks-recommender/src/main.rs:254
↓ 1 callersFunctiondeserialize_ratings
Deserialize from file at `path` into a vector of `UserReadsBook`.
chapter7/goodbooks-recommender/src/main.rs:96
↓ 1 callersFunctiondifferent_samples
(STP: &Vec<String>)
chapter7/statistics/src/main.rs:47
↓ 1 callersFunctiondownload_data
Download ratings and metadata both.
chapter7/goodbooks-recommender/src/main.rs:82
↓ 1 callersFunctionfgsm_attack
FGSM attack code
chapter6/adversarial/src/main.rs:44
↓ 1 callersFunctionfit
Fit the model. If successful, return the MRR on the test set. Otherwise, return an error.
chapter7/goodbooks-recommender/src/main.rs:187
↓ 1 callersFunctionfit
()
chapter8/iris_classification_xgboost/iris_classification_library/src/lib.rs:45
↓ 1 callersMethodfit
()
chapter8/iris_classification_xgboost/IrisClassificationXgboost.java:2
↓ 1 callersFunctionflower_decoder
(item: f32)
chapter8/iris_classification_xgboost/iris_classification_library/src/lib.rs:36
↓ 1 callersFunctionflower_labels_clusters_gmm
(iris_data: &Vec<f64>)
chapter3/rusty_machine_unsupervised/src/main.rs:80
↓ 1 callersFunctiong
(a, b, c, d)
chapter2/ml-utils/calc_prob.py:22
↓ 1 callersFunctiong0
(a, b, c)
chapter2/ml-utils/calc_prob.py:13
↓ 1 callersFunctiongenerate_zscores
(UC: &Vec<usize>, CD: &Vec<usize>, gene_expression_measures_matrix: &A
chapter7/statistics/src/main.rs:85
↓ 1 callersFunctionget_boston_record
(s: String)
chapter2/ml-utils/src/datasets.rs:48
↓ 1 callersFunctionget_data
()
chapter5/crfsuite-model/src/main.rs:48
↓ 1 callersFunctionget_data
(path: &PathBuf)
chapter8/crfsuite-model/src/lib.rs:84
next →1–100 of 270, ranked by callers