Knapsack problem
knapsack problem
Given a group of items, each item has its own weight value. Within the limited weight, how can we choose to maximize the total value.
Three kinds of backpacks
1. 01 backpack: each item can only be selected once 2. Complete backpack: there is no limit to the number of choices for each item 3. Multiple backpacks: each item ca ...
Added by christian_phpbeginner on Fri, 18 Feb 2022 10:56:02 +0200
Introduction to the basics of Kotlin language: Lambda expression
What is a Lambda expression?Lambda expressions are actually anonymous functions. In fact, a function is a function. An anonymous function is an anonymous function code. In Kotlin, function also appears as a type. Although in the current version, the flexibility of function type is not as flexible as Python, it can also be assigned and passed, w ...
Added by cdoyle on Fri, 18 Feb 2022 10:48:12 +0200
LinkedList source code interpretation (the most detailed)
LinkedList source code interpretation
Inheritance structure of LinkedList
Properties of LinkedList
LinkedList constructor
The core method of LinkedList
FailFast mechanism
Inheritance structure of LinkedList
public class LinkedList<E>
extends AbstractSequentialList<E>
implements List<E>, Deque<E>, ...
Added by roustabout on Fri, 18 Feb 2022 10:42:03 +0200
[basic knowledge] basic knowledge of RMAN - Part2
Continued [basic knowledge] basic knowledge of RMAN - Part1 Use two articles to sort out the contents learned before and do the experiment again. There are both commonly used and not commonly used. There are many points that can be deeply dug. We'll do it later
1, Configure backup set - backup slice - compression - Encryption
1. Configure the ...
Added by quark76 on Fri, 18 Feb 2022 10:40:27 +0200
Introduction to python module
What is a module
Module is equivalent to the toolkit in python, which packages the code of specific functions into modules and calls them when needed
Module benefits
Lightweight program: the module can simplify the software and speed up the reading speed. It can be called when neededConvenient reference: package the code of specific function ...
Added by Darkmatter5 on Fri, 18 Feb 2022 10:37:09 +0200
Mybatis study notes
0. Case environment
0.1 case data initialization sql
CREATE DATABASE /*!32312 IF NOT EXISTS*/`mybatis_db` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `mybatis_db`;
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`createtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMEST ...
Added by jaymc on Fri, 18 Feb 2022 10:35:45 +0200
Painless introduction to computer vision and learning notes
Computer vision quick start learning notes
Great cause needs great theory to guide. Code without theory is a rogue
I Overview of artificial intelligence
Turing test: in 1950, Turing put forward the Turing test, that is, a person carries out a series of questions and answers with the other party in a special way without contacting the other ...
Added by tbach2 on Fri, 18 Feb 2022 10:25:10 +0200
Using out of pocket prediction (oof) to evaluate the generalization performance of the model and build an integrated model
Machine learning algorithms usually use cross validation techniques such as kFold to improve the accuracy of the model. In the process of cross validation, the prediction is carried out through the split test set that is not used for model training. These predictions are called out of fold predictions. External prediction plays an important rol ...
Added by gOloVasTicK on Fri, 18 Feb 2022 10:22:40 +0200
zabbix distributed monitoring
zabbix distributed monitoring
1, Overview of zabbix distributed monitoring
1.Zabbix provides effective and available distributed monitoring for IT infrastructure through Zabbix proxies
Proxies can be used to collect data locally instead of Zabbix server, and then report the data to the server.
2.proxy feature
When choosing to use / n ...
Added by dynodins on Fri, 18 Feb 2022 10:19:39 +0200
JAVA static proxy and JDK dynamic proxy
preface
This article will briefly introduce the static proxy of java and the dynamic proxy of JDK. Recently, I was studying JAVA related knowledge and found that the relevant explanations of agents on the Internet are too messy, so I sort them out here for reference. I have little engineering experience, so I don't know why to use the agen ...
Added by rsmarsha on Fri, 18 Feb 2022 10:18:03 +0200