Machine learning algorithm: classification prediction based on logistic regression

0. Preface This blog post is a punch in note of Alibaba cloud Tianchi's Tianchi winter vacation AI charging plan details https://tianchi.aliyun.com/s/a7683692f5a2579070071e7b0756f62d At the same time, it can also be used as a blog post for the introduction of machine learning (with a certain python Foundation) The precursor knowledge used ...

Posted by PHP-Editors.com on Tue, 19 Apr 2022 07:18:33 +0300

Read the evaluation code of pysot, and watch it better compared with the code!

Evaluation code of pysot 1. Official evaluation code 2. Code reading Content to load The path of prediction results obtained in the test -- tracker_pathDataset name used for evaluation -- datasetTracker name used for evaluation -- tracker_prefix When the track result storage path and the theoretical path are changed because t ...

Posted by Swedie on Mon, 18 Apr 2022 22:55:36 +0300

Summary of integrated learning principles (AdaBoost & lightGBM demo)

For the complete code used in this blog, please move to: My GitHub: https://github.com/qingyujean/Magic-NLPer , ask for praise, stars and encouragement~~~ Integrated Learning Series: Summary of integrated learning principles (AdaBoost & lightgbm demo) Summary of gradient lifting tree (GBDT) principle XGBoost use Summary of Random Fore ...

Posted by Dillenger on Mon, 18 Apr 2022 22:10:17 +0300

Using python to realize simple artificial neural network recognition of handwritten digits

A simple neural network model is built using Python, and handwritten digits are recognized. 1. Front work 1.1 environment configuration The handwritten numeral character set built in scikit learn library is used as the data set of this paper. Scikit learn library is a classic machine learning library. Its library and other dependent librarie ...

Posted by shadypalm88 on Mon, 18 Apr 2022 15:01:19 +0300

Numpy study notes

Numpy study notes I. Numpy data type 1 Python internal integer Compared with C language, variables in Python do not need to declare variable types before assignment, and can be repeatedly assigned to data of different data types. The reason is that the data structure in Python is different from that in C language. Take long integer as an ...

Posted by will83 on Mon, 18 Apr 2022 11:27:18 +0300

Twins: revising the design of spatial attention in vision transformers

article: https://arxiv.org/abs/2104.13840 code: GitHub - Meituan-AutoML/Twins: Two simple and effective designs of vision transformer, which is on par with the Swin transformerTwo simple and effective designs of vision transformer, which is on par with the Swin transformer - GitHub - Meituan-AutoML/Twins: Two simple and effective designs of vi ...

Posted by devilincarnated on Mon, 18 Apr 2022 08:35:36 +0300

logistic regression and binary classification of iris based on TensorFlow

Learning notes of the second edition of Li Hang's statistical learning methods Knowledge points Classification algorithmBelongs to linear modelThe graph is an S-shaped curve, monotonically increasing, and the definition domain is (− ∞, + ∞) and the value domain is (0,1) Logistic regression compares the size of two condition ...

Posted by Placebo on Sun, 17 Apr 2022 09:48:54 +0300

Complete model training of Pytorch learning notes (taking Cifar10 as an example)

Introduction to data set After learning the theory of deep learning, we should start code practice, which is basically divided into data reading, data preprocessing (enhancement), model construction and training First, let's introduce the data set. The data set used this time is CIFAR10, which is a classic 10 classification color picture ...

Posted by ShadowIce on Sun, 17 Apr 2022 05:45:23 +0300

Machine learning notes - music generation using TensorFlow

1, Overview Here, we will explore the construction of circular neural network (RNN) for music generation. We will train a model to learn the pattern in the original score of [ABC notation], and then use the model to generate new music. 1. On ABC notation For an overview of ABC notation, you can check the following website. What is ABC notat ...

Posted by johnseito on Sun, 17 Apr 2022 01:08:40 +0300

Introduction to machine learning: Chapter 12 svd algorithm

Machine learning series - SVD SVD is Singular value decomposition. An important decomposition form in linear algebra. The special meaning of its matrix can be used to deal with linear correlation. For example, in natural language processing, SVD method can be used for news classification, and good results have been achieved. The specific proc ...

Posted by harkonenn on Sat, 16 Apr 2022 04:31:52 +0300