[DataWhale data analysis] Chapter 3 model establishment and evaluation - Evaluation - Course

Chapter III model building and evaluation - Evaluation According to the modeling of the previous model, we know how to use the sklearn library to complete the modeling, as well as the division of the data set we know. So how do we know if a model works? So that we can safely use the results givUTF-8...

Posted by nuttynibbles on Thu, 23 Sep 2021 20:45:15 +0530

K-nearest neighbor (K-NN) algorithm

1. Principle of K-nearest neighbor algorithm k-Nearest Neighbor (kNN) classification algorithm is a mature method in theory and one of the simplest machine learning algorithms. The idea of this method is that if most of the k most similar (i.e. the nearest) samples in the feature space belong tUTF-8...

Posted by Saethyr on Mon, 04 Oct 2021 02:29:55 +0530

Starting point Chinese network novel text classification project [easy to start nlp practical project]

Novel text classification task Code link https://github.com/a1097304791/fiction-classification data set The data set has 13 categories crawled from the starting point Chinese online, with 20 books in each category and 10 chapters in each book, a total of 260 novels and 3600 chapters. Algorithm UTF-8...

Posted by Who27 on Tue, 05 Oct 2021 02:17:22 +0530

Cross-modal retrieval evaluation index, pr curve, map

Cross-modal Retrieval Evaluation Indicators Accuracy, accuracy, recall, confusion matrix Based on binary classification algorithm TN: The algorithm predicts negative cases (N), which is actually the number of negative cases (N), that is, the algorithm predicts correctly (True); FP: The algorithUTF-8...

Posted by gat on Sat, 09 Oct 2021 22:02:13 +0530

Fundamentals of machine learning algorithms -- the next day

Data dimensionality reduction Definition: reduce the number of features Data dimensionality reduction can be divided into two types: Feature selection: simply select some features from all the extracted features as the features of the training set. The values of the features can be changed or UTF-8...

Posted by tapdancingtenor on Wed, 13 Oct 2021 22:11:49 +0530

Implementation of SVM algorithm based on Sklearn

1, SVM algorithm The feature vector of the instance (taking two-dimensional as an example) is mapped to some points in space, such as solid points and hollow points in the following figure, which belong to two different categories. The purpose of SVM is to draw a line to "best" distinguish theUTF-8...

Posted by plisken on Sat, 06 Nov 2021 11:20:12 +0530

Learning machine learning 100 day series_ Day01

preface In the past, there has been no systematic learning of ML knowledge, and the knowledge of machine learning and deep learning is very chaotic And the unskilled use of python We are going to update the 100 day series of machine learning from today GitHub 100 days of ML Code Project Two paUTF-8...

Posted by sledge4 on Tue, 08 Mar 2022 12:37:33 +0530

Python - matplotlib - ROC curve (Receiver Operating Characteristic curve)

concept discrimination of prediction model The discrimination of prediction model is used to reflect the ability of the model to distinguish positive samples from negative samples. In the output of a prediction model, if the predicted value of positive samples is significantly greater than thaUTF-8...

Posted by stevehaysom on Fri, 18 Mar 2022 12:14:56 +0530

Summarizes 11 advanced operations of Numpy

Staying up all night has sorted out 11 advanced operations of Numpy, each of which has parameter explanations and small examples to help you. 01 Iteration over an array NumPy includes an iterator object numpy.nditer. It is a valid multidimensional iterator object that can be used to iterate ovUTF-8...

Posted by alex.hughson on Fri, 03 Jun 2022 02:03:02 +0530

[machine learning practice] - Titanic dataset -- Boosting (XGBOOST)

1. write in front: This part belongs to the actual combat part, and pays more attention to the application of the algorithm in the actual project. For further understanding of the perceptron algorithm itself, please refer to the following links, which have played a great role in my learning proUTF-8...

Posted by Omid on Fri, 03 Jun 2022 11:18:31 +0530