Effect video: Transmission line fault diagnosis (Python code, five different diagnosis methods of logistic regression, decision tree, random forest, XGBoost and support vector machine)_bilibili_bilibili project files code.py loads the English version, with English labels and coordinates displayed on the picture. Chinese.py loads the Chinese version, with Chinese labels displayed on the picture, etc., and almost […]

# Tag: vector

## Iteration vs vectorization, how to improve Pandas performance?

This article mainly introduces several iteration and vectorization techniques to explore how to improve the performance of Pandas. Search and follow “Python Learning and Research Basecamp” on WeChat, join the reader group, and share more exciting things In this article, we will explore several ways to improve the performance of your Pandas code through iteration […]

## Mutual mapping and data copying between MatrixXd type and VectorXd type in Eigen library

1. Map function of Eigen library The Map function of the Eigen library is a powerful tool for converting existing Some data (such as arrays or other linear algebra library data structures) are mapped into Eigen matrices or vectors without copying the data. This mapping can greatly improve performance because it avoids unnecessary copying of […]

## [lssvm regression prediction] Optimizing the least squares support vector machine VMD-BES-LSSVM based on variable mode combined with the Vulture algorithm to implement data prediction model (multiple input and single output) including Matlab code

?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more Matlab complete code and simulation customization content, click Intelligent optimization algorithm […]

## [lssvm regression prediction] Optimizing the least squares support vector machine VMD-BES-LSSVM based on variable mode combined with the Vulture algorithm to implement data prediction model (multiple input and single output) including Matlab code

?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more Matlab complete code and simulation customization content, click Intelligent optimization algorithm […]

## NLP word embedding — (2.1) FastText: training word vectors

Table of Contents 1. FastText principle and algorithm 1.fastText function 2.fastText advantages 3.N-gram 4.Hierarchical Softmax 2. FastText training word vector 1. Load FastText from the gensim package 2. Model hyperparameters 3. Model training word vector 4. Saving and loading models 5. Use of word vectors 3. Update model corpus 4. Extract FastText model training results […]

## STL (vector, list)

1. vector Header file #include Vector is a vector type that can hold many types of data, so it is also called a container. vector: Continuous storage containers, dynamic arrays, allocate space on the heap Underlying implementation: array Double capacity increase: When inserting an element into the vector, if it does not exceed the current […]

## Add noise to feature vector data (1D array) to achieve data enhancement

Add noise to feature vector data (1D array) to achieve data enhancement Date Author Version Remarks 2023.09.11 Dog Tao V1.0 Complete the initial version of the document. Article directory Add noise to feature vector data (1D array) to achieve data enhancement Background introduction Main methods of superimposing noise Gaussian Noise Uniform Noise Salt and Pepper […]

## Vector database-PgSQL plug-in-pgvector 0.5.0 features

Pgvector is an open source plug-in that enables PgSQL to have vector database capabilities. Previously, after pgvector came out, it only supported IVFFlat indexes. Immediately afterwards, the pg_embedding plug-in supported HNSW index, which was 20 times more performant than pgvector. The iteration speed of Pgvector is fast enough, and support for HNSW was immediately added. […]

## Windows system local deployment vector database milvus

1.Introduction to milvus This is the address of the milvus official website, Vector database – Milvus. The following introduction is from the milvus official website: Milvus was created in 2019 with a single goal: to store, index, and manage large amounts of embedding vectors generated by deep neural networks and other machine learning (ML) models. […]