Abstract:
A data processing method and apparatus are disclosed. The method includes: obtaining a sample dataset, where each sample in the sample dataset includes a first label; dividing the sample dataset into K sample sub-datasets, determining a group of data from the K sample sub-datasets as a test dataset, and using sample sub-datasets other than the test dataset as a train dataset; training the classifier by using the train dataset, and classifying the test dataset by using a trained classifier, to obtain a second label of each sample in the test dataset; obtaining a first indicator and a first hyper-parameter at least based on the first label and the second label; obtaining a loss function of the classifier at least based on the first hyper-parameter, where the loss function is used to update the classifier; and completing training of the classifier when the first indicator meets a preset condition.
Abstract:
Embodiments of the present invention provide a method and an apparatus for network traffic simulation. The method includes: obtaining traffic information and user requirement information of a to-be-simulated IP network; analyzing the traffic information to generate a traffic characteristic; according to correspondence between user requirement information and traffic models, obtaining a traffic model corresponding to the user requirement information; and generating, through simulation, traffic of the to-be-simulated IP network according to the traffic characteristic and the traffic model. The embodiments of the present invention can improve flexibility and an emulation degree of traffic simulation.
Abstract:
This application discloses a method and an apparatus for determining a fault type. The method includes: performing online real-time calculation on operating data generated by each of a plurality of users within a preset period, to obtain an operating feature value corresponding to the operating data generated by each of the plurality of users within the preset period; receiving a fault classification request, where the fault classification request requests to determine a fault type of a fault that is caused for a target user before a target moment; and determining, according to the fault classification request, the fault type of the fault that is caused for the target user before the target moment based on a fault classification model and an operating feature value that is of the target user within at least one preset period.
Abstract:
Embodiments of the present invention disclose a defect prediction method and apparatus, which relate to the data processing field, and implement accurate and quick locating of a defect in a faulty product. A specific solution is as follows: selecting a training attribute set from a pre-stored product fault record according to a target attribute, and combining the target attribute and the training attribute set into a training set, where the target attribute is a defect attribute of a historical faulty product; generating a classifier set according to the training set, where the classifier set includes at least two tree classifiers; and predicting a defect of a faulty product by using the classifier set as a prediction model. The present invention is used in a process of predicting a defect of a faulty product.
Abstract:
A junk information filtering method, including: detecting an Hypertext Transfer Protocol (HTTP) request data packet set generated according to that a user visits a target uniform resource locator (URL) by using a browser of a client, where the HTTP request data packet set includes at least one junk information request data packet and at least one non-junk information request data packet; identifying the junk information request data packet in the HTTP request data packet set according to a preset classification rule; and preventing, according to a preset interception policy, a destination host corresponding to the junk information request data packet from returning a junk information response data packet to the client. The embodiments of the present invention further disclose a junk information filtering apparatus. According to the present invention, accuracy of web page junk information filtering can be improved and user traffic can be saved.
Abstract:
A voice service evaluation processing method and apparatus may include acquiring record data related to a to-be-evaluated voice service; using a voice service evaluation model that is acquired according to record data related to a voice service to evaluate the record data related to the to-be-evaluated voice service, so as to acquire an evaluation value of the record data related to the to-be-evaluated voice service; and performing, according to the evaluation value, evaluation processing on a voice service corresponding to the record data related to the to-be-evaluated voice service. The embodiments of the present disclosure provide a more reliable basis for improvement and optimization of a voice service. In addition, an actual status of a network may further be reflected according to evaluation performed on record data related to the voice service, and adjustment on a network indicator may further be performed according to the reflected network status.
Abstract:
A junk information filtering method, including: detecting an Hypertext Transfer Protocol (HTTP) request data packet set generated according to that a user visits a target uniform resource locator (URL) by using a browser of a client, where the HTTP request data packet set includes at least one junk information request data packet and at least one non-junk information request data packet; identifying the junk information request data packet in the HTTP request data packet set according to a preset classification rule; and preventing, according to a preset interception policy, a destination host corresponding to the junk information request data packet from returning a junk information response data packet to the client. The embodiments of the present invention further disclose a junk information filtering apparatus. According to the present invention, accuracy of web page junk information filtering can be improved and user traffic can be saved.
Abstract:
Embodiments of the present invention provide a method and device for synthesis of network traffic. The method includes extracting a first real traffic composition parameter sequence and a second real traffic composition parameter sequence from real traffic. A first synthetic traffic composition parameter sequence is generated. Relational coefficients between first traffic composition parameters and second traffic composition parameters are obtained. A second synthetic traffic composition parameter sequence is generated and synthetic traffic is generated according to the first synthetic traffic composition parameter sequence and the second synthetic traffic composition parameter sequence.
Abstract:
Embodiments of the present invention disclose a defect prediction method and apparatus, which relate to the data processing field, and implement accurate and quick locating of a defect in a faulty product. A specific solution is as follows: selecting a training attribute set from a pre-stored product fault record according to a target attribute, and combining the target attribute and the training attribute set into a training set, where the target attribute is a defect attribute of a historical faulty product; generating a classifier set according to the training set, where the classifier set includes at least two tree classifiers; and predicting a defect of a faulty product by using the classifier set as a prediction model. The present invention is used in a process of predicting a defect of a faulty product.
Abstract:
A method and an apparatus for selecting a reference tag used for positioning are provided. The method includes: obtaining first signal strength emitted by a reference tag and second signal strength emitted by a tag to be positioned, where the first signal strength and the second signal strength are detected by each radio frequency reader; comparing the first signal strength with the second signal strength to determine a boundary of the radio frequency readers, and dividing a network into a first area and a second area with the boundary; determining an estimated direction of the tag to be positioned relative to the reference tag according to a relative position of the reference tag and the boundary; and according to the estimated direction and according to the specified number of reference tags, selecting a valid reference tag group as the reference tag used for positioning.