Explanation: This is a machine learning practical project (with data + code + documentation + video explanation). If you need data + code + documentation + video explanation, you can go directly to the end of the article to get it. 1. Project background Ant Colony Optimization (ACO) is a new bionic evolutionary algorithm derived […]
Tag: ssi
Adversarial Example Generation, Fast Gradient Sign Attack (FGSM) to Fool the MNIST Classifier
Adversarial example generation If you’re reading this, hopefully you can appreciate the effectiveness of some machine learning models. Research is constantly pushing ML models to be faster, more accurate and more efficient. However, an often overlooked aspect of designing and training models is security and robustness, especially in the face of adversaries looking to deceive […]
Processing components for vue2 source code analysis
Basic usage Define components globally: // Define a b component in the form of Vue.component() Vue.component(‘b’, {<!– –> template: ‘<p>{<!– –>{ a }}{<!– –>{ name }}</p>’, data () {<!– –> return {<!– –> a: 999 } }, created(){<!– –> // (‘created of child component’) }, beforeMount(){<!– –> // (‘beforeMount of subcomponent’) } }) Locally defined […]
Naive Bayesian Algorithm for English Text Classification
Table of Contents 1. Introduction of the author 2. Introduction and Case of Naive Bayesian Algorithm 2.1 Introduction to Naive Bayes Algorithm 2.2 Text Classifier 2.3 Text classification of news texts 3. Python code implementation 3.1 Text Classifier 3.2 News Text Classification References (links and citations available for reference) 1. Introduction of the author Liang […]
Copying, assigning, destroying and moving classes
Copying, assigning, destroying and moving classes The copy and move constructor defines what to do when this object is initialized by another object of the same type The copy and move assignment operators define what is done when one object is assigned to another object of the same type Copy constructor Copy constructor: If the […]
Vite3+vue3 project packaging optimization 3 – CDN acceleration, file compression
1. CDN online acceleration Content Delivery Network (CDN for short) is a distributed content distribution network built on a data network, which allows users to request resources from the nearest server to improve the response speed of network requests. Usually, we request dependent modules to use CDN, while requesting project code still uses its own […]
CDH’s HIVE exits abnormally Permission denied: user=hive, access=WRITE, inode=”/tmp”:hdfs:supergroup:drwxr-xr-x
CDH shows abnormal exit Check which server the HiveServer2 instance is on, and check the log /var/log/hive/hadoop-cmf-hive-HIVESERVER2-hadoop105.log.out. The log error is as follows: 2023-05-23 15:18:05,331 ERROR org.apache.hive.service.server.HiveServer2: [main]: Error starting HiveServer2 java.lang.Error: Max start attempts 30 exhausted at org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:609) ~[hive-service-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2] at org.apache.hive.service.server.HiveServer2.access$700(HiveServer2.java:94) ~[hive-service-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2] at org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:827) [hive-service-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2] at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:696) [hive-service-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) […]
JavaWeb Classic_04_jQuery
JavaWeb Classic_04_jQuery Today’s tasks 1. jQuery The attribute operation 2. jQuery practise 3. jQuery CSS style manipulation 4. jQuery animation operation 5. jQuery event action Class Notes Today’s lesson content: Attribute manipulation of 1, jQuery jQuery Attribute manipulation html() It can set and get the content in the opening and closing tags. and dom Attributes […]
JavaWeb Classic_03_jQuery
JavaWeb Classic_03_jQuery Today’s tasks 1. jQuery Hello world 2. jQuery Selector 3. jQuery filter 4. jQuery Element screening Class Notes 1, jQuery Introduction What is jQuery? jQuery, as the name suggests, is JavaScript and query (Query), which is a js class library that assists JavaScript development. jQuery The core idea! ! ! Its core idea […]
[C++] Bitmap (massive data processing)
Article directory Throwing Questions: Bringing in Bitmaps bitmap resolution The concept of bitmap Implementation of bitmap structure Constructor set bit clear bit Check if the number exists reverse bit size and count print function bitmap application Throwing a problem: importing bitmap Problem: Given 4 billion non-repeating unsigned integers that are not sorted, and an unsigned […]