Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/practical-machine-learning-w-rust
/ functions
Functions
270 in github.com/Apress/practical-machine-learning-w-rust
⨍
Functions
270
◇
Types & classes
45
↓ 1 callers
Function
get_data_no_y
(path: &PathBuf)
chapter8/crfsuite-model/src/lib.rs:73
↓ 1 callers
Function
get_first_arg
Returns the first positional argument sent to this process. If there are no positional arguments, then this returns an error.
chapter4/data_formats/src/csvreading.rs:23
↓ 1 callers
Function
get_input_image_tensor
read image, convert to RGB and load to a tensor for face prediction.
chapter6/face-detection-tf/src/main.rs:40
↓ 1 callers
Function
h
(a, b, c, d)
chapter2/ml-utils/calc_prob.py:7
↓ 1 callers
Function
hiter
(a, b, c, d)
chapter2/ml-utils/calc_prob.py:17
↓ 1 callers
Function
init_engine
()
chapter5/snips-model/src/main.rs:23
↓ 1 callers
Function
inspect
(day: NationalHolidays)
chapter1/simple-scripts/enumerations.rs:10
↓ 1 callers
Method
into_labels
(&self)
chapter5/fasttext-model/src/main.rs:59
↓ 1 callers
Method
is_terminal
(&self)
chapter3/rsrl_custom/src/main.rs:155
↓ 1 callers
Function
jaccard_index
(clusters1: &[HashSet<u64>], clusters2: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:81
↓ 1 callers
Function
main_build
Download training data and build a model. We'll use this function to power the `fit` subcommand of our command line tool.
chapter7/goodbooks-recommender/src/main.rs:220
↓ 1 callers
Function
max_index
(array: &[f64])
chapter3/rusty_machine_unsupervised/src/main.rs:67
↓ 1 callers
Function
model_prediction
(xtest: Vec<Vec<Attribute>>, model_name: &str)
chapter5/crfsuite-model/src/main.rs:108
↓ 1 callers
Function
predict
(input_titles: &[String], model: &ImplicitEWMAModel)
chapter7/goodbooks-recommender/src/main.rs:265
↓ 1 callers
Function
predict
()
chapter8/iris_classification_xgboost/iris_classification_library/src/lib.rs:131
↓ 1 callers
Function
process_file
(filename: &Path)
chapter7/statistics/src/main.rs:102
↓ 1 callers
Function
process_gene_expresssion_data
Read the gene expression data as a list of lists, also get the gene identifiers
chapter7/statistics/src/main.rs:29
↓ 1 callers
Function
process_gene_expresssion_data_headers
(thisline: &String, SIF: &HashMap<String, String>)
chapter7/statistics/src/main.rs:15
↓ 1 callers
Function
pull_object_from_s3
(client: &S3Client, bucket: &str, filename: &str)
chapter4/s3_files/src/main.rs:115
↓ 1 callers
Function
push_file_to_s3
( client: &S3Client, bucket: &str, dest_filename: &str, local_filename: &str, )
chapter4/s3_files/src/main.rs:61
↓ 1 callers
Function
push_test_data_to_file
(test_data: &[SpookyAuthor], filename: &str)
chapter5/fasttext-model/src/main.rs:77
↓ 1 callers
Function
push_training_data_to_file
(train_data: &[SpookyAuthor], filename: &str)
chapter5/fasttext-model/src/main.rs:69
↓ 1 callers
Function
rand_index
(clusters1: &[HashSet<u64>], clusters2: &[HashSet<u64>])
chapter2/ml-utils/src/unsup_metrics.rs:92
↓ 1 callers
Function
read_csv
()
chapter2/rusty_machine_supervised_algos/src/main.rs:64
↓ 1 callers
Function
read_csv
()
chapter2/nb_classification/src/main.rs:55
↓ 1 callers
Function
read_csv
()
chapter2/iris_classification_xgboost/src/main.rs:28
↓ 1 callers
Method
reward
(&self, _: &Observation<Vector<f64>>, to: &Observation<Vector<f64>>)
chapter3/rsrl_custom/src/main.rs:162
↓ 1 callers
Function
rocket
()
chapter5/snips-model/src/main.rs:45
↓ 1 callers
Function
runge_kutta4
(fx: &Fn(f64, Vector) -> Vector, x: f64, y: Vector, dx: f64)
chapter3/rsrl_custom/src/main.rs:50
↓ 1 callers
Function
serialize_model
(model: &ImplicitEWMAModel, path: &Path)
chapter7/goodbooks-recommender/src/main.rs:205
↓ 1 callers
Function
split_test_train
(data: &[NER], test_size: f32)
chapter5/crfsuite-model/src/main.rs:60
↓ 1 callers
Function
split_test_train
(data: &[NER], test_size: f32)
chapter8/crfsuite-model/src/lib.rs:96
↓ 1 callers
Method
update_state
(&mut self, a: usize)
chapter3/rsrl_custom/src/main.rs:89
↓ 1 callers
Function
visit_dir
Visit directory, identify the train and test files and run the train_fn on the training files and the test function on the test files. # Arguments `d
chapter6/pytorch-image-classification/src/main.rs:42
Function
Java_IrisClassificationXgboost_fit
(_env: JNIEnv, _class: JClass)
chapter8/iris_classification_xgboost/iris_classification_library/src/lib.rs:158
Function
Java_IrisClassificationXgboost_predict
( env: JNIEnv, _class: JClass, )
chapter8/iris_classification_xgboost/iris_classification_library/src/lib.rs:165
Function
accuracy
for classification
chapter2/ml-utils/src/sup_metrics.rs:24
Function
add
(a: u64, b: u64)
chapter8/cpp_demangle/src/lib.rs:35
Function
build_vocabulary
(data: &Vec<SpookyAuthor>)
chapter5/jigsaw/src/main.rs:72
Function
create_s3_bucket
(client: &S3Client, bucket: &str)
chapter4/s3_files/src/main.rs:36
Function
crfsuite_model
(_py: Python<'_>, m: &PyModule)
chapter8/crfsuite-model/src/lib.rs:165
Function
de_u16_from_str
(deserializer: D)
chapter4/data_formats/src/jsonreading.rs:35
Method
default
()
chapter3/rsrl_custom/src/main.rs:123
Function
delete_s3_bucket
(client: &S3Client, bucket: &str)
chapter4/s3_files/src/main.rs:96
Function
double
(x: usize)
chapter8/cpp_demangle/src/lib.rs:18
Function
get_feature_vectors
(data: &Vec<SpookyAuthor>, bow_model: &mut CountVectorizer)
chapter5/jigsaw/src/main.rs:82
Function
hello
()
chapter5/snips-model/src/main.rs:31
Method
index_checked
(&self, dim: &Ix1, strides: &Ix1)
chapter3/rsrl_custom/src/main.rs:69
Method
index_unchecked
(&self, strides: &Ix1)
chapter3/rsrl_custom/src/main.rs:74
Function
infer
(message: Json<Message>, engine: State<Engine>)
chapter5/snips-model/src/main.rs:36
Method
into_tokens
(&self)
chapter5/jigsaw/src/main.rs:53
Method
into_tokens
(&self)
chapter5/fasttext-model/src/main.rs:37
Function
learning_rate
(epoch: i64)
chapter6/pytorch-image-classification/src/main.rs:171
Function
list_items_in_bucket
(client: &S3Client, bucket: &str)
chapter4/s3_files/src/main.rs:48
Function
list_s3_buckets
(client: &S3Client)
chapter4/s3_files/src/main.rs:31
Function
logloss_score
(y_test: &[f32], y_preds: &[f32], eps: f32)
chapter2/ml-utils/src/sup_metrics.rs:35
Function
main
()
chapter7/statistics/src/main.rs:169
Function
main
()
chapter7/high-performance-computing/src/main.rs:5
Function
main
()
chapter7/goodbooks-recommender/src/main.rs:341
Function
main
()
chapter5/crfsuite-model/src/main.rs:117
Function
main
()
chapter5/jigsaw/src/main.rs:90
Function
main
()
chapter5/fasttext-model/src/main.rs:85
Function
main
()
chapter5/snips-model/src/main.rs:55
Function
main
()
chapter8/my_lambda_function/src/main.rs:18
Function
main
()
chapter6/model_inference/src/main.rs:7
Function
main
()
chapter6/face-detection-tf/src/main.rs:55
Function
main
()
chapter6/adversarial/src/main.rs:57
Function
main
()
chapter6/finetuning_pytorch_image_models/src/main.rs:20
Function
main
()
chapter6/pytorch-image-classification/src/main.rs:181
Function
main
()
chapter2/rusty_machine_classification/src/main.rs:20
Function
main
()
chapter2/rusty_machine_supervised_algos/src/main.rs:23
Function
main
()
chapter2/rustymachine_regression/src/main.rs:17
Function
main
()
chapter2/iris_classification_tchrs/src/main.rs:13
Function
main
()
chapter2/kmeans_rusty_machine/src/main.rs:48
Function
main
()
chapter2/logistic_regression_rustlearn/src/main.rs:14
Function
main
()
chapter2/rust_and_tf/src/main.rs:47
Function
main
()
chapter2/nb_classification/src/main.rs:23
Function
main
()
chapter2/ml-utils/src/main.rs:96
Function
main
()
chapter2/ml-utils/src/hypothesis_testing.rs:69
Function
main
()
chapter2/ml-utils/examples/measures.rs:8
Function
main
()
chapter2/rustlearn_classification_tasks/src/main.rs:10
Function
main
()
chapter2/iris_classification_xgboost/src/main.rs:21
Function
main
()
chapter1/simple-scripts/variables.rs:1
Function
main
()
chapter1/simple-scripts/ownership5.rs:5
Function
main
()
chapter1/simple-scripts/variables4.rs:1
Function
main
()
chapter1/simple-scripts/enumerations.rs:18
Function
main
()
chapter1/simple-scripts/ownership1.rs:3
Function
main
()
chapter1/simple-scripts/conditions.rs:1
Function
main
ownership2.rs
chapter1/simple-scripts/ownership2.rs:2
Function
main
()
chapter1/simple-scripts/ownership3.rs:3
Function
main
()
chapter1/simple-scripts/oops.rs:36
Function
main
()
chapter1/simple-scripts/functions.rs:1
Function
main
()
chapter1/simple-scripts/ownership4.rs:5
Function
main
()
chapter1/simple-scripts/variables3.rs:1
Function
main
()
chapter1/simple-scripts/variables1.rs:7
Function
main
()
chapter1/simple-scripts/variables2.rs:1
Function
main
()
chapter1/simple-scripts/variables5.rs:1
Function
main
()
chapter1/simple-scripts/match.rs:1
Function
main
()
chapter1/simple-scripts/unittestingexample/src/main.rs:1
Function
main
()
chapter4/data_formats/src/main.rs:16
← previous
next →
101–200 of 270, ranked by callers