Skip to content
#

Machine learning

Machine learning is the practice of teaching a computer to learn. The concept uses pattern recognition, as well as other forms of predictive algorithms, to make judgments on incoming data. This field is closely related to artificial intelligence and computational statistics.

Here are 85,803 public repositories matching this topic...

transformers
justinchuby
justinchuby commented Jul 26, 2022

🐛 Describe the bug

The function einsum_helper in torch/onnx/symbolic_opset12.py is a helper. It is not meant for public consumption. We should rename it to _einsum_helper and remove it from __all__

Versions

N/A

module: onnx good first issue triaged OSS contribution wanted
swight-prc
swight-prc commented Jul 28, 2022

Describe the bug

The acceptable values for max_samples are (0, 1]. One possible option for class_weight is balanced_subsample. However, for values of max_samples near zero and class_weight='balanced_subsample', the model fails with an unhelpful error related to having an empty array as an indexer.

This is only likely to come up in a grid search, as it seems unlikely that some

Bug good first issue help wanted module:ensemble
julia
BambOoxX
BambOoxX commented Jun 21, 2022

This subject was initially discussed in https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115/17 regarding a way to split a string into equal-length substrings.

The solutions discussed involved (for a string composed of 10 blocks of 8 strings)

  • using a comprehension split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]
  • using a comprehension and `S
good first issue strings iteration

Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.

  • Updated Apr 3, 2022
  • Python
trivialfis
trivialfis commented Dec 13, 2020

Currently many more Python projects like dask and optuna are using Python type hints. With the Python package of xgboost gaining more and more features, we should also adopt mypy as a safe guard against some type errors and for better code documentation.

Wikipedia
Wikipedia