A lung cancer classification prediction system based on deep learning
Through the combination of data oversampling and deep integration of two-dimensional convolutional neural networks and quantum convolutional neural networks, the problem of low data quality and low detection efficiency in the lung cancer category prediction system is solved, and the accuracy of lung cancer category prediction is improved. and reliability.
Patent Information
- Application Number
- CN202410408061.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-04-07
AI Technical Summary
The existing lung cancer cancer category prediction system has problems such as uneven data quality, data imbalance, low detection accuracy and efficiency, and high sensitivity requirements for complex relationships and small features of CT images, which affects detection efficiency and accuracy.
The data oversampling method is used to optimize the data category balance, combined with a deep integrated two-dimensional convolutional neural network for lung cancer detection, and a quantum convolutional neural network is used for lung cancer cancer category prediction to capture complex features and nonlinear relationships.
It improves data quality and detection accuracy, improves the accuracy and reliability of lung cancer cancer category prediction, and enhances the ability to detect lung lesions.
Smart Images

Figure CN118262901B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of lung cancer prediction systems, and specifically is a lung cancer classification prediction system based on deep learning. Background Art
[0002] The deep learning-based lung cancer classification prediction system is a system that uses deep learning algorithms and techniques to automatically analyze medical imaging data to assist doctors in making more accurate decisions in the early diagnosis of lung adenocarcinoma. Its main function is to train the deep learning model to enable it to identify and analyze features in lung images and provide a probability assessment of whether the patient has adenocarcinoma. Such a system usually receives image data from lung CT scans or other medical imaging technologies as input, and then uses a deep learning neural network to extract and classify features, and finally outputs a probability value or classification result indicating whether the patient is likely to have lung adenocarcinoma. By automating analysis and providing auxiliary diagnostic opinions, such a system helps to speed up the diagnostic process, improve accuracy, and provide doctors with more comprehensive information, thereby improving the early detection and treatment of lung adenocarcinoma.
[0003] However, in the existing lung cancer type prediction system, there is a technical problem that the image data sets for lung cancer type prediction often have uneven data quality and data imbalance; in the existing lung cancer type prediction system, there is a technical problem that both the accuracy and efficiency of lung cancer detection need to be improved, and the accuracy of lung cancer detection greatly affects the technical effect of subsequent lung cancer type prediction; in the existing lung cancer type prediction system, there is a technical problem that lung cancer type prediction has a high sensitivity requirement for the complex relationships and tiny features of CT images, and the manifestation of lung adenocarcinoma lesions is complex, and the existing technology needs to be improved in detection efficiency, accuracy and high-dimensional data processing capabilities. Summary of the invention
[0004] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a lung cancer category prediction system based on deep learning. In view of the technical problem that in the existing lung cancer category prediction system, the image data set for lung cancer category prediction often has uneven data quality and data imbalance, this solution adopts the method of data oversampling to manually expand the data, optimizes the data category balance, improves the data quality and provides good data support for subsequent detection and prediction tasks; in view of the technical problem that in the existing lung cancer category prediction system, the accuracy and efficiency of lung cancer detection need to be improved, and the accuracy of lung cancer detection greatly affects the technical effect of subsequent lung cancer category prediction, this solution creatively adopts a deep integrated two-dimensional The convolutional neural network method is used for lung cancer detection. By combining multi-level convolution operations and deep learning models, it can more accurately capture the complex features in the image and improve the detection accuracy of lung lesions. In the existing lung cancer category prediction system, there are technical problems that the lung cancer category prediction has a high sensitivity requirement for the complex relationships and tiny features of CT images, and the manifestation of lung adenocarcinoma lesions is complex. The existing technology needs to improve the detection efficiency, accuracy and high-dimensional data processing capabilities. This scheme creatively uses quantum convolutional neural networks to predict the cancer category of lung cancer. By integrating the advantages of quantum computing, it can more effectively capture potential nonlinear relationships and complex spatial features, thereby improving the accuracy and reliability of lung cancer category prediction.
[0005] The technical solution adopted by the present invention is as follows: A lung cancer category prediction system based on deep learning provided by the present invention includes a data acquisition module, a data preprocessing module, a data enhancement module, a lung cancer detection module and a lung cancer category prediction module;
[0006] The data acquisition module is used for data acquisition, and obtains original image data for lung cancer detection through data acquisition, and sends the original image data for lung cancer detection to the data preprocessing module;
[0007] The data preprocessing module is used for data preprocessing, and obtains lung cancer detection optimized image data through data preprocessing, and sends the lung cancer detection optimized image data to the data enhancement module;
[0008] The data enhancement module is used for data enhancement, and obtains lung cancer detection enhanced image data through data enhancement, and sends the lung cancer detection enhanced image data to the lung cancer detection module;
[0009] The lung cancer detection module is used for lung cancer detection, obtains lung cancer detection classification data through lung cancer detection, and sends the lung cancer detection classification data to the lung cancer category prediction module;
[0010] The lung cancer type prediction module is used for lung cancer type prediction, and obtains lung cancer type prediction data through lung cancer type prediction.
[0011] Furthermore, the data collection is used to collect basic image data required for lung cancer classification prediction, specifically, to obtain original image data for lung cancer detection from a medical data system through data collection;
[0012] The lung cancer detection original image data specifically refers to the patient's lung CT scan image data.
[0013] Furthermore, the data preprocessing is used to perform basic optimization processing on the original image data, specifically to perform data preprocessing on the original image data for lung cancer detection to obtain optimized image data for lung cancer detection, and specifically includes the following steps:
[0014] Data normalization, specifically converting the CT scan image in the lung cancer detection original image data into a uniform size;
[0015] Data content filtering, specifically, removing damaged, missing or abnormal images from the original lung cancer detection image data, and obtaining filtered lung cancer detection image data;
[0016] Data format conversion, specifically, converting the filtered lung cancer detection image data uniformly into a small-size readable image format to obtain converted lung cancer detection original image data;
[0017] The converted lung cancer detection original image data specifically refers to JPEG format image data with a size of 50×50 pixels;
[0018] The data preprocessing is specifically to perform data preprocessing through the data format conversion, the data content filtering and the data oversampling to obtain the lung cancer detection optimized image data.
[0019] Furthermore, the data enhancement is used to enhance the image features of the optimized image, specifically to perform image preprocessing and data enhancement on the lung cancer detection optimized image data to obtain lung cancer detection enhanced image data, specifically including the following steps:
[0020] Random scaling, specifically, using an image data generation tool to randomly zoom in and out the image in the lung cancer detection optimization image data to obtain randomly scaled image data;
[0021] Random cropping, specifically, using an image data generation tool to perform a random region cropping operation on the image in the lung cancer detection optimization image data to obtain randomly cropped image data;
[0022] Random rotation, specifically, using an image data generation tool to perform a random rotation operation on the image in the lung cancer detection optimization image data to obtain randomly rotated image data;
[0023] Data oversampling is used to solve the problem of data imbalance, specifically, manual data expansion is performed through the random scaling, the random cropping and the random rotation, and data oversampling is completed through the manual data expansion to obtain oversampled image data;
[0024] The data segmentation specifically includes segmenting the oversampled image data into cancerous data and non-cancerous data, and segmenting the cancerous data and the non-cancerous data into a training set and a test set respectively, to obtain lung cancer detection enhanced image data.
[0025] Furthermore, the lung cancer detection is used to perform lung cancer detection, specifically, based on the lung cancer detection enhanced image data, a deep integrated two-dimensional convolutional neural network method is used to perform lung cancer detection to obtain lung cancer detection classification data;
[0026] The deep integrated two-dimensional convolutional neural network includes an input layer, a first convolutional subnet, a second convolutional subnet, a third convolutional subnet and an output layer;
[0027] The input layer is used to receive enhanced image data as input samples;
[0028] The first convolutional subnet is used to preliminarily extract feature maps and perform maximum pooling;
[0029] The second convolutional subnet is used to extract deep features and perform batch normalization;
[0030] The third convolutional subnet is used to reduce errors and perform average pooling;
[0031] The output layer is used to combine the prediction results of the three convolutional subnetworks and integrate them to obtain the final confusion matrix output;
[0032] The step of using a deep integrated two-dimensional convolutional neural network method to detect lung cancer and obtain lung cancer detection classification data includes:
[0033] Constructing an input layer, specifically, using the lung cancer detection enhanced image data as a model input sample to construct the input layer;
[0034] Constructing a first convolutional subnet, specifically sequentially constructing a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, and a first subnet maximum pooling layer to construct the first convolutional subnet;
[0035] Constructing a second convolutional subnet, specifically, sequentially constructing a second subnet convolutional layer No. 1, a second subnet batch normalization layer No. 1, a second subnet convolutional layer No. 2, a second subnet batch normalization layer No. 2, a second subnet convolutional layer No. 3, and a second subnet batch normalization layer No. 3, to construct the second convolutional subnet;
[0036] Constructing a third convolutional subnet, specifically sequentially constructing a third subnet convolutional layer No. 1, a third subnet average pooling layer No. 1, a third subnet convolutional layer No. 2, a third subnet average pooling layer No. 2, and a third subnet convolutional layer No. 3 to construct the third convolutional subnet;
[0037] Constructing an output layer, specifically by combining the predicted output results of the first convolutional subnetwork, the second convolutional subnetwork, and the third convolutional subnetwork to obtain a prediction confusion matrix, and obtaining the prediction confusion matrix to obtain a lung cancer detection prediction classification result;
[0038] The lung cancer detection model training is specifically performed by constructing the input layer, constructing the first convolutional subnet, constructing the second convolutional subnet, constructing the third convolutional subnet and constructing the output layer to obtain the lung cancer detection model Model EC ;
[0039] Lung cancer detection, specifically using the lung cancer detection model Model EC , lung cancer detection is performed to obtain lung cancer detection classification data, wherein the lung cancer detection classification data specifically includes cancer detection classification data and non-cancerous detection classification data.
[0040] Furthermore, the lung cancer type prediction is used to predict the lung cancer type based on the lung cancer detection results, specifically, based on the detected cancer type data in the lung cancer detection classification data, a quantum convolutional neural network method is used to predict the lung cancer type to obtain lung cancer type prediction data;
[0041] The quantum convolutional neural network specifically includes a quantum input layer, a quantum processing layer, a feature processing layer, a deep residual network layer and a prediction output layer;
[0042] The quantum input layer is used to receive data input and construct an initial convolution;
[0043] The quantum processing layer is used to perform quantum processing and feature mapping on data input;
[0044] The feature processing layer is used to extract features;
[0045] The deep residual network layer is used to introduce a residual structure to optimize model performance;
[0046] The prediction output layer is used to predict the lung cancer category prediction result;
[0047] The step of using the quantum convolutional neural network method to predict the cancer category of lung cancer and obtain lung cancer category prediction data includes:
[0048] Constructing a quantum input layer, specifically, using the cancer detection category data in the lung cancer detection classification data as model data input, and retaining the spatial dimension of the image by constructing an initialized quantum convolution layer with zero padding;
[0049] Constructing a quantum processing layer, specifically constructing a threshold encoder layer and a random circuit layer, performing data quantum processing and feature mapping, and obtaining a quantum state matrix;
[0050] The threshold encoder layer is specifically used to encode quantum information into a format that is easy to analyze and operate;
[0051] The random circuit layer is used to explore the quantum state space and optimize the network learning ability;
[0052] Constructing a feature processing layer, specifically constructing a batch normalization layer, a nonlinear activation function and a maximum pooling layer, performing feature extraction, and constructing the feature processing layer;
[0053] Constructing a deep residual network layer, specifically constructing a convolution block layer and a recognition block layer, performing residual structure construction, and constructing the deep residual network layer;
[0054] The convolution fast layer specifically includes three convolution layers, each of which is followed by a batch normalization layer and a nonlinear activation function;
[0055] The recognition block layer specifically includes two convolutional layers, each of which is followed by a batch normalization layer and a nonlinear activation function;
[0056] Constructing a prediction output layer, specifically by constructing an average pooling layer, a flattening layer, and a fully connected layer, and obtaining model output data by determining a final lung cancer category prediction output result;
[0057] The lung cancer category prediction model training is specifically carried out by constructing the quantum input layer, constructing the feature processing layer, constructing the deep residual network layer and constructing the prediction output layer to obtain the lung cancer category prediction model Model MQ ;
[0058] Lung cancer classification prediction, specifically using the lung cancer classification prediction model Model MQ , predict the cancer type of lung cancer and obtain the prediction data of the cancer type of lung cancer.
[0059] The beneficial effects achieved by the present invention using the above scheme are as follows:
[0060] (1) In view of the technical problems that the image datasets used for lung cancer classification prediction often have uneven data quality and data imbalance in the existing lung cancer classification prediction systems, this scheme uses the data oversampling method to manually expand the data, optimize the data classification balance, improve the data quality, and provide good data support for subsequent detection and prediction tasks;
[0061] (2) In view of the technical problem that the accuracy and efficiency of lung cancer detection in the existing lung cancer classification prediction system need to be improved, and the accuracy of lung cancer detection greatly affects the technical effect of subsequent lung cancer classification prediction, this scheme creatively adopts the method of deep integration of two-dimensional convolutional neural network for lung cancer detection. By combining multi-level convolution operations and deep learning models, it can more accurately capture the complex features in the image and improve the detection accuracy of lung lesions;
[0062] (3) In view of the technical problems in the existing lung cancer classification prediction system, the prediction of lung cancer classification has high sensitivity requirements for the complex relationships and subtle features of CT images, and the manifestations of lung adenocarcinoma lesions are complex. The existing technology needs to be improved in detection efficiency, accuracy and high-dimensional data processing capabilities. This scheme creatively uses quantum convolutional neural networks to predict the cancer classification of lung cancer. By integrating the advantages of quantum computing, it can more effectively capture potential nonlinear relationships and complex spatial features, thereby improving the accuracy and reliability of lung cancer classification prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of the structure of a lung cancer classification prediction system based on deep learning provided by the present invention;
[0064] Figure 2 A schematic flow chart of the steps performed by the deep learning-based lung cancer classification prediction method provided by the present invention;
[0065] Figure 3 A flowchart of the steps performed by the data enhancement module;
[0066] Figure 4 A schematic diagram of the process steps performed by the lung cancer detection module;
[0067] Figure 5 Schematic diagram of the process performed by the lung cancer classification prediction module.
[0068] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION
[0069] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0070] Example 1, see Figure 1 and Figure 2 The present invention provides a lung cancer classification prediction system based on deep learning, comprising a data acquisition module, a data preprocessing module, a data enhancement module, a lung cancer detection module and a lung cancer classification prediction module;
[0071] The data acquisition module is used for data acquisition, and obtains original image data for lung cancer detection through data acquisition, and sends the original image data for lung cancer detection to the data preprocessing module;
[0072] The data preprocessing module is used for data preprocessing, and obtains lung cancer detection optimized image data through data preprocessing, and sends the lung cancer detection optimized image data to the data enhancement module;
[0073] The data enhancement module is used for data enhancement, and obtains lung cancer detection enhanced image data through data enhancement, and sends the lung cancer detection enhanced image data to the lung cancer detection module;
[0074] The lung cancer detection module is used for lung cancer detection, obtains lung cancer detection classification data through lung cancer detection, and sends the lung cancer detection classification data to the lung cancer category prediction module;
[0075] The lung cancer type prediction module is used for lung cancer type prediction, and obtains lung cancer type prediction data through lung cancer type prediction.
[0076] Embodiment 2, this embodiment is based on the above embodiment, see Figure 1 and Figure 2 The data acquisition is used to acquire basic image data required for lung cancer classification prediction, specifically, to obtain original image data for lung cancer detection from a medical data system through data acquisition;
[0077] The lung cancer detection original image data specifically refers to the patient's lung CT scan image data;
[0078] The image formats of the patient's lung CT scan image data specifically include MHD files and RAW files, and the MHD files are read by using the SimpleITK python library.
[0079] Embodiment 3, this embodiment is based on the above embodiment, see Figure 1 and Figure 2 The data preprocessing is used to perform basic optimization processing on the original image data, specifically to perform data preprocessing on the original image data for lung cancer detection to obtain optimized image data for lung cancer detection, and specifically includes the following steps:
[0080] Data normalization, specifically converting the CT scan image in the lung cancer detection original image data into a uniform size;
[0081] The unified size specifically refers to 512×512 pixels;
[0082] Data content filtering, specifically, removing damaged, missing or abnormal images from the original lung cancer detection image data, and obtaining filtered lung cancer detection image data;
[0083] Data format conversion, specifically, converting the filtered lung cancer detection image data uniformly into a small-size readable image format to obtain converted lung cancer detection original image data;
[0084] The converted lung cancer detection original image data specifically refers to JPEG format image data with a size of 50×50 pixels;
[0085] The data preprocessing is specifically to perform data preprocessing through the data format conversion, the data content filtering and the data oversampling to obtain the lung cancer detection optimized image data.
[0086] Embodiment 4, this embodiment is based on the above embodiment, see Figure 2 and Figure 3 The data enhancement is used to enhance the image features of the optimized image, specifically to perform image preprocessing and data enhancement on the lung cancer detection optimized image data to obtain lung cancer detection enhanced image data, specifically including the following steps:
[0087] Random scaling, specifically, using an image data generation tool to randomly zoom in and out the image in the lung cancer detection optimization image data to obtain randomly scaled image data;
[0088] The image data generation tool specifically refers to the Keras image generator;
[0089] Random cropping, specifically, using an image data generation tool to perform a random region cropping operation on the image in the lung cancer detection optimization image data to obtain randomly cropped image data;
[0090] Random rotation, specifically, using an image data generation tool to perform a random rotation operation on the image in the lung cancer detection optimization image data to obtain randomly rotated image data;
[0091] Data oversampling is used to solve the problem of data imbalance, specifically, manual data expansion is performed through the random scaling, the random cropping and the random rotation, and data oversampling is completed through the manual data expansion to obtain oversampled image data;
[0092] The data segmentation specifically includes segmenting the oversampled image data into cancerous data and non-cancerous data, and segmenting the cancerous data and the non-cancerous data into a training set and a test set respectively, to obtain lung cancer detection enhanced image data.
[0093] By performing the above operations, in order to address the technical problem that in the existing lung cancer category prediction system, the image data set for lung cancer category prediction often has uneven data quality and data imbalance, this scheme uses the data oversampling method to manually expand the data, optimizes the data category balance, improves the data quality and provides good data support for subsequent detection and prediction tasks.
[0094] Embodiment 5, this embodiment is based on the above embodiment, see Figure 1 , Figure 2 and Figure 4 , the lung cancer detection is used to perform lung cancer detection, specifically, based on the lung cancer detection enhanced image data, a deep integrated two-dimensional convolutional neural network method is used to perform lung cancer detection to obtain lung cancer detection classification data;
[0095] The deep integrated two-dimensional convolutional neural network includes an input layer, a first convolutional subnet, a second convolutional subnet, a third convolutional subnet and an output layer;
[0096] The input layer is used to receive enhanced image data as input samples;
[0097] The first convolutional subnet is used to preliminarily extract feature maps and perform maximum pooling;
[0098] The second convolutional subnet is used to extract deep features and perform batch normalization;
[0099] The third convolutional subnet is used to reduce errors and perform average pooling;
[0100] The output layer is used to combine the prediction results of the three convolutional subnetworks and integrate them to obtain the final confusion matrix output;
[0101] The step of using a deep integrated two-dimensional convolutional neural network method to detect lung cancer and obtain lung cancer detection classification data includes:
[0102] Constructing an input layer, specifically, using the lung cancer detection enhanced image data as a model input sample to construct the input layer;
[0103] Constructing a first convolutional subnet, specifically sequentially constructing a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, and a first subnet maximum pooling layer to construct the first convolutional subnet;
[0104] The first subnet convolutional layer No. 1 specifically refers to a convolutional layer of size 32×3×3;
[0105] The first subnet No. 1 maximum pooling layer, the first subnet No. 2 maximum pooling layer, and the third subnet No. 1 maximum pooling layer are all maximum pooling layers of size 1×1;
[0106] The second convolutional layer of the first subnet specifically refers to a convolutional layer of size 64×3×3;
[0107] The convolutional layer No. 3 of the first subnet specifically refers to a convolutional layer of size 92×3×3;
[0108] The convolutional layer is activated by a nonlinear activation function.
[0109] Constructing a second convolutional subnet, specifically, sequentially constructing a second subnet convolutional layer No. 1, a second subnet batch normalization layer No. 1, a second subnet convolutional layer No. 2, a second subnet batch normalization layer No. 2, a second subnet convolutional layer No. 3, and a second subnet batch normalization layer No. 3, to construct the second convolutional subnet;
[0110] The second subnet convolutional layer No. 1, the second subnet convolutional layer No. 2, and the second subnet convolutional layer No. 3 are all convolutional layers with a size of 32×3×3;
[0111] Constructing a third convolutional subnet, specifically sequentially constructing a third subnet convolutional layer No. 1, a third subnet average pooling layer No. 1, a third subnet convolutional layer No. 2, a third subnet average pooling layer No. 2, and a third subnet convolutional layer No. 3 to construct the third convolutional subnet;
[0112] The third subnet No. 1 convolutional layer specifically refers to a convolutional layer of size 5×5×5;
[0113] The third subnet No. 1 average pooling layer and the third subnet No. 2 average pooling layer are both average pooling layers of size 2×2;
[0114] The third subnet No. 2 convolutional layer specifically refers to a convolutional layer of size 16×5×5;
[0115] The third subnet convolutional layer No. 3 specifically refers to a convolutional layer with a size of 120×5×5;
[0116] Constructing an output layer, specifically by combining the predicted output results of the first convolutional subnetwork, the second convolutional subnetwork, and the third convolutional subnetwork to obtain a prediction confusion matrix, and obtaining the prediction confusion matrix to obtain a lung cancer detection prediction classification result;
[0117] The lung cancer detection model training is specifically performed by constructing the input layer, constructing the first convolutional subnet, constructing the second convolutional subnet, constructing the third convolutional subnet and constructing the output layer to obtain the lung cancer detection model Model EC ;
[0118] Lung cancer detection, specifically using the lung cancer detection model Model EC , lung cancer detection is performed to obtain lung cancer detection classification data, wherein the lung cancer detection classification data specifically includes cancer detection classification data and non-cancerous detection classification data.
[0119] By performing the above operations, in order to solve the technical problem that the accuracy and efficiency of lung cancer detection in the existing lung cancer classification prediction system need to be improved, and the accuracy of lung cancer detection greatly affects the technical effect of subsequent lung cancer classification prediction, this scheme creatively adopts a deep integrated two-dimensional convolutional neural network method to perform lung cancer detection. By combining multi-level convolution operations and deep learning models, it can more accurately capture the complex features in the image and improve the detection accuracy of lung lesions.
[0120] Embodiment 6, this embodiment is based on the above embodiment, see Figure 1 , Figure 2 and Figure 5 The lung cancer category prediction is used to predict the lung cancer category based on the lung cancer detection results, specifically, based on the detected cancer category data in the lung cancer detection classification data, a quantum convolutional neural network method is used to predict the lung cancer category to obtain lung cancer category prediction data;
[0121] The quantum convolutional neural network specifically includes a quantum input layer, a quantum processing layer, a feature processing layer, a deep residual network layer and a prediction output layer;
[0122] The quantum input layer is used to receive data input and construct an initial convolution;
[0123] The quantum processing layer is used to perform quantum processing and feature mapping on data input;
[0124] The feature processing layer is used to extract features;
[0125] The deep residual network layer is used to introduce a residual structure to optimize model performance;
[0126] The prediction output layer is used to predict the lung cancer category prediction result;
[0127] The step of using the quantum convolutional neural network method to predict the cancer category of lung cancer and obtain lung cancer category prediction data includes:
[0128] Constructing a quantum input layer, specifically, using the cancer detection category data in the lung cancer detection classification data as model data input, and retaining the spatial dimension of the image by constructing an initialized quantum convolution layer with zero padding;
[0129] Constructing a quantum processing layer, specifically constructing a threshold encoder layer and a random circuit layer, performing data quantum processing and feature mapping, and obtaining a quantum state matrix;
[0130] The threshold encoder layer is specifically used to encode quantum information into a format that is easy to analyze and operate;
[0131] The random circuit layer is used to explore the quantum state space and optimize the network learning ability;
[0132] Constructing a feature processing layer, specifically constructing a batch normalization layer, a nonlinear activation function and a maximum pooling layer, performing feature extraction, and constructing the feature processing layer;
[0133] Constructing a deep residual network layer, specifically constructing a convolution block layer and a recognition block layer, performing residual structure construction, and constructing the deep residual network layer;
[0134] The convolution fast layer specifically includes three convolution layers, each of which is followed by a batch normalization layer and a nonlinear activation function;
[0135] The recognition block layer specifically includes two convolutional layers, each of which is followed by a batch normalization layer and a nonlinear activation function;
[0136] Constructing a prediction output layer, specifically by constructing an average pooling layer, a flattening layer, and a fully connected layer, and obtaining model output data by determining a final lung cancer category prediction output result;
[0137] The lung cancer classification prediction model training is specifically carried out by constructing the quantum input layer, constructing the feature processing layer, constructing the deep residual network layer and constructing the prediction output layer to obtain the lung cancer classification prediction model Model MQ ;
[0138] Lung cancer classification prediction, specifically using the lung cancer classification prediction model Model MQ , predict the cancer type of lung cancer and obtain the prediction data of the cancer type of lung cancer.
[0139] By performing the above operations, in view of the technical problems in the existing lung cancer classification prediction system, the lung cancer classification prediction has a high sensitivity requirement for the complex relationships and tiny features of CT images, and the manifestation of lung adenocarcinoma lesions is complex. The existing technology needs to improve the detection efficiency, accuracy and high-dimensional data processing capabilities. This scheme creatively uses quantum convolutional neural networks to predict the cancer classification of lung cancer. By integrating the advantages of quantum computing, it can more effectively capture potential nonlinear relationships and complex spatial features, thereby improving the accuracy and reliability of lung cancer classification prediction.
[0140] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process and method including a series of elements include not only those elements, but also other elements not explicitly listed, or also include elements inherent to such process and method.
[0141] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.
[0142] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A lung cancer classification prediction system based on deep learning, characterized by: It includes a data acquisition module, a data preprocessing module, a data enhancement module, a lung cancer detection module and a lung cancer category prediction module; The data acquisition module is used for data acquisition, and obtains original image data for lung cancer detection through data acquisition, and sends the original image data for lung cancer detection to the data preprocessing module; The data preprocessing module is used for data preprocessing, and obtains lung cancer detection optimized image data through data preprocessing, and sends the lung cancer detection optimized image data to the data enhancement module; The data enhancement module is used for data enhancement, specifically performing image preprocessing and data enhancement on the lung cancer detection optimization image data to obtain lung cancer detection enhanced image data, and sending the lung cancer detection enhanced image data to the lung cancer detection module; The lung cancer detection module is used to perform lung cancer detection before lung cancer classification detection, obtain lung cancer detection classification data through lung cancer detection, and send the lung cancer detection classification data to the lung cancer classification prediction module, specifically, based on the lung cancer detection enhanced image data, lung cancer detection is performed using a deep integrated two-dimensional convolutional neural network method to obtain lung cancer detection classification data; the deep integrated two-dimensional convolutional neural network includes an input layer, a first convolutional subnet, a second convolutional subnet, a third convolutional subnet and an output layer; The input layer is used to receive enhanced image data as input samples; The first convolutional subnet is used to preliminarily extract feature maps and perform maximum pooling; The second convolutional subnet is used to extract deep features and perform batch normalization; The third convolutional subnet is used to reduce errors and perform average pooling; The output layer is used to combine the prediction results of the three convolutional subnetworks and integrate them to obtain the final confusion matrix output; In the lung cancer detection, the step of using a deep integrated two-dimensional convolutional neural network method to perform lung cancer detection and obtain lung cancer detection classification data includes: Constructing an input layer, specifically, using the lung cancer detection enhanced image data as a model input sample to construct the input layer; Constructing a first convolutional subnet, specifically sequentially constructing a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, a first subnet maximum pooling layer, a first subnet convolutional layer, and a first subnet maximum pooling layer to construct the first convolutional subnet; Constructing a second convolutional subnet, specifically, sequentially constructing a second subnet convolutional layer No. 1, a second subnet batch normalization layer No. 1, a second subnet convolutional layer No. 2, a second subnet batch normalization layer No. 2, a second subnet convolutional layer No. 3, and a second subnet batch normalization layer No. 3, to construct the second convolutional subnet; Constructing a third convolutional subnet, specifically sequentially constructing a third subnet convolutional layer No. 1, a third subnet average pooling layer No. 1, a third subnet convolutional layer No. 2, a third subnet average pooling layer No. 2, and a third subnet convolutional layer No. 3 to construct the third convolutional subnet; Constructing an output layer, specifically by combining the predicted output results of the first convolutional subnetwork, the second convolutional subnetwork, and the third convolutional subnetwork to obtain a prediction confusion matrix, and obtaining the prediction confusion matrix to obtain a lung cancer detection prediction classification result; The lung cancer detection model training is specifically performed by constructing the input layer, constructing the first convolutional subnet, constructing the second convolutional subnet, constructing the third convolutional subnet and constructing the output layer to obtain the lung cancer detection model Model EC ; Lung cancer detection, specifically using the lung cancer detection model Model EC , performing lung cancer detection to obtain lung cancer detection classification data, wherein the lung cancer detection classification data specifically includes detection cancer classification data and detection non-cancerous classification data; The lung cancer category prediction module is used to predict the lung cancer category based on the lung cancer detection results, and obtain lung cancer category prediction data through lung cancer category prediction. Specifically, based on the detected cancer category data in the lung cancer detection classification data, a quantum convolutional neural network method is used to predict the lung cancer category to obtain lung cancer category prediction data; the quantum convolutional neural network specifically includes a quantum input layer, a quantum processing layer, a feature processing layer, a deep residual network layer and a prediction output layer.
2. The deep learning-based lung cancer classification prediction system according to claim 1, characterized in that: The data preprocessing is used to perform basic optimization processing on the original image data, specifically to perform data preprocessing on the original image data for lung cancer detection to obtain optimized image data for lung cancer detection, and specifically includes the following steps: Data normalization, specifically converting the CT scan image in the lung cancer detection original image data into a uniform size; Data content filtering, specifically, removing damaged, missing or abnormal images from the original lung cancer detection image data, and obtaining filtered lung cancer detection image data; Data format conversion, specifically, converting the filtered lung cancer detection image data uniformly into a small-size readable image format to obtain converted lung cancer detection original image data; The converted lung cancer detection original image data specifically refers to JPEG format image data with a size of 50×50 pixels; The data preprocessing is specifically to perform data preprocessing through the data format conversion, the data content filtering and the data oversampling to obtain the lung cancer detection optimized image data.
3. The deep learning-based lung cancer classification prediction system according to claim 2, characterized in that: The data enhancement is used to enhance the image features of the optimized image, specifically to perform image preprocessing and data enhancement on the lung cancer detection optimized image data to obtain lung cancer detection enhanced image data, specifically including the following steps: Random scaling, specifically, using an image data generation tool to randomly zoom in and out the image in the lung cancer detection optimization image data to obtain randomly scaled image data; Random cropping, specifically, using an image data generation tool to perform a random region cropping operation on the image in the lung cancer detection optimization image data to obtain randomly cropped image data; Random rotation, specifically, using an image data generation tool to perform a random rotation operation on the image in the lung cancer detection optimization image data to obtain randomly rotated image data; Data oversampling is used to solve the problem of data imbalance, specifically, manual data expansion is performed through the random scaling, the random cropping and the random rotation, and data oversampling is completed through the manual data expansion to obtain oversampled image data; The data segmentation specifically includes segmenting the oversampled image data into cancerous data and non-cancerous data, and segmenting the cancerous data and the non-cancerous data into a training set and a test set respectively, to obtain lung cancer detection enhanced image data.
4. The deep learning-based lung cancer classification prediction system according to claim 3, characterized in that: The lung cancer category prediction is used to predict the lung cancer category based on the lung cancer detection results, specifically, based on the detected cancer category data in the lung cancer detection classification data, a quantum convolutional neural network method is used to predict the lung cancer category to obtain lung cancer category prediction data; The quantum convolutional neural network specifically includes a quantum input layer, a quantum processing layer, a feature processing layer, a deep residual network layer and a prediction output layer; The quantum input layer is used to receive data input and construct an initial convolution; The quantum processing layer is used to perform quantum processing and feature mapping on data input; The feature processing layer is used to extract features; The deep residual network layer is used to introduce a residual structure to optimize model performance; The prediction output layer is used to predict the lung cancer category prediction result.
5. The deep learning-based lung cancer classification prediction system according to claim 4, characterized in that: In the lung cancer classification prediction, the step of using a quantum convolutional neural network method to predict the lung cancer classification and obtaining lung cancer classification prediction data includes: Constructing a quantum input layer, specifically, using the cancer detection category data in the lung cancer detection classification data as model data input, and retaining the spatial dimension of the image by constructing an initialized quantum convolution layer with zero padding; Constructing a quantum processing layer, specifically constructing a threshold encoder layer and a random circuit layer, performing data quantum processing and feature mapping, and obtaining a quantum state matrix; The threshold encoder layer is specifically used to encode quantum information into a format that is easy to analyze and operate; The random circuit layer is used to explore the quantum state space and optimize the network learning ability; Constructing a feature processing layer, specifically constructing a batch normalization layer, a nonlinear activation function and a maximum pooling layer, performing feature extraction, and constructing the feature processing layer; Constructing a deep residual network layer, specifically constructing a convolution block layer and a recognition block layer, performing residual structure construction, and constructing the deep residual network layer; The convolution fast layer specifically includes three convolution layers, each of which is followed by a batch normalization layer and a nonlinear activation function; The recognition block layer specifically includes two convolutional layers, each of which is followed by a batch normalization layer and a nonlinear activation function; Constructing a prediction output layer, specifically by constructing an average pooling layer, a flattening layer, and a fully connected layer, and obtaining model output data by determining a final lung cancer category prediction output result; The lung cancer classification prediction model training is specifically carried out by constructing the quantum input layer, constructing the feature processing layer, constructing the deep residual network layer and constructing the prediction output layer to obtain the lung cancer classification prediction model Model MQ ; Lung cancer classification prediction, specifically using the lung cancer classification prediction model Model MQ , predict the cancer type of lung cancer and obtain the prediction data of the cancer type of lung cancer.
6. The deep learning-based lung cancer classification prediction system according to claim 5, characterized in that: In the data collection, the lung cancer detection original image data specifically refers to the patient's lung CT scan image data.
