Tag:test data
-
Time:2021-1-15
If you want to see the conclusion directly, you can jump toFast generation method In tob projects, it is inevitable to process tree related data, such as multi-level Department list, multi-level distribution list, and so on. For all cascading data with upper and lower levels, it is inevitable to generate tree structure data. There are […]
-
Time:2021-1-12
1. Initialize some test data, clear the original data and insert 100 test data node initData.js initData.js const mongodb = require(‘./models/db’); mongodb.once(‘connect’, async () => { const col = mongodb.col(‘fruits’); //Delete existing data await col.deleteMany(); const data = new Array(100).fill().map((value, index) => { return { name: ‘XXXX’ + index, price: index, category: Math.random () > […]
-
Time:2021-1-7
1、 Database migration 1. Enter the following command to create the migration file php artisan make:migration create_admin_user_table –create=admin_user In this case, the migration file can be modified according to the PHP code <?php use IlluminateDatabaseMigrationsMigration; use IlluminateDatabaseSchemaBlueprint; use IlluminateSupportFacadesSchema; class CreateAdminUserTable extends Migration { /** * Run the migrations. * * @return void */ public […]
-
Time:2021-1-7
Learn how to implement adversarial verification to build classifiers to determine whether your data comes from a training or test set. If you can, there is a problem with your data, and the adversary validation model can help you diagnose the problem. If you’re looking at some winning solutions on kaggle, you might notice a […]
-
Time:2020-12-28
MapReduce can compute very complex aggregation logic and is very flexible. However, MapReduce is very slow and should not be used in real-time data analysis. MapReduce can be executed in parallel on multiple servers. Each server is only responsible for completing part of the wordload. Finally, the wordload is sent to the master server for […]
-
Time:2020-11-19
MapReduce can calculate very complex aggregation logic and is very flexible. However, MapReduce is very slow and should not be used in real-time data analysis. MapReduce can be executed in parallel on multiple servers. Each server is only responsible for completing part of wordload. Finally, it sends wordload to master server for merging, calculates the […]
-
Time:2020-11-17
Official website: https://wetest.qq.com/product… Instructions on official website: https://perfdog.qq.com/support In short, it is to test and collect the performance index data of mobile phone when running app, such as FPS, Jank, ftime, CPU, GPU, memory, battery, network, ctemp and other performance parameters. Download and install: Download the version of your system directly Account registration and login: […]
-
Time:2020-10-14
1、 Common module import import numpy as np import matplotlib import matplotlib.mlab as mlab import matplotlib.pyplot as plt import matplotlib.font_manager as fm from mpl_toolkits.mplot3d import Axes3D 2、 Solve the problem of abnormal display Chinese random code myfont = fm.FontProperties (fname = font file path) The negative sign is shown as a square matplotlib.rcParams[‘axes.unicode_minus’]=False 3、 Line […]
-
Time:2020-10-4
Link to the original text: http://tecdat.cn/?p=8493 In many introductions of image recognition tasks, the famous MNIST dataset is usually used. However, there are some problems with these data It’s too simple. For example, a simple MLP model can achieve 99% accuracy, while a 2-layer CNN can achieve 99% accuracy. 2. It is overused. Literally, each […]
-
Time:2020-9-6
By Kaushik ChoudhuryCompile | VKSource: toward Data Science About 13 years ago, David cournapeau’s scikit learn started as part of the Google summer of code project. Over time, scikit learn became one of the most famous machine learning libraries in Python. It offers several classification, regression and clustering algorithms, and in my opinion, its key […]
-
Time:2020-6-29
abstract Spark is an Apache project, which is billed as “lightning fast cluster computing”. It has a thriving open source community and is currently the most active Apache project. Spark provides a faster and more general data processing platform. Compared with Hadoop, spark can make your program run 100 times faster in memory or 10 […]
-
Time:2020-6-3
Example 10 maximum common divisor Problem description There are three positive integers a, B, C (0 input data Enter a n n in the first row to indicate that there are n groups of test data, and enter two positive integers a and B in the next n rows. Output format Output the corresponding C, […]