CN109977030B - Method and device for testing deep random forest program - Google Patents
Method and device for testing deep random forest program Download PDFInfo
- Publication number
- CN109977030B CN109977030B CN201910343573.7A CN201910343573A CN109977030B CN 109977030 B CN109977030 B CN 109977030B CN 201910343573 A CN201910343573 A CN 201910343573A CN 109977030 B CN109977030 B CN 109977030B
- Authority
- CN
- China
- Prior art keywords
- test
- coverage rate
- generation
- test case
- forest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention provides a method and equipment for testing a deep random forest program, wherein the method comprises the steps of obtaining a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information; if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rate of the test cases of the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result; and carrying out cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement. And the three-level coverage rate information is obtained through the test coverage rate calculation standard, and the whole test process can be automatically stopped when the preset test requirement is met, so that the test cost is reduced.
Description
Technical Field
The invention relates to the technical field of software testing, in particular to a testing method and testing equipment for a deep random forest program.
Background
Software testing is an important step in a software development link, and is a process of operating a program under a specified condition to find out a program error, measure software quality and evaluate whether the program error can meet design requirements, but a test case of the software testing is possibly insufficient and not comprehensive, so that the error in the software cannot be found, and a coverage standard of the software testing is an evaluation standard for measuring whether the testing is sufficient and reliable.
The traditional software test coverage standard is to measure the coverage degree of a test case at a code level, such as statement coverage, branch coverage and the like, but the standard is not applicable to a new deep learning model of a deep random forest, such as the deep random forest, which is a set of forests consisting of a plurality of decision trees and connection relations of the forests, so that it is not feasible to try to explain the principle of the test case by using traditional code logic, and how to better realize the test of deep random forest programs is a problem to be solved urgently in the industry.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for testing a deep random forest program, so as to solve or at least partially solve the technical problems in the background art.
In a first aspect, an embodiment of the present invention provides a method for testing a deep random forest program, including:
acquiring a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information;
if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rate of the test cases of the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result;
and carrying out cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method for testing a deep random forest program according to the first aspect when executing the program.
In a third aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for testing a deep random forest program according to the first aspect.
The test method and the test equipment for the deep random forest program provided by the embodiment of the invention can calculate and obtain the three-level coverage rate information of the test case set by specifically providing a multi-granularity scanning complete coverage rate standard, a cascade forest coverage rate standard of any type and a cascade forest full-type test coverage rate standard, when the three-level coverage rate information of the test case set does not accord with the test standard, each test case in the test case set is processed by a genetic iteration method so as to obtain an optimized test case set, and the test is carried out again until the three-level coverage rate of the test case set accords with the test standard, the embodiment of the invention can calculate and obtain the three-level coverage rate information by the test coverage rate calculation standard set by the invention, and the whole test flow can automatically stop when reaching the preset test requirement, otherwise, the test is continuously and circularly carried out, the whole process does not need a large amount of manual operation, and the testing cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for testing a deep random forest program according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for testing a deep random forest program based on a genetic algorithm according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the overlay analysis steps according to one embodiment of the present invention;
FIG. 4 is a flow chart of genetic iterations as described in one embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a testing method of a deep random forest program according to an embodiment of the present invention, as shown in fig. 1, including:
step S1, acquiring a generation of three-level coverage information according to a generation of test case set, wherein the generation of three-level coverage information comprises first multi-granularity scanning complete coverage information, first cascade forest coverage information of any type and first cascade forest full-type test coverage information;
step S2, if the generation tertiary coverage rate information does not accord with the preset test requirement, sequencing the tertiary coverage rate of the test cases in the generation test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result;
and step S3, performing cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement.
Specifically, the generation test case set described in the embodiment of the present invention refers to the generation test case set, and the previous generation test case set and the initial test case set may also exist before the generation test case set; an updated next-generation test case set may also exist after the present-generation test case set, which may be expressed as a second-generation test case set.
The test case set described in the embodiment of the invention refers to a set of test cases of the same generation, the initial test case set described in the embodiment of the invention refers to a set of test cases of an initial generation when testing is started, and the initial test cases can be training stages of a deep random forest, and a part of training data is randomly selected as the initial test cases.
The three-level coverage rate information described in the embodiment of the invention refers to multi-granularity scanning complete coverage rate information, cascade forest coverage rate information of any type and cascade forest full-type test coverage rate information; and calculating to obtain the three-level coverage rate information of the test case set through the test coverage conditions of all the test cases in the test case set.
The test coverage described in the embodiment of the present invention may refer to an output condition of each decision tree in two random forests monitoring multi-granularity scanning in an operation process, and a leaf node reached by each decision tree is recorded as a multi-granularity scanning node coverage condition of the test case. And then monitoring the output result of each random forest in the cascade forests as the cascade forest type coverage condition of the test case. Coverage analysis will record coverage for all individuals of each generation of population.
Any type described in the embodiment of the present invention refers to any one of specific types of deep random forests that need to be predicted, and a full type described in the embodiment of the present invention refers to all types of types that need to be predicted, and the number of specific types that need to be predicted may be preset.
The structure of the deep random Forest is divided into two parts, namely Multi-granular Scanning (Multi-granular Scanning) and Cascade Forest (Cascade Forest), the two parts are divided into parts to complete one-time prediction, and the Cascade Forest can be specifically distinguished into any type coverage rate prediction and full-type test coverage prediction.
Processing the generation test case set through a multi-granularity scanning complete coverage standard to obtain first multi-granularity scanning complete coverage information, which specifically comprises the following steps:
wherein N ═ { N ═ N1,n2,n3… is all decision trees in a random forest, ni∈N(1<i<N) is a decision tree in a random forest, T ═ T1,t2,t3… is the test set, L ═ L1,l2,l3… is all leaf nodes of the decision tree, lj∈L(1<j<L) is one of the leaf nodes of the decision tree, phi (T, n) represents the output result of the decision tree n under the condition that T e is tested as the input, namely the reached leaf node.
Processing the generation test case set through the coverage rate standard of any type of the cascade forest to obtain the coverage rate information of any type of the first cascade forest, which specifically comprises the following steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered.
Processing the generation test case set through a cascade forest full-type test coverage rate standard to obtain first cascade forest full-type test coverage rate information, which specifically comprises the following steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the ith part of the n-type output of the forest f under the test t is covered, thereby acquiring a generation of three-level coverage information.
The sequencing processing of the three-level coverage of the test cases in the generation test case set specifically means that the test cases are sequenced according to a weight standard that first multi-granularity scanning complete coverage information is larger than first cascade forest complete type coverage information and is larger than any type of first cascade forest test coverage information, namely, the multi-granularity scanning complete coverage information is preferentially compared, when the multi-granularity scanning complete coverage information is equal to the first cascade forest complete type coverage information, when the cascade forest complete type coverage information is equal to the first cascade forest complete type coverage information, the cascade forest complete type coverage information is compared to obtain a sequencing result, and m test cases which are sequenced in the front are selected as parent cross operator information according to the sequencing result.
The cross mutation operation of the attached cross operator specifically means that the cross operator crosses the binary coded data of the test case individuals in the information of the two parent cross operators as genes:
and randomly pairing the individuals in the parents, randomly selecting a section of binary data string as a cross section, exchanging data in the section, and forming new filial generation individuals by the two exchanged parent individuals.
For example, taking binary parameters as program inputs:
prent1:01010|11001010|10110101
prent2:10101|00101011|00010100
and (3) crossing to obtain:
child1:01010|00101011|10110101
child2:10101|11001010|00010100
then, the mutation operator performs mutation operation on each filial generation individual generated by the crossover operator, randomly selects a data bit for the filial generation individual generated by the crossover operator, and negates the bit value to achieve the mutation effect.
For example, taking binary parameters as program inputs:
child1:01010|0|010101110110101
mutating the selected position to obtain:
child3:01010|1|010101110110101
and
child2:1010111001010000|1|0100
mutating the selected position to obtain:
child4:1010111001010000|0|0100
in the above example, two parent individuals generate four offspring after crossing and mutation, so for the number m of choices in the selection operator, if the value of the choice m is half of the number of the initial population, a parent with half of the number of the initial population will be generated, and then 2m children will be generated through the crossing operator and the mutation operator, and the number of the children is exactly the same as the number of individuals in the initial population. Therefore, in the selection operator, if the value of m is equal to half of the number of the initial generation population individuals, the number of the population individuals will not change no matter after several iterations; if the value of m is more than half of the number of the individuals of the initial generation population, the number of the individuals of the population is increased generation by generation; if the value of m is less than half of the number of the individuals of the initial generation population, the number of the individuals of the population is reduced generation by generation, and therefore a test case set of one generation is updated.
Preferably, in practical application, different strategies can be selected according to limiting factors such as platform computing power and cost, for example:
1) in the initial stage of iteration, the value of m is properly reduced, individuals with low fitness are eliminated, so that only individual genes with high fitness can be inherited, the iteration speed is accelerated, and most of population is individuals with high fitness; and then, the value of m is properly increased in the later period of iteration so as to increase the population individual number under the condition of higher coverage rate.
2) The value of m is properly increased at the initial stage of iteration to enable the number of population individuals to be rapidly increased, the genetic diversity of the population is improved, then the value of m is properly reduced at the later stage of iteration to eliminate a large number of individuals with low fitness, and the individuals with high fitness are screened out to improve the coverage rate under the condition of high number of test cases.
In practical application, different strategies can be combined for use, and the value of m can be flexibly changed in each iteration according to the cost requirements of the initial test case set, such as different qualities, different time, different calculation force and the like.
The embodiment of the invention can calculate and obtain the three-level coverage rate information of the test case set by specifically providing the multi-granularity scanning complete coverage rate standard, the coverage rate standard of any type of cascade forests and the test coverage rate standard of the cascade forests, when the three-level coverage rate information of the test case set does not accord with the test standard, each test case in the test case set is processed by a genetic iteration method, thereby obtaining an optimized test case set, and testing again until the three-level coverage rate of the test case set meets the test standard, the embodiment of the invention calculates the standard through the test coverage rate set by the invention, therefore, three-level coverage rate information can be obtained through calculation, the whole testing process can be automatically stopped when the preset testing requirement is met, otherwise, the test is continuously and circularly performed, a large amount of manual operation is not needed in the whole process, and the testing cost is reduced.
On the basis of the above embodiment, before the obtaining of the generation three-level coverage information according to the generation test case set, the method further includes:
sequentially calculating the coverage rate of the test cases in a first generation test case set to obtain the three-level coverage rate information of the test cases;
and obtaining the generation three-level coverage rate information of the generation test case set according to the test case three-level coverage rate information.
Specifically, the coverage calculation for the test cases in the first-generation test case set described in the embodiment of the present invention specifically means that the third-level coverage of the test case is added to the third-level coverage of the previous-generation test case set relative to the first-generation test case set, and then the coverage calculation is performed, so as to obtain the third-level coverage information of the test case, where the third-level coverage information of the test case is calculated and still obtained by using the multi-granularity scanning complete coverage standard, the cascade forest coverage standard of any type, and the cascade forest full-type test coverage standard.
Because the test case set refers to the set of the generation of test cases, the generation three-level coverage rate information of the generation of test case set can be obtained through the three-level coverage rate information of each test case.
The embodiment of the invention adds the covering condition of the test case with the covering condition of the previous generation test case set and then calculates the covering rate, thereby overcoming the defect that when a single test case individual is executed, each decision tree reaches a leaf node, the single test case individual covering rate is calculated independently to obtain the same result, the condition of practical applicability cannot be distinguished, and finally the adaptability of the test case set is determined.
On the basis of the above embodiment, the step of calculating the coverage of the test case to obtain the three-level coverage information of the test case specifically includes:
acquiring three-level coverage rate information of a previous generation test case set of the test cases;
carrying out three-level coverage rate calculation on the test case to obtain three-level coverage result information of the test case;
and obtaining the three-level coverage rate information of the test case according to the three-level coverage result information of the test case and the three-level coverage rate information of the previous generation test case set.
Specifically, test coverage conditions of a present-generation test case and a previous-generation test case set are input, the coverage conditions of the present-generation test case and the coverage conditions of the previous-generation test case set are added, and then three-level coverage result information of the test cases is obtained through a multi-granularity scanning complete coverage standard, a cascade forest any-type coverage standard and a cascade forest full-type test coverage standard;
and then subtracting the three-level coverage rate information of the previous generation test case set from the three-level coverage result information of the test case, thereby obtaining the coverage rate improvement amount of the individual test case of the present generation relative to the previous generation test case set, and obtaining the three-level coverage rate information of the test case.
The embodiment of the invention adds the covering condition of the test case with the covering condition of the previous generation test case set and then calculates the covering rate, thereby overcoming the defect that when a single test case individual is executed, each decision tree reaches a leaf node, the single test case individual covering rate is calculated independently to obtain the same result, the condition of practical applicability cannot be distinguished, and finally the adaptability of the test case set is determined.
On the basis of the above embodiment, the step of obtaining a generation of three-level coverage information according to a generation of test case set specifically includes:
processing the generation test case set through a multi-granularity scanning complete coverage standard to obtain first multi-granularity scanning complete coverage information;
processing the generation test case set through any type coverage rate standard of the cascade forest to obtain any type coverage rate information of the first cascade forest;
processing the generation test case set through a cascade forest full-type test coverage rate standard to obtain first cascade forest full-type test coverage rate information;
and obtaining the generation three-level coverage rate information according to the first multi-granularity scanning complete coverage rate information, the first cascade forest coverage rate information of any type and the first full-type test coverage rate information.
Specifically, the first generation test case suite is processed through the multi-granularity scanning complete coverage standard, and the coverage condition of the first generation test case suite is input into the multi-granularity scanning complete coverage standard to obtain first multi-granularity scanning complete coverage information, which specifically includes:
wherein N ═ { N ═ N1,n2,n3… is all decision trees in a random forest, ni∈N(1<i<N) is a decision tree in a random forest, T ═ T1,t2,t3… is the test set, L ═ L1,l2,l3… is all leaf nodes of the decision tree, lj∈L(1<j<L) is one of the leaf nodes of the decision tree, phi (T, n) represents the output result of the decision tree n under the condition that T e is tested as the input, namely the reached leaf node.
Processing the first-generation test case set through any type coverage rate standard of the cascade forest, inputting the coverage condition of the first-generation test case set into any type coverage standard of the cascade forest, and obtaining coverage rate information of any type of the first cascade forest, wherein the specific steps are as follows:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered.
Processing the first-generation test case suite through the cascade forest full-type test coverage standard, inputting the coverage condition of the first-generation test case suite into the cascade forest full-type test coverage standard, and obtaining first-stage forest full-type test coverage information, wherein the method specifically comprises the following steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,input of type n representing forest fPart i from, ifIt means that the ith part of the n-type output of the forest f under the test t is covered, thereby acquiring a generation of three-level coverage information.
On the basis of the embodiment, the scanning result of the multi-granularity scanning complete coverage standard can be used as input data to be input to the cascade forest for multiple times, and the scanning result can affect each layer of the cascade forest;
if, N ═ N1,n2,n3… is all decision trees in a random forest, ni∈N(1<i<N) is one of the decision trees, T ═ T1,t2,t3… is the test set, L ═ L1,l2,l3… is all leaf nodes of the decision tree, lj∈L(1<j<L) is one of the leaf nodes of the decision tree, phi (T, n) represents the output result of the decision tree n under the condition that T e is tested as the input, namely the reached leaf node.
If φ (t, n) ε L indicates that decision tree n has reached one of the leaf nodes under test t, so to speak, this node is covered. So the leaf node coverage for a decision tree is:
the average of the leaf node coverage of all decision trees in the random forest is the leaf node coverage of the whole random forest:
however, the same leaf node coverage rate can have different coverage modes, for example, two decision trees n1And n2,n1,n2When the coverage is all 0.8, their average value is 0.8, when n is1Has a coverage of 1, and n2The coverage of (2) was 0.6, and their average value was 0.8. The latter pair n although the average coverage is the same2Is obviously insufficient. The leaf node full coverage criterion is introduced.
It is said that the tree is completely covered.
The full coverage of all trees in the forest, i.e. the multi-granularity scan full coverage criterion, is:
wherein N ═ { N ═ N1,n2,n3… is all decision trees in a random forest, ni∈N(1<i<N) is a decision tree in a random forest, T ═ T1,t2,t3… is the test set, L ═ L1,l2,l3… is all leaf nodes of the decision tree, lj∈L(1<j<L) is one of the leaf nodes of the decision tree, phi (T, n) represents the output result of the decision tree n under the condition that T e is tested as the input, namely the reached leaf node.
According to the embodiment of the invention, the situation that all leaf nodes in one decision tree are covered is conjectured by considering the leaf node coverage rate of the decision tree, and each granularity of the multi-granularity scanning consists of one random forest and one completely random forest, so that the complete coverage rate of the multi-granularity scanning can be determined by respectively calculating the complete coverage rates of the multi-granularity scanning and then calculating the average value, and the complete coverage rate of the multi-granularity scanning can be calculated according to the complete coverage rate standard of the multi-granularity scanning.
On the basis of the embodiment, the multi-granularity scanning result of the cascade forest is used as the input part of each layer, the input part is continuously handed to the next layer, and the output result of the random forest which is the minimum unit in the cascade forest is used as the calculation standard of the test coverage; setting F ═ F1,f2,f3… is all random forests in the cascade, fi ∈ F (1)<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φnAnd (t, f) represents the output result of the forest f to the prediction class n under the test t.
Each level in the cascading forest is composed of multiple layers of forests, the number of the layers is determined by the scanning granularity number in the multi-granularity scanning, the prediction types of the cascading forests can be preset according to needs, if n prediction types exist, each forest outputs an n-dimensional vector as an output result, for example, when 3 prediction types exist, each forest outputs a three-dimensional vector as output understanding, if (0.2,0.5 and 0.8) indicate that the prediction possibilities of the three types are respectively 20%, 50% and 80%, and the value range of each type is within (0, 1).
Dividing the value range of each prediction type of the cascade forest into K (K belongs to N) parts,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered. Then the test coverage of the forest for type n is:
the test coverage of the cascaded forest to any n types can be obtained by the average value of all random forests, that is, the standard of the coverage of any type of the cascaded forest is specifically as follows:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered.
The method for obtaining the cascade forest full-type test coverage rate standard according to the cascade forest coverage rate standard comprises the following specific steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered.
The coverage standard can be used for comprehensively calculating the test coverage standard of the whole cascade forest or independently calculating the test standard of a certain test type, wherein the larger the value of K is, the higher the persuasion to the test is, and the stricter the requirement on the test is.
For example, a deep random forest system for identifying handwritten Chinese characters is provided, 2000 of the classified types are common Chinese characters, 8000 of the classified types are uncommon Chinese characters, and the test coverage rate of each layer of forest on the common Chinese characters can be calculated and explained independently, and the test coverage rate on the uncommon Chinese characters can be calculated and explained independently. Therefore, different coverage rate requirements can be specified for different types during testing, for example, a higher coverage rate requirement is specified for common Chinese characters, and a lower coverage rate requirement is specified for uncommon Chinese characters, so that the testing cost can be reduced, and the testing period can be shortened.
According to the embodiment of the invention, the multi-granularity scanning complete coverage standard, the cascade forest coverage standard of any type and the cascade forest full-type test coverage standard are respectively set, so that the test of the deep random forest program has the coverage evaluation standard, and the problem that the deep random forest cannot be effectively tested in the field is solved.
On the basis of the above embodiment, the step of performing ranking processing on the third-level coverage of the test cases in the first-generation test case set to obtain a ranking result specifically includes:
sequencing the multi-granularity scanning complete coverage rate information of the test cases in the first generation test case set to obtain multi-granularity scanning sequencing result information;
sequencing any type of coverage rate information of the test case cascade forest in the generation test case set to obtain coverage rate sequencing result information of any type;
sequencing the test case cascade forest full-type test coverage rate information in the generation test case set to obtain full-type coverage rate sequencing result information;
and obtaining a sorting result according to the multi-granularity scanning sorting result information, the coverage rate sorting result information of any type and the coverage rate sorting result information of the full type.
Specifically, firstly, sequencing multi-granularity scanning complete coverage rate information of test cases in a generation test case set to obtain multi-granularity scanning sequencing result information; and then selecting the test case with the sequencing result closer to the front as parent cross operator information through the multi-granularity scanning sequencing result information.
And when the multi-granularity scanning sequencing result information is all equal, sequencing the full-type test coverage rate information of the test cases in the first generation test case set to obtain the full-type coverage rate sequencing result information, and then selecting the test case with the sequencing result closer to the front as parent cross operator information through the full-type coverage rate sequencing result information.
When the multi-granularity scanning sequencing result information and the full-type coverage sequencing result information are all equal, sequencing any type of coverage information of the example cascade forest to obtain any type of coverage sequencing result information, and then selecting the test example with the sequencing result closer to the front as parent cross operator information according to the coverage sequencing result information of any type.
According to the embodiment of the invention, through setting different weight sequences, a more optimal test case is selected as parent cross operator information through the sequencing result, and the method is suitable for a genetic iteration algorithm, so that an optimized new test case is generated to replace the original test case, the whole test flow automatically generates a new test case, the new test case is executed, a large amount of manual operation is not needed, and the test cost is reduced.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of a testing method for a deep random forest program based on a genetic algorithm according to an embodiment of the present invention, and as shown in fig. 2, step 210 starts, step 220 is entered, a test case is executed, step 230 is entered, a multi-granularity scanning coverage node and step 240 are recorded, and a cascading forest output coverage condition is recorded, so that step 250 is entered to obtain a test case coverage condition, where the coverage condition is an output condition of each decision tree in two random forests monitoring multi-granularity scanning during an operation process of the test case, and a leaf node reached by each decision tree is recorded as a multi-granularity scanning node coverage condition of the test case. And then monitoring the output result of each random forest in the cascade forests as the cascade forest type coverage condition of the test case. Coverage analysis will record the coverage of all individuals of each generation of population; entering step 260, calculating three-level coverage rate information, specifically, adding the coverage condition of the test case of the current generation and the coverage condition of the test case set of the previous generation, and then obtaining the three-level coverage rate information of the test case through a multi-granularity scanning complete coverage rate standard, a cascade forest coverage rate standard of any type and a cascade forest full-type test coverage rate standard; and then entering step 270, judging whether the three-level coverage rate information of the test case reaches a test target, if so, entering step 280, ending the test, if not, entering step 290, selecting parent cross operator information, then entering step 2010, performing cross mutation operation on the parent cross operator, entering step 2020, updating the test case to obtain an updated test case, then returning to step 220, and re-executing the updated test case until reaching the visual target.
The embodiment of the invention can calculate and obtain the three-level coverage rate information of the test case set by specifically providing the multi-granularity scanning complete coverage rate standard, the coverage rate standard of any type of cascade forests and the test coverage rate standard of the cascade forests, when the three-level coverage rate information of the test case set does not accord with the test standard, each test case in the test case set is processed by a genetic iteration method, thereby obtaining an optimized test case set, and testing again until the three-level coverage rate of the test case set meets the test standard, the embodiment of the invention calculates the standard through the test coverage rate set by the invention, therefore, three-level coverage rate information can be obtained through calculation, the whole testing process can be automatically stopped when the preset testing requirement is met, otherwise, the test is continuously and circularly performed, a large amount of manual operation is not needed in the whole process, and the testing cost is reduced.
FIG. 3 is a flowchart illustrating the coverage analysis steps according to an embodiment of the invention, as shown in FIG. 3, including step 310, starting with step 320, inputting a test case set; proceeding to step 330, defining i to 1, defining calculator i, and initializing it to 0; step 340 is entered, the ith test case is executed, and the ith test case in the test case set is input into a deep random forest test; recording the coverage condition; entering step 360 to record multi-granularity scanning coverage nodes and step 350 to record cascading forest output coverage; then, go to step 370, counter i + 1; entering step 380, judging whether i +1 is the last test case, judging whether the test case set is completely executed, if yes, continuing to enter step 390, analyzing the test coverage condition, outputting the test coverage condition of the test case set, and if not, returning to step 340 to continue executing the ith test case; finally, the flow ends at step 3100.
Fig. 4 is a flowchart of genetic iteration according to an embodiment of the present invention, as shown in fig. 4, including step 410, starting the process, entering step 420, determining three-level coverage rate information, inputting three-level coverage rate information of a previous generation, step 430, whether a test requirement is met, if the test requirement is met, entering step 4100, ending the process, otherwise entering step 440, inputting a test case set of the previous generation, and then proceeding to step 450 for selection; step 460, crossing; step 470, mutation; then, the step 480 is performed to obtain a new test case set, and the step 490 is performed to perform coverage analysis on the new test case set.
According to the embodiment of the invention, the test case set which does not meet the preset test requirement is optimized through the genetic iteration algorithm, so that the test is stopped when the preset test standard is reached, otherwise, the circular test is continuously optimized, a large amount of manual operation is not needed in the process, and the test cost is reduced.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may call logic instructions in memory 530 to perform the following method: acquiring a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information; if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rate of the test cases of the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result; and carrying out cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: acquiring a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information; if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rate of the test cases of the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result; and carrying out cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a server instruction, and the computer instruction causes a computer to execute the method for testing a deep random forest program provided in the foregoing embodiment, where the method includes: acquiring a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information; if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rate of the test cases of the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result; and carrying out cross mutation operation on the parent cross operator information to update a test case set until the test case set meets the preset test requirement.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (6)
1. A testing method of a deep random forest program is characterized by comprising the following steps:
acquiring a generation of three-level coverage rate information according to a generation of test case set, wherein the generation of three-level coverage rate information comprises first multi-granularity scanning complete coverage rate information, first cascade forest coverage rate information of any type and first cascade forest full-type test coverage rate information;
if the generation of third-level coverage rate information does not meet the preset test requirement, sequencing the third-level coverage rates of the test cases in the generation of test case set to obtain a sequencing result, and obtaining parent cross operator information according to the sequencing result;
performing cross mutation operation on the parent cross operator information to update a test case set until a preset test requirement is met;
the step of obtaining a generation of three-level coverage rate information according to a generation of test case set specifically comprises:
processing the generation test case set through a multi-granularity scanning complete coverage standard to obtain first multi-granularity scanning complete coverage information;
processing the generation test case set through any type coverage rate standard of the cascade forest to obtain any type coverage rate information of the first cascade forest;
processing the generation test case set through a cascade forest full-type test coverage rate standard to obtain first cascade forest full-type test coverage rate information;
obtaining the generation three-level coverage rate information according to the first multi-granularity scanning complete coverage rate information, the first cascade forest coverage rate information of any type and the first full-type test coverage rate information;
the multi-granularity scanning complete coverage rate standard specifically comprises the following steps:
wherein N ═ { N ═ N1,n2,n3… is all decision trees in a random forest, ni∈N(1<i<N) is a decision tree in a random forest, T ═ T1,t2,t3… is the test set, L ═ L1,l2,l3… is all leaf nodes of the decision tree, lj∈L(1<j<L) is one of the leaf nodes of the decision tree, phi (T, n) represents the output result of the decision tree n under the condition that the test T belongs to T as the input, namely the reached leaf node;
the coverage rate standard of any type of the cascade forest specifically comprises the following steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifThen it indicates that the i-th part of the forest f output for n-type is covered under test t;
the cascade forest full-type test coverage rate standard specifically comprises the following steps:
wherein F ═ { F ═ F1,f2,f3… is all random forests in the cascade of forests, fi∈F(1<i<If) is one of the random forests, N ═ N1,n2,n3… is all types, n, requiring predictioni∈N(1<i<N) is one of the types, T ═ T1,t2,t3… is the test set, φn(t, f) represents the output result of the forest f to the prediction class n under the test t; the K is divided into K parts (K belongs to N) in the world of any type of probability,the i-th part of the output for n types representing forest f, ifIt means that the i-th part of the n-type output of forest f under test t is covered.
2. The method for testing a deep random forest program according to claim 1, wherein before the obtaining a generation of tertiary coverage information according to a generation of test case set, the method further comprises:
sequentially calculating the coverage rate of the test cases in the first generation test case set to obtain the third-level coverage rate information of the test cases;
and obtaining the generation three-level coverage rate information of the generation test case set according to the test case three-level coverage rate information.
3. The method for testing the deep random forest program according to claim 2, wherein the step of calculating the coverage rate of the test cases in the generation test case set to obtain the three-level coverage rate information of the test cases specifically comprises:
acquiring three-level coverage rate information of a previous generation test case set of the test cases;
carrying out three-level coverage rate calculation on the test case to obtain three-level coverage result information of the test case;
and obtaining the three-level coverage rate information of the test case according to the three-level coverage result information of the test case and the three-level coverage rate information of the previous generation test case set.
4. The method for testing the deep random forest program according to claim 1, wherein the step of performing sorting processing on the third-level coverage of the test cases in the generation test case set to obtain a sorting result specifically comprises:
sequencing the multi-granularity scanning complete coverage rate information of the test cases in the first generation test case set to obtain multi-granularity scanning sequencing result information;
sequencing any type of coverage rate information of the test case cascade forest in the generation test case set to obtain coverage rate sequencing result information of any type;
sequencing the test case cascade forest full-type test coverage rate information in the generation test case set to obtain full-type coverage rate sequencing result information;
and obtaining a sorting result according to the multi-granularity scanning sorting result information, the coverage rate sorting result information of any type and the coverage rate sorting result information of the full type.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for testing a deep random forest program according to any one of claims 1 to 4.
6. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, is adapted to carry out the steps of the method for testing a deep random forest program according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910343573.7A CN109977030B (en) | 2019-04-26 | 2019-04-26 | Method and device for testing deep random forest program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910343573.7A CN109977030B (en) | 2019-04-26 | 2019-04-26 | Method and device for testing deep random forest program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109977030A CN109977030A (en) | 2019-07-05 |
CN109977030B true CN109977030B (en) | 2022-04-19 |
Family
ID=67086537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910343573.7A Active CN109977030B (en) | 2019-04-26 | 2019-04-26 | Method and device for testing deep random forest program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109977030B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061640B (en) * | 2019-12-18 | 2023-02-17 | 电信科学技术第十研究所有限公司 | Software reliability test case screening method and system |
CN112597009B (en) * | 2020-12-15 | 2024-04-02 | 北京时代民芯科技有限公司 | FPGA embedded PCIExpress IP core mass production test optimization method based on coverage rate sequencing |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0424314D0 (en) * | 2003-11-04 | 2004-12-01 | Tayvin 306 Ltd | Wireless network application testing |
CN102176200A (en) * | 2009-09-25 | 2011-09-07 | 南京航空航天大学 | Software test case automatic generating method |
CN102323906A (en) * | 2011-09-08 | 2012-01-18 | 哈尔滨工程大学 | MC/DC test data automatic generation method based on genetic algorithm |
CN102436417A (en) * | 2011-09-28 | 2012-05-02 | 于秀山 | Code and function covering mapping system and covering mapping method thereof |
CN102831479A (en) * | 2012-07-29 | 2012-12-19 | 江苏大学 | NSGA-II (non-domination sequencing genetic algorithm) multi-objective optimization searching method |
CN103473171A (en) * | 2013-08-28 | 2013-12-25 | 北京信息科技大学 | Coverage rate dynamic tracking method and device based on function call paths |
CN106095684A (en) * | 2016-06-17 | 2016-11-09 | 北京大学 | A kind of predictability mutation testing method |
CN107577603A (en) * | 2017-08-31 | 2018-01-12 | 中国科学院软件研究所 | A kind of procedure condition sentence automation repair system and method based on test case structure decision tree |
CN108416219A (en) * | 2018-03-18 | 2018-08-17 | 西安电子科技大学 | A kind of Android binary files leak detection method and system |
CN108446214A (en) * | 2018-01-31 | 2018-08-24 | 浙江理工大学 | Test case evolution generation method based on DBN |
CN108647146A (en) * | 2018-05-11 | 2018-10-12 | 北京信息科技大学 | The method for generating test case of combined covering is judged based on correction conditions |
CN108804304A (en) * | 2017-05-05 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Method for generating test case and device, storage medium, electronic equipment |
CN109492593A (en) * | 2018-11-16 | 2019-03-19 | 西安电子科技大学 | Hyperspectral image classification method based on principal component analysis network and space coordinate |
-
2019
- 2019-04-26 CN CN201910343573.7A patent/CN109977030B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0424314D0 (en) * | 2003-11-04 | 2004-12-01 | Tayvin 306 Ltd | Wireless network application testing |
CN102176200A (en) * | 2009-09-25 | 2011-09-07 | 南京航空航天大学 | Software test case automatic generating method |
CN102323906A (en) * | 2011-09-08 | 2012-01-18 | 哈尔滨工程大学 | MC/DC test data automatic generation method based on genetic algorithm |
CN102436417A (en) * | 2011-09-28 | 2012-05-02 | 于秀山 | Code and function covering mapping system and covering mapping method thereof |
CN102831479A (en) * | 2012-07-29 | 2012-12-19 | 江苏大学 | NSGA-II (non-domination sequencing genetic algorithm) multi-objective optimization searching method |
CN103473171A (en) * | 2013-08-28 | 2013-12-25 | 北京信息科技大学 | Coverage rate dynamic tracking method and device based on function call paths |
CN106095684A (en) * | 2016-06-17 | 2016-11-09 | 北京大学 | A kind of predictability mutation testing method |
CN108804304A (en) * | 2017-05-05 | 2018-11-13 | 北京京东尚科信息技术有限公司 | Method for generating test case and device, storage medium, electronic equipment |
CN107577603A (en) * | 2017-08-31 | 2018-01-12 | 中国科学院软件研究所 | A kind of procedure condition sentence automation repair system and method based on test case structure decision tree |
CN108446214A (en) * | 2018-01-31 | 2018-08-24 | 浙江理工大学 | Test case evolution generation method based on DBN |
CN108416219A (en) * | 2018-03-18 | 2018-08-17 | 西安电子科技大学 | A kind of Android binary files leak detection method and system |
CN108647146A (en) * | 2018-05-11 | 2018-10-12 | 北京信息科技大学 | The method for generating test case of combined covering is judged based on correction conditions |
CN109492593A (en) * | 2018-11-16 | 2019-03-19 | 西安电子科技大学 | Hyperspectral image classification method based on principal component analysis network and space coordinate |
Non-Patent Citations (5)
Title |
---|
DeepGauge: multigranularity testing criteria for deep learning systems;L. Ma, F. Xu, F. Zhang, J. Sun, M. Xue, B. Li, et al;《In Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering》;20180903;全文 * |
Deep-Hunter: A Coverage-Guided Fuzz Testing Framework for Deep Neural Networks;X. Xie, L. Ma, F. Juefei-Xu, M. Xue, H. Chen, Y. Liu, et al;《https://arxiv.org/abs/1809.01266》;20181116;全文 * |
Deepmutation: Mutation testing of deep learning systems;L. Ma, F. Zhang, J. Sun, M. Xue, B. Li, F. Juefei-Xu, C. Xie, L.;《The 29th IEEE International Symposium on Software Reliability Engineering (ISSRE)》;20181119;全文 * |
一种变异真值表故障模型的神经网络测试生成算法;戴金玲 许爱强;《电子设计工程》;20171031(第201719期);全文 * |
基于输出域的测试用例自动生成方法研究;尤枫 赵瑞莲 吕珊珊;《计算机研究与发展》;20160331(第201603期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109977030A (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111124840A (en) | Method and device for predicting alarm in business operation and maintenance and electronic equipment | |
EP3819827A1 (en) | Machine learning device and method | |
US11308399B2 (en) | Method for topological optimization of graph-based models | |
US20180276105A1 (en) | Active learning source code review framework | |
CN109977030B (en) | Method and device for testing deep random forest program | |
CN112668809B (en) | Method for establishing autism children rehabilitation effect prediction model | |
CN112699045A (en) | Software test case generation method based on multi-population genetic algorithm | |
CN111641608A (en) | Abnormal user identification method and device, electronic equipment and storage medium | |
CN111832949A (en) | Construction method of equipment combat test identification index system | |
JP2018190127A (en) | Determination device, analysis system, determination method and determination program | |
CN114185800A (en) | Test case generation method, system, equipment and medium based on genetic algorithm | |
CN111352830B (en) | Variation test data evolution generation method based on statement dominance relation | |
Berti et al. | Central limit theorems for an Indian buffet model with random weights | |
CN107743071B (en) | Enhanced representation method and device for network node | |
CN116910274B (en) | Test question generation method and system based on knowledge graph and prediction model | |
JP2009175925A (en) | Unit, method and control program for collation parameter optimization | |
CN113743461B (en) | Unmanned aerial vehicle cluster health degree assessment method and device | |
CN113642226A (en) | Training method of fair machine learning model based on multi-objective evolutionary algorithm | |
JP7468088B2 (en) | Image processing system and image processing program | |
CN111582446B (en) | System for neural network pruning and neural network pruning processing method | |
CN110162704B (en) | Multi-scale key user extraction method based on multi-factor genetic algorithm | |
CN115578113A (en) | Method, device, equipment and storage medium for identifying potential broadband target user | |
CN112466398A (en) | Method and device for judging functional feasibility of zebra fish model appraiser gene | |
CN117041073B (en) | Network behavior prediction method, system, equipment and storage medium | |
Abdelbari et al. | Optimising a constrained echo state network using evolutionary algorithms for learning mental models of complex dynamical systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |