Bayesian experiment report

1, Experimental purpose Learn how to infer the behavior model and solve the problem by using the short message mca-3. 2, Experiment contents and steps (including problems, codes, results and conclusions) 2.1 SMS data inference behavior Title: code: Data reading and display: import pymc3 as pm import matplotlib.pyplot as plt import nump ...

Posted by GYK on Mon, 16 May 2022 22:26:11 +0300

A few lines of code to easily realize the task of target detection and image classification -- building an enterprise machine learning micro service based on Spring Boot and DJL

Now there seems to be a trend in the field of AI applications. Most learning applications are in Python. Spring Boot is an open source platform widely used in the field of microservices. Users can use Stock API to create an RPC API based on C + + or Python applications to realize reasoning tasks in different languages. However, this will bring ...

Posted by UKlee on Mon, 16 May 2022 07:22:16 +0300

weibu's in-depth learning chapter: pytorch -- utils Data and torch vision

Overview of data processing toolbox Pytoch involves data processing (data loading, data preprocessing, data enhancement, etc.), and the main toolkits and related relationships are as follows: Overview of pytorch data processing toolkit torch.utils.data Toolkit 1) Dataset: abstract class. Other datasets should inherit this class and contain ...

Posted by sid on Sun, 15 May 2022 05:28:39 +0300

[pytorch] code implementation of ECA-NET attention mechanism applied to ResNet

1, Foreword Introduction to ECA-NET(CVPR 2020): Thesis title:ECA-Net: Effificient Channel Attention for Deep Convolutional Neural NetworksThesis address:https://arxiv.org/abs/1910.03151Open source code:https://github.com/BangguWu/ECANet As a lightweight attention mechanism, ECA net is actually an implementation form of channel attention mecha ...

Posted by phpflixnewbie on Sun, 15 May 2022 01:47:39 +0300

CASIA-HWDB2.x (offline) data set is merged into page type and marked with row-level bbox

Recently, I will do line-level handwritten document detection work, merge CASIA-HWDB2.x (offline) data, and generate a page-level dataset with corresponding bbox. If you want to exchange ocr-related work, you can join the group (at the end of the article): CASIA-HWDB2.x (offline) data set download address: http://www.nlpr.ia.ac.cn/databases/ha ...

Posted by nwoeddie23 on Sat, 14 May 2022 10:42:27 +0300

pytorch collate_fn function to realize variable length batch - Dynamic padding

Note: batch here refers to mini batch Two methods to realize sequence (text, log) batch processing Fixed length batches (uniform length batches) All batch sequences have the same length. For example, seqs = [[1,2,3,3,4,5,6,7], [1,2,3], [2,4,1,2,3], [1,2,4,1]] batch_size = 2 Then the maximum sequence length is 8. If it is less than 8, fill it ...

Posted by sonic_2k_uk on Sat, 14 May 2022 05:21:32 +0300

TF-IDF model for NLP text keyword extraction: epidemic text data analysis based on stuttering word segmentation and wordcloud

TF-IDF model: analysis of epidemic text data based on stuttering word segmentation and wordcloud Recently, we have made a text data analysis of China's policy on the COVID-19. Let's introduce the relevant knowledge to summarize and consolidate, and hope to help more people. 1, TF IDF: keyword extraction Stop words: stop words are words o ...

Posted by Dasndan on Fri, 13 May 2022 00:46:36 +0300

[deep learning experiment] the second time: analysis and prediction of influencing factors of fiscal revenue

Relevant knowledge Set variable X ( 0 ) = { X ( ...

Posted by Alecdude on Fri, 13 May 2022 00:36:23 +0300

TF2.0 basic method of text classification

This article is compiled from TF2 0 official tutorial( https://www.tensorflow.org/tutorials/keras/text_classification) The example of this article is to use IMDB's comment data for sentimental analysis: Data source address: https://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz 1. Load dataset Use TF keras. preprocessing. text_ datas ...

Posted by show8bbs on Thu, 12 May 2022 02:26:50 +0300

[PyTorch learning notes] 1.2 introduction to tensor

thumbnail: https://image.zhangxiann.com/...toc: truedate: 2020/2/5 20:39:20disqusId: zhangxiancategories: PyTorch tags: AI Deep Learning Code of this chapter: https://github.com/zhangxiann/PyTorch_Practice/blob/master/lesson1/tensor_introduce1.py https://github.com/zhangxiann/PyTorch_Practice/blob/master/lesson1/tensor_introduce1.py Tensor c ...

Posted by sean14592 on Wed, 11 May 2022 06:42:57 +0300