DiscoverBits - Recent questions and answers in Machine Learning
https://www.bitsdiscover.com/qa/machine-learning
Powered by Question2AnswerAnswered: How to find the occurrences of each label in a list of labels in Python?
https://www.bitsdiscover.com/3559/how-to-find-the-occurrences-of-each-label-list-labels-python?show=3560#a3560
Machine Learninghttps://www.bitsdiscover.com/3559/how-to-find-the-occurrences-of-each-label-list-labels-python?show=3560#a3560Mon, 12 Feb 2024 04:37:11 +0000Answered: How to assign weight to classes in LogisticRegression function of sklearn?
https://www.bitsdiscover.com/3557/assign-weight-classes-logisticregression-function-sklearn?show=3558#a3558
Machine Learninghttps://www.bitsdiscover.com/3557/assign-weight-classes-logisticregression-function-sklearn?show=3558#a3558Mon, 12 Feb 2024 03:59:43 +0000Answered: How to set number of CPU or GPU in CatBoost Classifier?
https://www.bitsdiscover.com/3553/how-to-set-number-of-cpu-or-gpu-in-catboost-classifier?show=3554#a3554
Machine Learninghttps://www.bitsdiscover.com/3553/how-to-set-number-of-cpu-or-gpu-in-catboost-classifier?show=3554#a3554Fri, 12 Jan 2024 23:52:36 +0000Answered: How to compute the area under the ROC curve (AUC) in R
https://www.bitsdiscover.com/2936/how-to-compute-the-area-under-the-roc-curve-auc-in-r?show=2937#a2937
Machine Learninghttps://www.bitsdiscover.com/2936/how-to-compute-the-area-under-the-roc-curve-auc-in-r?show=2937#a2937Mon, 23 May 2022 03:18:55 +0000Answered: How to check if estimatorâ€™s fit() method supports a given parameter
https://www.bitsdiscover.com/2915/how-to-check-estimators-fit-method-supports-given-parameter?show=2916#a2916
Machine Learninghttps://www.bitsdiscover.com/2915/how-to-check-estimators-fit-method-supports-given-parameter?show=2916#a2916Mon, 16 May 2022 00:27:52 +0000Answered: How to divide a given data into train and test sets
https://www.bitsdiscover.com/2870/how-to-divide-a-given-data-into-train-and-test-sets?show=2871#a2871
Machine Learninghttps://www.bitsdiscover.com/2870/how-to-divide-a-given-data-into-train-and-test-sets?show=2871#a2871Sun, 01 May 2022 07:12:26 +0000Answered: How to find learning rate used for training the CatBoost model
https://www.bitsdiscover.com/2694/how-find-learning-rate-used-for-training-the-catboost-model?show=2695#a2695
Machine Learninghttps://www.bitsdiscover.com/2694/how-find-learning-rate-used-for-training-the-catboost-model?show=2695#a2695Thu, 23 Dec 2021 06:20:08 +0000Answered: How to find the number of trees in the trained CatBoost model
https://www.bitsdiscover.com/2692/how-to-find-the-number-of-trees-in-the-trained-catboost-model?show=2693#a2693
Machine Learninghttps://www.bitsdiscover.com/2692/how-to-find-the-number-of-trees-in-the-trained-catboost-model?show=2693#a2693Wed, 22 Dec 2021 07:25:27 +0000Answered: Predict class labels and probabilities of test data using CatBoost classifier in Python
https://www.bitsdiscover.com/2690/predict-labels-probabilities-catboost-classifier-python?show=2691#a2691
Machine Learninghttps://www.bitsdiscover.com/2690/predict-labels-probabilities-catboost-classifier-python?show=2691#a2691Wed, 22 Dec 2021 04:53:12 +0000Answered: How to generate random binary labels (0/1) for random data in Python
https://www.bitsdiscover.com/2688/how-to-generate-random-binary-labels-for-random-data-python?show=2689#a2689
Machine Learninghttps://www.bitsdiscover.com/2688/how-to-generate-random-binary-labels-for-random-data-python?show=2689#a2689Wed, 22 Dec 2021 04:27:01 +0000Answered: How to find the list of parameters used by CatBoost to train the model
https://www.bitsdiscover.com/2686/how-to-find-the-list-parameters-used-catboost-train-the-model?show=2687#a2687
Machine Learninghttps://www.bitsdiscover.com/2686/how-to-find-the-list-parameters-used-catboost-train-the-model?show=2687#a2687Tue, 21 Dec 2021 17:36:30 +0000Answered: How to use categorical features to learn a CatBoost model
https://www.bitsdiscover.com/2678/how-to-use-categorical-features-to-learn-a-catboost-model?show=2679#a2679
Machine Learninghttps://www.bitsdiscover.com/2678/how-to-use-categorical-features-to-learn-a-catboost-model?show=2679#a2679Fri, 17 Dec 2021 15:45:41 +0000Answered: How can I check if some method is present in an object/class in Python
https://www.bitsdiscover.com/2672/how-can-check-if-some-method-is-present-in-object-class-python?show=2673#a2673
Machine Learninghttps://www.bitsdiscover.com/2672/how-can-check-if-some-method-is-present-in-object-class-python?show=2673#a2673Thu, 16 Dec 2021 03:47:01 +0000Answered: How to set the number of threads for BLAS or OpenMP in Python at runtime
https://www.bitsdiscover.com/2622/how-to-set-the-number-threads-for-blas-openmp-python-runtime?show=2623#a2623
Machine Learninghttps://www.bitsdiscover.com/2622/how-to-set-the-number-threads-for-blas-openmp-python-runtime?show=2623#a2623Mon, 29 Nov 2021 04:14:00 +0000Answered: BLAS : Program is Terminated. Because you tried to allocate too many memory regions
https://www.bitsdiscover.com/2509/program-terminated-because-tried-allocate-memory-regions?show=2510#a2510
Machine Learninghttps://www.bitsdiscover.com/2509/program-terminated-because-tried-allocate-memory-regions?show=2510#a2510Fri, 17 Sep 2021 22:48:01 +0000Answered: How to upgrade scikit-learn (sklearn) to the latest version
https://www.bitsdiscover.com/2500/how-to-upgrade-scikit-learn-sklearn-to-the-latest-version?show=2502#a2502
Machine Learninghttps://www.bitsdiscover.com/2500/how-to-upgrade-scikit-learn-sklearn-to-the-latest-version?show=2502#a2502Sat, 11 Sep 2021 06:15:11 +0000Answered: How to impute missing values in training datasets
https://www.bitsdiscover.com/2344/how-to-impute-missing-values-in-training-datasets?show=2345#a2345
Machine Learninghttps://www.bitsdiscover.com/2344/how-to-impute-missing-values-in-training-datasets?show=2345#a2345Mon, 05 Apr 2021 06:18:33 +0000Answered: Python: how to normalize the elements of a matrix so that each element is between 0 and 1
https://www.bitsdiscover.com/2311/python-normalize-elements-matrix-that-each-element-between?show=2313#a2313
Machine Learninghttps://www.bitsdiscover.com/2311/python-normalize-elements-matrix-that-each-element-between?show=2313#a2313Tue, 02 Mar 2021 23:01:50 +0000Answered: How to generate sample data for testing machine learning classifiers
https://www.bitsdiscover.com/2264/generate-sample-data-testing-machine-learning-classifiers?show=2265#a2265
Machine Learninghttps://www.bitsdiscover.com/2264/generate-sample-data-testing-machine-learning-classifiers?show=2265#a2265Fri, 01 Jan 2021 07:59:48 +0000Answered: How to generate train and test sets for 5-fold cross validation
https://www.bitsdiscover.com/2262/how-to-generate-train-and-test-sets-for-fold-cross-validation?show=2263#a2263
Machine Learninghttps://www.bitsdiscover.com/2262/how-to-generate-train-and-test-sets-for-fold-cross-validation?show=2263#a2263Tue, 29 Dec 2020 08:16:59 +0000Answered: XGBoost : how to store train and test data in a DMatrix object in Python
https://www.bitsdiscover.com/2141/xgboost-how-store-train-and-test-data-dmatrix-object-python?show=2143#a2143
Machine Learninghttps://www.bitsdiscover.com/2141/xgboost-how-store-train-and-test-data-dmatrix-object-python?show=2143#a2143Sun, 30 Aug 2020 07:59:01 +0000Answered: XGboost: How to save a trained model and load it
https://www.bitsdiscover.com/1049/xgboost-how-to-save-a-trained-model-and-load-it?show=1056#a1056
Machine Learninghttps://www.bitsdiscover.com/1049/xgboost-how-to-save-a-trained-model-and-load-it?show=1056#a1056Fri, 22 Nov 2019 06:01:57 +0000Answered: XGboost: how to find hyperparameters (parameters) of a trained model
https://www.bitsdiscover.com/1048/xgboost-how-find-hyperparameters-parameters-trained-model?show=1055#a1055
Machine Learninghttps://www.bitsdiscover.com/1048/xgboost-how-find-hyperparameters-parameters-trained-model?show=1055#a1055Fri, 22 Nov 2019 05:59:23 +0000Answered: Python: how to flip the labels of data from 1 to 0 and vice versa
https://www.bitsdiscover.com/917/python-how-to-flip-the-labels-of-data-from-1-to-0-and-vice-versa?show=918#a918
Machine Learninghttps://www.bitsdiscover.com/917/python-how-to-flip-the-labels-of-data-from-1-to-0-and-vice-versa?show=918#a918Tue, 05 Nov 2019 06:26:21 +0000Answered: Python: how to write outputs from GridSearchCV() to a file
https://www.bitsdiscover.com/915/python-how-to-write-outputs-from-gridsearchcv-to-a-file?show=916#a916
Machine Learninghttps://www.bitsdiscover.com/915/python-how-to-write-outputs-from-gridsearchcv-to-a-file?show=916#a916Mon, 28 Oct 2019 23:32:30 +0000Answered: Python: How to shuffle two related lists (training data and labels ) in the same order
https://www.bitsdiscover.com/896/python-shuffle-related-lists-training-data-labels-same-order?show=897#a897
Machine Learninghttps://www.bitsdiscover.com/896/python-shuffle-related-lists-training-data-labels-same-order?show=897#a897Mon, 21 Oct 2019 06:19:42 +0000Answered: Predict probability using cross_val_predict() for classification problem
https://www.bitsdiscover.com/775/predict-probability-cross_val_predict-classification-problem?show=776#a776
Machine Learninghttps://www.bitsdiscover.com/775/predict-probability-cross_val_predict-classification-problem?show=776#a776Fri, 30 Aug 2019 11:03:44 +0000Answered: ValueError: Found input variables with inconsistent numbers of samples
https://www.bitsdiscover.com/758/valueerror-found-variables-inconsistent-numbers-samples?show=764#a764
Machine Learninghttps://www.bitsdiscover.com/758/valueerror-found-variables-inconsistent-numbers-samples?show=764#a764Mon, 26 Aug 2019 08:42:06 +0000Answered: Python : Convert categorical labels (character) to numerical labels
https://www.bitsdiscover.com/667/python-convert-categorical-labels-character-numerical-labels?show=668#a668
Machine Learninghttps://www.bitsdiscover.com/667/python-convert-categorical-labels-character-numerical-labels?show=668#a668Wed, 12 Jun 2019 19:55:16 +0000Answered: Python: how to calculate true positive, true negative, false positive, and false negative
https://www.bitsdiscover.com/643/python-calculate-positive-negative-false-positive-negative?show=644#a644
Machine Learninghttps://www.bitsdiscover.com/643/python-calculate-positive-negative-false-positive-negative?show=644#a644Thu, 09 May 2019 10:14:27 +0000Answered: sklearn svm - AttributeError: predict_proba is not available when probability=False
https://www.bitsdiscover.com/371/sklearn-attributeerror-predict_proba-available-probability?show=372#a372
Machine Learninghttps://www.bitsdiscover.com/371/sklearn-attributeerror-predict_proba-available-probability?show=372#a372Wed, 27 Jun 2018 18:49:01 +0000Answered: Python : How to find the optimal parameter values for Xgboost
https://www.bitsdiscover.com/225/python-how-to-find-the-optimal-parameter-values-for-xgboost?show=226#a226
Machine Learninghttps://www.bitsdiscover.com/225/python-how-to-find-the-optimal-parameter-values-for-xgboost?show=226#a226Thu, 22 Mar 2018 03:15:54 +0000Answered: XGboost: booster() function error - TypeError: 'str' object is not callable
https://www.bitsdiscover.com/221/xgboost-booster-function-error-typeerror-object-callable?show=222#a222
Machine Learninghttps://www.bitsdiscover.com/221/xgboost-booster-function-error-typeerror-object-callable?show=222#a222Thu, 15 Mar 2018 02:28:10 +0000Answered: How to convert Numpy matrix to array
https://www.bitsdiscover.com/145/how-to-convert-numpy-matrix-to-array?show=146#a146
Machine Learninghttps://www.bitsdiscover.com/145/how-to-convert-numpy-matrix-to-array?show=146#a146Sat, 20 May 2017 00:35:59 +0000