Tourism data analysis method and system based on geological cultural village

By introducing the AI ​​technology of extreme random trees and review sampling models into tourism project audits, the problem of low audit quality has been solved, a more efficient and accurate project audit and review process has been achieved, and it has adapted to the rapid changes in tourism projects.

CN118485412BActive Publication Date: 2024-09-20山东省国土空间生态修复中心(山东省地质灾害防治技术指导中心山东省土地储备中心)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410930807.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-20
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing technology suffers from low audit quality in tourism project audits, the review process is complicated and prone to omissions, manual sampling methods have subjective preferences, and cannot effectively take into account all projects and rapid changes.

Method used

The first-instance scoring model and review sampling model based on extreme random trees are used to audit tourism construction projects through AI models. Extreme random trees are used to assess and classify project risks, and projects to be reviewed are determined through review sampling models with different learning goal settings.

Benefits of technology

It improves the audit quality and efficiency of tourism projects, reduces the subjective preferences of auditors, ensures comprehensive coverage and rapid response to all projects, and enhances the accuracy of review and the quality of the first instance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485412B
    Figure CN118485412B
Patent Text Reader

Abstract

The present invention relates to a tourism data analysis method and system based on a geological cultural village, the method comprising: obtaining tourism construction projects of the geological cultural village; inputting the project audit data of the tourism construction project into a first-instance scoring model to obtain a scoring score output by the first-instance scoring model; obtaining a target tourism construction project that has passed the first-instance according to the scoring score; inputting the target tourism construction project into a review sampling model to obtain a tourism construction project to be reviewed output by the review sampling model; and reviewing the tourism construction project to be reviewed. The embodiment of the present invention improves the audit efficiency by introducing an AI model to audit the tourism construction projects of the geological cultural village, and at the same time, determines the high-risk projects for review through the review sampling model, thereby improving the audit quality of the tourism construction projects of the geological cultural village.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data analysis, and in particular to a tourism data analysis method and system based on a geological cultural village. Background Art

[0002] As the demand for tourism increases, more and more geological cultural villages are transformed into tourist attractions. Therefore, a large number of tourism projects need to be built in geological cultural villages. After the completion of the tourism project, the cost information will be submitted to the first instance unit for review. After the first instance, in order to control the audit quality, the review intermediary is required to manually select the first instance projects for review. However, in the process of assessing the construction unit and the quality of the first instance, the review audit unit needs to take into account very complex audit points, including project quantity, unit price quota, cost calculation review, construction drawings combined with contracts, bidding documents, meeting materials, project change visas and other material analysis. A large amount of complicated information will inevitably lead to audit omissions.

[0003] At present, the first review of projects is conducted by rules based on experience, and the review of projects is conducted by manual sampling. However, the rules are not comprehensive enough to take into account all projects, nor can they adapt to the rapid changes in tourism projects. At the same time, the manual sampling method is greatly influenced by the subjective preferences of auditors and there are omissions. Both rules and manual sampling will lead to low audit quality. Therefore, how to improve the audit quality of tourism projects has become an urgent problem to be solved. Summary of the invention

[0004] The present invention aims at solving the technical problems existing in the prior art and provides a tourism data analysis method and system based on a geological cultural village, so as to improve the audit quality of tourism projects.

[0005] The technical solution of the present invention to solve the above technical problems is as follows:

[0006] A tourism data analysis method based on geo-cultural villages, comprising:

[0007] Obtain tourism construction projects of the geological cultural village;

[0008] Inputting the project audit data of the tourism construction project into the first-instance scoring model to obtain the scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training the sample project audit data and its corresponding score labels on the basis of an extremely random tree;

[0009] Obtain the target tourism construction projects that have passed the first review according to the scoring scores;

[0010] The target tourism construction project is input into the review sampling model, and the review sampling model outputs the tourism construction project to be reviewed; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample;

[0011] Review the tourism construction projects that are awaiting review.

[0012] The present invention also provides a tourism data analysis system based on the geological cultural village, comprising:

[0013] The acquisition module is used to obtain the tourism construction projects of the geological cultural village;

[0014] A first-instance module is used to input the project audit data of the tourism construction project into a first-instance scoring model to obtain a scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training sample project audit data and its corresponding score labels on the basis of an extremely random tree;

[0015] An approval module, used for obtaining target tourism construction projects that have passed the first review according to the scoring scores;

[0016] A review sampling module is used to input the target tourism construction project into a review sampling model, and obtain the tourism construction project to be reviewed output by the review sampling model; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed projects as the first positive sample and taking the reviewed projects with a review reduction rate greater than or equal to a set value as the second positive sample;

[0017] The review module is used to review the tourism construction project to be reviewed.

[0018] The present invention also provides an electronic device, comprising: a memory for storing a computer software program; a processor for reading and executing the computer software program, thereby implementing any of the above-mentioned tourism data analysis methods based on the geological cultural village.

[0019] The present invention also provides a non-transitory computer-readable storage medium, characterized in that a computer software program is stored in the storage medium, and when the computer software program is executed by a processor, it implements any of the above-mentioned tourism data analysis methods based on geological and cultural villages.

[0020] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned tourism data analysis methods based on geological and cultural villages.

[0021] The embodiment of the present invention obtains tourism construction projects of a geological cultural village; inputs the project audit data of the tourism construction project into a first-instance scoring model to obtain a scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training sample project audit data and its corresponding score labels on the basis of an extremely random tree; obtains a target tourism construction project that has passed the first-instance according to the scoring score; inputs the target tourism construction project into a review sampling model to obtain a tourism construction project to be reviewed output by the review sampling model; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample; and reviewing the tourism construction project to be reviewed. Therefore, by introducing an AI model to audit the tourism construction project of the geological cultural village, the audit efficiency is improved, and at the same time, the review sampling model is used to determine the high-risk projects for review, thereby improving the audit quality of the tourism construction project of the geological cultural village. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is one of the flow diagrams of the tourism data analysis method based on the geological cultural village provided by the embodiment of the present invention;

[0023] Figure 2 This is the second flow chart of the tourism data analysis method based on the geological cultural village provided by the embodiment of the present invention;

[0024] Figure 3 It is a schematic diagram of the modeling process of the first instance scoring model provided by an embodiment of the present invention;

[0025] Figure 4 is a schematic diagram of a modeling process of a review sampling model provided by an embodiment of the present invention;

[0026] Figure 5 It is a structural schematic diagram of a tourism data analysis system based on a geological cultural village provided by the present invention;

[0027] Figure 6 A schematic diagram of an electronic device according to an embodiment of the present invention;

[0028] Figure 7 A schematic diagram of an embodiment of a computer-readable storage medium provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0030] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0031] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.

[0032] Optional, Figure 1 This is one of the flow charts of the tourism data analysis method based on the geological cultural village provided by the embodiment of the present invention. Figure 1 The embodiment of the present invention provides a tourism data analysis method based on a geological cultural village, which may include:

[0033] Step 10, obtaining tourism construction projects of the geological cultural village;

[0034] Step 20, input the project audit data of the tourism construction project into the first instance scoring model to obtain the scoring score output by the first instance scoring model.

[0035] Optionally, the tourism data analysis system obtains the tourism construction projects of the geological and cultural village, and calls the first-instance scoring model to perform risk scoring on the project audit data / project data of the tourism construction projects. Specifically, the project audit data of the tourism construction project is input into the first-instance scoring model, and the first-instance scoring model outputs the score of the tourism construction project. Among them, the first-instance scoring model is trained on the basis of an extremely random tree through sample project audit data and its corresponding score labels. The first-instance scoring model can be understood as a five-classifier, which are 1 point, 2 points, 3 points, 4 points and 5 points respectively, that is, according to the risk of the tourism construction project from high to low, the first-instance finalized projects are scored 1-5 points (5 integer scores).

[0036] The specific process of the first instance scoring model is as follows:

[0037] Step 1. Data preparation: Collect audit data of tourism construction projects. This data may include various characteristics of the project and score labels (i.e. scores) of the audit results. Characteristics can cover economic indicators, risk assessments, historical data, etc. of the project.

[0038] Step 2, feature engineering: preprocess the data and select features to ensure data quality and a format suitable for model input. Feature engineering includes processing missing values, data standardization or normalization, and feature conversion.

[0039] Step 3: Model selection: Extremely randomized trees (ERT), select extremely randomized trees as the base model. ERT is more randomized than ordinary random forests, and splits nodes by randomly selecting features and thresholds to increase the diversity and robustness of the model.

[0040] Step 4: Model training: Use the prepared dataset to train the Extremely Random Trees model. During the training process, the model will learn how to split nodes based on the characteristics of the project to maximize the accuracy of the predicted score label.

[0041] Step 5, classifier output: The first-instance scoring model is a five-classifier, which divides projects into the following five levels according to their risk levels: 1 for high-risk projects, 2 for medium-high risk projects, 3 for medium-risk projects, 4 for medium-low risk projects, and 5 for low-risk projects.

[0042] Step 6: Application and evaluation: After training, the model is applied to new audit data. The model can automatically predict and score the project based on its characteristics and assess the risk level of the project. These evaluation results can help decision makers make more accurate decisions and evaluations during project management and auditing.

[0043] Through the above process, the first-instance scoring model uses the powerful characteristics of extreme random trees and combines detailed project audit data to provide effective risk assessment and classification results for tourism construction projects.

[0044] Step 30, obtaining the target tourism construction projects that have passed the first review according to the scoring scores;

[0045] After obtaining the scoring score of the first-instance audit result of the tourism construction project, the tourism construction project is approved according to the scoring score. Specifically, the scoring score is compared with the preset score. If the comparison result is that the scoring score is less than the preset score, it is determined that the tourism construction project has passed the first trial and the target tourism construction project is obtained. For example, assuming that the preset score is 3 points, if the scoring score is less than 3 points, it means that the risk is low and it is determined to have passed the first trial.

[0046] Step 40, input the target tourism construction project into the review sampling model, and obtain the tourism construction project to be reviewed output by the review sampling model.

[0047] In order to improve the quality of the first-instance audit, it is necessary to review the target tourism construction projects that have passed the first-instance audit. Specifically, the target tourism construction projects are input into the review sampling model, and the review sampling model outputs the tourism construction projects to be reviewed, where the review sampling model is determined by the control group set by different learning objectives; the learning objectives include taking the reviewed projects as the first positive sample and taking the reviewed projects with a review reduction rate greater than or equal to the set value as the second positive sample.

[0048] The specific process of reviewing the sampling model is as follows:

[0049] Step 1: Data preparation: Collect the project data that have been reviewed. This data includes the audit results of the project, which may include the decision results of the review and the reduction rate.

[0050] Step 2: Learning goal setting: In the review sampling model, different learning goals are set to facilitate model training and evaluation. First positive sample: Reviewed projects are used as positive samples. These projects have been reviewed and have specific review decision results. Second positive sample: Reviewed projects with a review reduction rate greater than or equal to the set value are used as positive samples. The review reduction rate refers to the amount or part of the project that is reduced during the review process compared to the initial review. These projects are considered to have been significantly improved or optimized after the review.

[0051] Step 3. Setting of control group: Determine different learning objectives of the review sampling model by setting up a control group. The control group may include: normal review projects, i.e., ordinary review projects without special review reduction rate requirements. High review reduction rate projects, i.e., projects with a review reduction rate greater than or equal to the set value, which may show significant improvement or optimization after review.

[0052] Step 4: Model training: Use the set learning objectives and control group data to train the review sampling model. Possible models include supervised learning models such as classifiers or regression models, or complex algorithms designed according to specific needs.

[0053] Step 5: Model evaluation and application: After training is complete, evaluate the model’s performance on new review project data. The model can predict and classify new review projects based on its learning objectives, such as determining whether the project meets the set review reduction rate standard or other evaluation requirements.

[0054] Step 6: Result interpretation and decision support: Classify or evaluate new review projects based on the output of the model. These results can serve as a reference for decision makers during the project audit and review process, helping to optimize audit resource allocation and risk management strategies.

[0055] Through the above process, the review sampling model uses the set learning objectives and control group data to provide effective classification and evaluation for review projects to support the formulation and implementation of audit decisions.

[0056] Among them, the audit reduction rate is the ratio of the audit reduction amount to the total audit amount. The project cost reported by the construction team to the audit unit is the audit amount, and the final cost determined by the audit unit is the audit amount. The difference between the two is the audit reduction amount, that is, the audit reduction rate = (submitted amount-approved amount) / submitted amount*100%.

[0057] Step 50, reviewing the tourism construction project to be reviewed.

[0058] Tourism construction projects that need to be reviewed, that is, tourism construction projects awaiting review, will be reviewed again.

[0059] The embodiment of the present invention obtains tourism construction projects of a geological cultural village; inputs the project audit data of the tourism construction project into a first-instance scoring model to obtain a scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training sample project audit data and its corresponding score labels on the basis of an extremely random tree; obtains a target tourism construction project that has passed the first-instance according to the scoring score; inputs the target tourism construction project into a review sampling model to obtain a tourism construction project to be reviewed output by the review sampling model; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample; and reviewing the tourism construction project to be reviewed. Therefore, by introducing an AI model to audit the tourism construction project of the geological cultural village, the audit efficiency is improved, and at the same time, the review sampling model is used to determine the high-risk projects for review, thereby improving the audit quality of the tourism construction project of the geological cultural village.

[0060] Based on the above embodiment, the review sampling model is determined based on the following method:

[0061] Step 111, based on the machine learning model LightGBM based on the gradient boosting algorithm, training the first training set to obtain a first sampling model; the first training set includes a first positive sample;

[0062] Step 112, based on LightGBM, training the second training set to obtain a second sampling model; the second training set includes a second positive sample;

[0063] Step 113, determining the prediction accuracy of the first sampling model and the second sampling model, and determining the review sampling model according to the prediction accuracy.

[0064] All projects will undergo a first review, while a small number (about 10%) of projects will undergo a re-review. In the process of selecting learning objectives, there are two possible learning objectives: one is to regard the projects that have been reviewed in the historical projects (i.e., reviewed projects) as positive samples. The other is to regard the projects with a re-review reduction rate of more than 2.3% (i.e., reviewed projects with a review reduction rate of more than 2.3%) as positive samples among all the historical projects that have completed the review. According to the above two learning objectives, the control group is set and modeled separately.

[0065] Based on the machine learning model based on the gradient boosting algorithm (Light Gradient Boosting Machine, LightGBM), the first training set is trained to obtain the first sampling model. Specifically, the reviewed projects and unreviewed projects in the historical projects are obtained, and the reviewed projects are used as the first positive samples, and the unreviewed projects are used as the first negative samples; the first negative samples are undersampled to randomly extract the same number of first target negative samples as the first positive samples from the first negative samples; the first training set is constructed based on the first positive samples and the first target negative samples; LightGBM is constructed, and the first training set is used to train LightGBM to obtain the first sampling model.

[0066] Based on LightGBM, the second training set is trained to obtain the second sampling model. Specifically, the reviewed projects with a reduction rate greater than or equal to the set value and the reviewed projects with a reduction rate less than the set value are obtained from the historical projects; the reviewed projects with a reduction rate greater than or equal to the set value are used as the second positive samples, and the reviewed projects with a reduction rate less than the set value are used as the second negative samples; the second negative samples are undersampled to randomly extract the same number of second target negative samples as the second positive samples from the second negative samples; the second training set is constructed based on the second positive samples and the second target negative samples; LightGBM is constructed, and the second training set is used to train LightGBM to obtain the second sampling model.

[0067] Based on two control groups, after establishing the first sampling model and the second sampling model respectively, the prediction accuracy of the first sampling model and the second sampling model is determined respectively, and then the review sampling model is determined according to the prediction accuracy. For example, the model with a high prediction accuracy is used as the review sampling model.

[0068] In the embodiment of the present invention, two learning objectives are selected: the projects that have been reviewed in all historical projects as positive samples, and the projects that have completed the review in history and whose reexamination reduction rate exceeds a preset value as positive samples. A control group is set according to the learning objectives, and LightGBM is used for modeling training to obtain a review sampling model. Based on this, the reexamination reduction rate is improved, thereby improving the review quality.

[0069] Based on the above embodiment, the first instance scoring model is trained based on the following method:

[0070] Step 121, collecting sample project audit data and preprocessing the sample project audit data;

[0071] Step 122, performing stratified sampling on the preprocessed sample project audit data to obtain multi-layer sample project audit data;

[0072] Step 123, using score labels to label the audit data of each layer of sample items to obtain labeled data;

[0073] Step 124, based on the training set constructed with the labeled data, the extremely random tree is trained to obtain a first-instance scoring model.

[0074] Sample project audit data is collected from the audit management system, and then the sample project audit data is preprocessed. Specifically, the continuous data and discrete data in the sample project audit data are determined; the maximum and minimum normalization method is used to normalize the continuous data to obtain the normalized continuous data. That is, the features are mainly mapped to [0, 1]. The specific formula is as follows:

[0075] ;

[0076] is the original data, is the minimum value, is the maximum value, is the processed data.

[0077] Perform one-hot encoding on discrete data to obtain encoded data. One-hot encoding is a commonly used encoding method in machine learning and data processing. It converts discrete data into a binary vector, with each category corresponding to a unique bit. For example, if there is a feature representing color, it can be encoded using red, green, and blue, so that for each color, a unique binary vector is obtained, such as [1,0,0] for red, [0,1,0] for green, and [0,0,1] for blue. This method can effectively reduce the size of the feature space and facilitate algorithm processing.

[0078] The F test is used to screen the continuous features in the normalized continuous data. The numerator and denominator of the F calculation quantity both obey the chi-square distribution. , where the molecule Indicates that the sum of squares between groups (SSB) follows a chi-square distribution with n-1 degrees of freedom, and the denominator It means that the sum of squares SSB between groups obeys the chi-square distribution with nk degrees of freedom, and it can be proved that the two are independent of each other. In other words, the statistical test F is constructed with the help of the chi-square distribution. To put it more concretely, as long as the random variables are independent of each other and obey the chi-square denominator, the random variables formed by dividing them all obey the F distribution. The standard expression formula of the F statistic is as follows:

[0079] ;

[0080] in, and Independent of each other and subject to the degree of freedom The chi-square distribution of the random variable F has the following degrees of freedom ( )’s F-distribution.

[0081] The preprocessed sample project audit data is stratified and sampled to obtain multi-layer sample project audit data. For example, stratified sampling is performed according to the data type of the sample project audit data, and each layer of sample project audit data corresponds to a different data type. Then, each layer of sample project audit data is labeled with score labels to obtain labeled data; finally, based on the training set constructed with labeled data, the Extremely Randomized Trees (ET) are trained to obtain the first-instance scoring model.

[0082] This embodiment improves audit efficiency and audit quality by introducing AI models for project auditing.

[0083] In order to further analyze and explain the tourism data analysis method based on the geological cultural village proposed in this invention, refer to Figure 2 The following embodiments involve an audit management system and a smart audit system, and the operations implemented by each system are as follows:

[0084] (1) Audit management system:

[0085] 1.1) Initiate the first instance review project;

[0086] 1.2) Entrust an audit unit and initiate on-site verification and measurement at the project site;

[0087] 1.3) Initiate and end the first-instance tourism construction project and call the first-instance scoring model of the smart audit system;

[0088] 1.4) Receive the scores of the first-instance audit results from the smart audit system and review and approve them;

[0089] 1.5) After approval, the first audit is completed and the review sampling model of the smart audit system is called;

[0090] 1.6) Receive the return results of the AI ​​review sampling model. For projects where the model determines that the sampling results require review, the auditor will conduct a second confirmation and initiate a review process for the projects that require review after the second confirmation;

[0091] 1.7) Review the projects that need to be reviewed after the second confirmation, entrust the review audit unit, initiate on-site verification, and implement strict field measurements at the project site;

[0092] 1.8) After the review is completed, the project review process ends and the review result data is transmitted to the smart audit system.

[0093] (2) Smart Audit System:

[0094] 2.1) Generate new tourism construction projects in the smart audit system for the projects initiated in the first instance, so as to facilitate the subsequent project reading and writing operations;

[0095] 2.2) Record the project data initiated by the audit management system for the first instance and read the data therein;

[0096] 2.3) Call the AI ​​scoring model, send the data of the projects concluded in the first instance to the model for scoring, and score the projects concluded in the first instance from high to low risk with a score of 1-5 (5 integer scores), and send the scoring results back to the audit management system for approval by the management personnel;

[0097] 2.5) Call the AI ​​review sampling model to judge the projects that have completed the first review, determine whether the project needs to enter the review process, and return the sampling results to the audit management system;

[0098] 2.6) Receive the review data from the review and reduction system and record it into the database.

[0099] First, the following is a detailed analysis of the first instance scoring model:

[0100] The first-instance scoring model is based on the labeled data provided by the unified scoring standard method. After data preprocessing, an extremely random tree is used to establish a five-classifier, with scores of 1, 2, 3, 4 and 5 respectively.

[0101] 1. Unify the scoring standards and methods.

[0102] In the existing technical methods, the subjective influence of auditors on tourism construction projects is too great. In order to solve the influence of auditors' subjective preferences and control the space for excessive intervention of auditors, the present invention introduces a unified scoring standard method to score the projects that have completed the first trial, reducing subjectivity and arbitrariness, making the evaluation more objective and fair. At the same time, the unified scoring standard can also help people better understand and master the evaluation criteria, so as to better carry out the evaluation work. The scored projects also provide a data basis for subsequent AI model modeling, and use the scoring data to establish a supervised machine learning model, such as Figure 3 shown.

[0103] 1. Obtain the completed first-instance data from the review and management platform, and collect statistics on various types of data to ensure comprehensiveness and balance;

[0104] 2. Clean the acquired data and remove the data that does not meet the standards for labeled samples to ensure that only high-quality data is used;

[0105] 3. Audit experts will formulate scoring rules for all cleaned project inputs, conduct stratified sampling for all audit projects, distribute the sampling results to each labeler, and score according to the rules formulated by the experts. The scoring rules are as follows:

[0106] 3.1) The first step is to assign a value to the total initial score of the first instance project according to the reduction rate X, as follows:

[0107] Table 1: Table of value assignment for reduction rate

[0108] .

[0109] 3.2) The review unit will deduct points for each project in accordance with similar review and quality inspection projects. The deduction gradient for each item is 0.5 points, and the minimum total score is 1 point. The details are as follows:

[0110] Table 2 Detailed Items

[0111] .

[0112] 3.3) The principles for re-examination and reduction of the rate are as follows:

[0113] Table 3 Review and Reduction Rate Table

[0114] .

[0115] 3.4) The scored items will be quality-checked and handed over to the second annotator for verification, and the revised scores will be recorded. If the difference between the scores of the two annotators exceeds 1 point, the third annotator will conduct quality verification, and finally the three annotators will discuss and jointly decide the annotation scores.

[0116] 3.5) The tourism construction projects with the final scores will be used for AI modeling.

[0117] 3.6) The final trained AI model is deployed to the smart audit system to predict and score new projects that will be subsequently initiated for first instance review.

[0118] 2. Data preprocessing.

[0119] The present invention needs to obtain structured first-instance audit result data. Therefore, the data preprocessing work of the present invention is a process of cleaning, converting, and processing the first-instance audit result data.

[0120] 1. Preprocessing of the first-instance audit result data. According to the project audit items, it is subdivided into settlement project table, single basic information table, settlement contract table, project settlement summary table, construction and installation project cost settlement table, construction and installation project quantity settlement table, construction and installation project machinery usage fee settlement table, construction and installation project instrumentation usage fee settlement table, Party A supply material table, Party B supply material table and project construction other cost settlement table, a total of 11 data tables, of which more than 200 features can be used. The data format includes continuous data and discrete data according to the data type. For continuous data, normalization processing is required to balance the differences between the above multiple features due to different dimensions and dimensional units, to ensure that each feature conforms to the same data distribution in the model training. The normalization method chooses to use the maximum and minimum normalization (Min-Max Normalization), also known as deviation normalization. It is mainly to map all features to [0, 1]. The specific formula is as follows:

[0121] ;

[0122] in, is the original data, is the minimum value, is the maximum value, is the processed data.

[0123] 2. After processing the continuous data, the discrete data needs to be one-hot encoded. One-hot encoding is a commonly used encoding method in machine learning and data processing. It converts discrete data into a binary vector, with each category corresponding to a unique bit. For example, if there is a feature representing color, it can be encoded using red, green, and blue, so that for each color, a unique binary vector is obtained, such as [1,0,0] for red, [0,1,0] for green, and [0,0,1] for blue. This method can effectively reduce the size of the feature space and facilitate algorithm processing.

[0124] 3. After data conversion, there are still a large number of features. The present invention uses the F test to screen continuous features. The numerator and denominator of the F calculation quantity both obey the chi-square distribution. The numerator is a chi-square distribution with nk degrees of freedom, while the denominator is a chi-square distribution with nk degrees of freedom, and it can be proved that the two are independent of each other. In other words, the statistical test F is constructed with the help of the chi-square distribution. To put it more specifically, as long as the random variables are independent of each other and obey the chi-square denominator, the random variables formed by dividing them all obey the F distribution. The standard expression formula of the F statistic is as follows:

[0125] ;

[0126] in, and Independent of each other and subject to the degree of freedom The chi-square distribution of the random variable F has the following degrees of freedom ( )’s F-distribution.

[0127] After screening, the number of continuous features is reduced from 72 to 20. Reducing the number of features can improve the accuracy of prediction, reduce the risk of overfitting, speed up model training, and increase the interpretability of the model.

[0128] 4. The features finally used mainly include the overall amount of the settlement contract submitted for review, project type, area to which it belongs, project classification, as well as the submitted price and first-instance approved price in each table.

[0129] 3. Modeling based on extremely random trees.

[0130] 1. Smote oversampling.

[0131] In the process of processing data, it can be found that the distribution of data is uneven from the distribution of standard scores, and the data needs to be balanced before modeling training. Therefore, the data needs to be sampled. Since the amount of labeled data in the present invention does not meet the requirements of undersampling, Smote oversampling is used to balance the data.

[0132] The purpose of oversampling is to eliminate the problem of class imbalance so that the model can better learn the characteristics of each category during training. If the data is not oversampled, the model may pay too much attention to the smaller number of categories, which will affect the accuracy of its prediction. By oversampling the data, the model can better understand and learn the distribution characteristics of the data, thereby improving the prediction performance of the model. At the same time, oversampling can also help discover potential patterns and laws in the data set, providing support for further data analysis and decision-making.

[0133] The core idea of ​​Smote oversampling is to increase the number of categories with fewer samples by generating some synthetic samples, thereby reducing the deviation between categories. Specifically, the Smote algorithm randomly selects a sample as an anchor point and then samples in the neighborhood of the anchor point. This ensures that the distance between the newly generated samples and the original samples in the feature space is small, thereby retaining the information of the original samples. At the same time, since the sampling process is based on randomly selected anchor points, the generated new samples have a certain diversity, which helps to improve the generalization ability of the model.

[0134] The generation process of the SMOTE algorithm is: for each sample in the minority class , using the Euclidean distance as the standard to calculate the distance from it to all samples in the minority class sample set, and obtain its k nearest neighbors. Set a sampling ratio according to the sample imbalance ratio to determine the sampling multiple N. For each minority class sample , randomly select several samples from its k nearest neighbors, assuming that the selected neighbors are For each randomly selected neighbor , respectively, construct new samples with the original samples according to the following formula :

[0135] ;

[0136] in, For sample The mean of several randomly selected samples from its k-nearest neighbors. After Smote oversampling, the data generated increases from 8789 to 14864, and the data distribution of each score is balanced.

[0137] 2. Extremely random tree algorithm modeling.

[0138] The Extremely Random Trees algorithm is an ensemble learning algorithm, which is one of the ensemble models of decision trees. It is very similar to the Random Forest algorithm, both of which are composed of multiple decision trees, but they use different methods when building decision trees. The Random Forest algorithm uses the bootstrap sampling method, while the Extremely Random Trees algorithm uses an extreme randomization method.

[0139] The main idea of ​​the Extremely Randomized Trees algorithm is to build multiple decision trees by randomizing features and parameters, and then combine these decision trees to form an integrated model. This can effectively reduce overfitting and improve generalization ability. The Extremely Randomized Trees algorithm randomly selects features and parameters, and then builds decision trees based on these randomly selected features and parameters. This process ensures that each decision tree is independent and diverse, so they can capture different patterns and trends in the data.

[0140] When all decision trees are built, the algorithm combines them into an integrated model. This integrated model is not a simple vote or majority vote, but uses certain strategies (such as averaging, voting, etc.) to determine the final prediction result. The main advantage of this method is that it can effectively reduce the problem of overfitting. Overfitting usually occurs when the model is too complex, so that it begins to learn the noise in the data rather than the real pattern. However, since the extremely random tree algorithm generates multiple independent decision trees, their prediction results usually offset each other, thereby reducing the risk of overfitting.

[0141] In addition, the Extremely Randomized Trees algorithm can also improve the generalization ability of the model. Generalization ability refers to the ability of the model to adapt to unknown data. Since each decision tree is built independently, they can better adapt to a variety of different data sets, thereby improving the generalization ability of the model.

[0142] After training, a five-classifier is finally obtained, and the prediction result is the final result of quality prediction. The scores from high to low are 5, 4, 3, 2, and 1.

[0143] Second, the following is a detailed analysis of the review sampling model:

[0144] The difference between the review sampling model and the first instance scoring model is that they are used in different business processes and play different roles. The first instance scoring model is used after the first instance is initiated and concluded to score the quality of the first instance process. The management personnel refer to the model scoring and the first instance audit results for approval, with the aim of improving the quality of the first instance audit; the review sampling model is used for the first instance projects that have been approved by the management personnel to determine whether they need to be reviewed. The purpose is to improve the overall re-examination reduction rate and thus improve the quality of the review by screening out the projects that may have been missed in the first instance process.

[0145] The overall process is consistent with the technical method of the first-instance scoring model. The difference is that the review sampling model takes whether all the historical data of completed audits have been reviewed as the learning goal, outputs a binary classifier with an output result of 0 or 1, and predicts whether the new project needs to be reviewed. Therefore, when selecting technology, use simple processed data to model complex machine learning models.

[0146] Review the sampling model building process, such as Figure 4 As shown, the following process is included:

[0147] 1. Obtain data from the smart audit system.

[0148] All the historical data of completed audits were obtained from the smart audit system, including settlement project table, single basic information table, settlement contract table, project settlement table, construction and installation project cost settlement table, construction and installation project quantity settlement table, construction and installation project machinery use fee settlement table, construction and installation project instrument and meter use fee settlement table, Party A supply material table, Party B supply material table and project construction other cost settlement table, a total of 11 data tables, of which more than 200 features can be used. The data was preliminarily cleaned up to delete items with obvious missing data and erroneous data.

[0149] 2. Select learning objectives.

[0150] In the present invention, all projects will be subject to the first review, while a small number (about 10%) of projects will be subject to re-review. In the process of selecting learning objectives, there are two possible learning objectives: one is to regard the projects that have been reviewed in the historical projects as positive samples; the other is to regard the projects with a re-review reduction rate of more than 2.3% in all the historical projects that have completed the review as positive samples.

[0151] In the final evaluation, 1,000 items that did not participate in model training were randomly selected, and the target that was closer to the actual review sampling results in the two groups of experiments was compared for subsequent modeling. Two learning targets were set as follows:

[0152] Table 4 Learning objectives table

[0153] .

[0154] According to the above two learning objectives, a control group was set up for modeling. The experimental effect of taking the projects that had been reviewed in the historical projects as positive samples was higher than the experimental effect of taking the projects with a reduction rate of more than 2.3% in the historical review and retrial as positive samples. Subsequently, the projects that had been reviewed in the historical projects were selected as positive samples.

[0155] 3. Use LightGBM for modeling.

[0156] 1. Undersampling.

[0157] Among the 30,661 projects, there are 2,984 positive samples, accounting for only 9.7%, so modeling requires balancing the data set. The present invention uses undersampling to ensure the balance of the data set. The specific method is to randomly extract data with the same amount of positive samples from the negative samples for modeling.

[0158] 2. LightGBM modeling.

[0159] The main idea of ​​GBDT (Gradient Boosting Decision Tree) is to use weak classifiers (decision trees) for iterative training to obtain the optimal model. This model has the advantages of good training effect and low overfitting. GBDT is not only widely used in the industry, but is also commonly used in projects such as multi-classification, click-through rate prediction, and search ranking. LightGBM (Light Gradient Boosting Machine) is a framework for implementing the GBDT algorithm. It supports efficient parallel training and has the advantages of faster training speed, lower memory consumption, better accuracy, and support for distributed processing of massive data.

[0160] The LightGBM algorithm mainly includes the following features: histogram algorithm (finding the best split point, histogram difference acceleration), Leaf-wise tree growth strategy, GOSS, EFB, support for category features, efficient parallelism, and cache hit rate optimization.

[0161] 2.1) Histogram algorithm (reduces a lot of calculations and memory usage).

[0162] The XGBoost algorithm needs to pre-sort the original data of each feature when splitting, while the Histogram algorithm "buckets" the original data of the feature, divides the data into different discrete areas, and then traverses the discrete data to find the optimal partition point. Here, each "bucket" for the feature value division has two meanings, one is the number of samples in each "bucket"; the other is the gradient sum of the samples in each "bucket" (the mean of the square of the first-order gradient sum is equivalent to the mean square loss).

[0163] The histogram algorithm can reduce the complexity of the model, and only the discrete values ​​are saved after the features are "bucketed", which greatly reduces the memory usage. Secondly, this "bucketing" method is equivalent to adding regularization to the model from a certain perspective, which can avoid overfitting of the model.

[0164] It is worth noting that the histogram algorithm uses bins instead of raw data, which is equivalent to adding regularization. This also means that more detailed features will be discarded, and similar data may be divided into the same bucket. Therefore, the number of bins determines the degree of regularization. The fewer bins, the more severe the penalty and the lower the risk of overfitting.

[0165] In addition, the LightGBM histogram algorithm also includes a histogram difference optimization, that is, after LightGBM obtains the histogram of a leaf, it can obtain the histogram of its brother leaf at a very low cost by histogram difference. After obtaining the histogram of a leaf and the histogram of the parent node, the histogram of another brother leaf can also be obtained quickly. In this way, the speed of the LightGBM algorithm is further improved.

[0166] (2) Leaf-wise leaf growth strategy with depth restriction.

[0167] Both GBDT and XGBoost models use a level-wise splitting approach in their leaf growth strategies. This approach targets each node in the same layer during the split, that is, each iteration traverses all the data in the entire dataset. Although this approach can complete the leaf nodes of each layer in parallel and control the complexity of the model, it will also generate many unnecessary searches or splits, thereby consuming more running memory and increasing computing costs.

[0168] The LightGBM algorithm has improved it by using a leaf-wise splitting growth method, that is, each time the leaf node with the largest splitting gain among all leaves is split, and other leaf nodes are not split. This splitting method will bring smaller errors than layer-wise splitting and speed up the learning speed of the algorithm, but since other leaves are not split, the splitting results will not be detailed enough, and only one leaf in each layer will be continuously split, which will increase the depth of the tree and cause the model to overfit. Therefore, the LightGBM algorithm will limit the depth of the tree to avoid overfitting during the growth process of leaf nodes.

[0169] (3) Single-sided gradient sampling technology (reducing the sample angle).

[0170] In the gradient boosting algorithm, each sample has a different gradient value. The gradient of the sample can reflect the degree of contribution to the model. Generally, the larger the gradient of the sample, the more information gain it contributes to the model, and the smaller the gradient of the sample, the better it performs in the model.

[0171] Therefore, the LightGBM algorithm introduces the Gradient-based One-Side Sampling (GOSS) technology. The basic idea is to use the gradient size information of the sample as a consideration of the importance of the sample from the perspective of reducing the sample, retain all sample points with large gradients, and randomly sample the sample points with small gradients in proportion. In this way, the information of both small gradient samples and large gradient samples is learned, which reduces the number of samples without changing the distribution of the original data and improves the training speed of the model.

[0172] (4) Mutually exclusive feature bundling (reducing feature angle).

[0173] High-dimensional data is usually very sparse, and there is mutual exclusivity between features (for example, several features generated by one-hot encoding will not be 0 at the same time). This kind of data has a certain impact on the effect and running speed of the model.

[0174] The Exclusive Feature Bundling (EFB) algorithm can be used to solve the sparsity problem of high-dimensional data. For example, if feature 1, feature 2, and feature 3 are mutually exclusive sparse features, the three features can be bundled into a dense new feature through the EFB algorithm, and then the new feature is used to replace the original three features, thereby reducing the feature dimension without losing information, avoiding unnecessary calculation of zero values, and improving the speed of the gradient enhancement algorithm.

[0175] LightGBM is a highly optimized GBDT algorithm, which can also be regarded as an optimization algorithm for XGBoost. The optimization of LightGBM can be expressed by the formula as follows: LightGBM=XGBoost+Histogram+GOSS+EFB.

[0176] After modeling with LightGBM, a binary classifier of 0 and 1 is obtained. If the prediction result of an item is 1, it means that the item needs to be reviewed, and if the prediction result is 0, it does not need to be reviewed. The model prediction results will be used as suggestions and submitted to the auditor for secondary confirmation.

[0177] The method for improving the quality of project settlement audit reduction based on artificial intelligence technology proposed in the embodiment of the present invention, in the first instance, by using the AI ​​model to score the entire tourism construction project, thereby eliminating the possibility of missing the recall of problem projects; by using a large amount of training data covering various project types, the model is guaranteed to support the project types used; the model can be quickly iterated and launched, and the latest model is updated every week to ensure rapid response to changes in tourism projects; the audit quality of the first instance is quantified, providing an effective reference for the approval of management personnel, and the quality of the first instance is improved. In addition, through the audit expert evaluation method, a unified scoring standard is established, and a data basis is provided for subsequent machine learning; the influence of the subjective preferences of auditors is eliminated; and the intervention space of auditors is strictly limited. At the same time, the introduction of machine learning methods successfully checked all tourism construction projects, reduced the possible omissions in manual sampling in the original technical solution, improved the efficiency of auditors, and replaced most of the manual evaluation process with model judgment.

[0178] In the review phase, AI models were used to judge all tourism construction projects, and projects with higher risks were successfully selected for review, thereby improving the re-examination reduction rate. The review selection process was optimized through the models of these two links, from partial sampling to full sampling, and the manual efficiency was improved with the assistance of AI models.

[0179] The following is a description of the tourism data analysis system based on the geological cultural village provided by the present invention. The tourism data analysis system based on the geological cultural village described below and the tourism data analysis method based on the geological cultural village described above can be referred to each other. Figure 5 As shown, the system includes:

[0180] An acquisition module 501 is used to acquire tourism construction projects of the geological cultural village;

[0181] The first-instance module 502 is used to input the project audit data of the tourism construction project into the first-instance scoring model to obtain the scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training the sample project audit data and its corresponding score labels on the basis of the extreme random tree;

[0182] Approval module 503, used for obtaining target tourism construction projects that have passed the first review according to the scoring scores;

[0183] The review sampling module 504 is used to input the target tourism construction project into the review sampling model, and obtain the tourism construction project to be reviewed output by the review sampling model; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed projects as the first positive sample and taking the reviewed projects with a review reduction rate greater than or equal to a set value as the second positive sample;

[0184] The review module 505 is used to review the tourism construction project to be reviewed.

[0185] The embodiment of the present invention improves the audit efficiency by introducing an AI model to audit the tourism construction projects of the geological cultural village. At the same time, a review sampling model is used to determine high-risk projects for review, thereby improving the audit quality of the tourism construction projects of the geological cultural village.

[0186] See also Figure 6 , Figure 6 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 6 As shown, an embodiment of the present invention provides an electronic device 600, including a memory 610, a processor 620, and a computer program 611 stored in the memory 610 and executable on the processor 620. When the processor 620 executes the computer program 611, the following steps are implemented:

[0187] Obtain tourism construction projects of the geological cultural village;

[0188] Inputting the project audit data of the tourism construction project into the first-instance scoring model to obtain the scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training the sample project audit data and its corresponding score labels on the basis of an extremely random tree;

[0189] Obtain the target tourism construction projects that have passed the first review according to the scoring scores;

[0190] The target tourism construction project is input into the review sampling model, and the review sampling model outputs the tourism construction project to be reviewed; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample;

[0191] Review the tourism construction projects that are awaiting review.

[0192] See also Figure 7 , Figure 7 Schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention. Figure 7 As shown, this embodiment provides a computer-readable storage medium 700, on which a computer program 611 is stored. When the computer program 611 is executed by a processor, the following steps are implemented:

[0193] Obtain tourism construction projects of the geological cultural village;

[0194] Inputting the project audit data of the tourism construction project into the first-instance scoring model to obtain the scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training the sample project audit data and its corresponding score labels on the basis of an extremely random tree;

[0195] Obtain the target tourism construction projects that have passed the first review according to the scoring scores;

[0196] The target tourism construction project is input into the review sampling model, and the review sampling model outputs the tourism construction project to be reviewed; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample;

[0197] Review the tourism construction projects that are awaiting review.

[0198] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0199] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0200] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0201] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0202] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0203] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0204] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A tourism data analysis method based on geological and cultural villages, characterized in that: include: Obtain tourism construction projects of the geological cultural village; Inputting the project audit data of the tourism construction project into the first-instance scoring model to obtain the scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training the sample project audit data and its corresponding score labels on the basis of an extremely random tree; Obtain the target tourism construction projects that have passed the first review according to the scoring scores; The target tourism construction project is input into the review sampling model, and the review sampling model outputs the tourism construction project to be reviewed; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed project as the first positive sample and taking the reviewed project with a review reduction rate greater than or equal to a set value as the second positive sample; Review the tourism construction projects that are awaiting review; The review sampling model is determined based on the following method: Based on the machine learning model LightGBM based on the gradient boosting algorithm, the first training set is trained to obtain a first sampling model; the first training set includes the first positive sample; Based on the LightGBM, a second training set is trained to obtain a second sampling model; the second training set includes the second positive sample; Determining the prediction accuracy of the first sampling model and the second sampling model, and determining the review sampling model according to the prediction accuracy; The first instance scoring model is trained based on the following method: Collecting the sample project audit data and preprocessing the sample project audit data; Performing stratified sampling on the preprocessed sample project audit data to obtain multiple layers of sample project audit data; Using the score labels, labeling the audit data of the sample items in each layer to obtain labeled data; The extremely random tree is trained based on the training set constructed based on the labeled data to obtain the first-instance scoring model.

2. The tourism data analysis method based on the geological cultural village according to claim 1 is characterized in that: The first training set is trained on the basis of the LightGBM machine learning model based on the gradient boosting algorithm to obtain a first sampling model, including: Obtaining reviewed projects and unreviewed projects from historical projects, taking the reviewed projects as first positive samples, and taking the unreviewed projects as first negative samples; Under-sampling the first negative samples to randomly extract the same number of first target negative samples as the first positive samples from the first negative samples; Constructing the first training set according to the first positive sample and the first target negative sample; The LightGBM is constructed, and the LightGBM is trained using the first training set to obtain the first sampling model.

3. The tourism data analysis method based on the geological cultural village according to claim 1 is characterized in that: Based on the LightGBM, the second training set is trained to obtain a second sampling model, including: Obtain the reviewed projects whose reduction rate is greater than or equal to the set value and the reviewed projects whose reduction rate is less than the set value in the historical projects; The reviewed items whose review reduction rate is greater than or equal to the set value are taken as the second positive sample, and the reviewed items whose review reduction rate is less than the set value are taken as the second negative sample; Under-sampling the second negative samples to randomly extract the same number of second target negative samples as the second positive samples from the second negative samples; Constructing the second training set according to the second positive sample and the second target negative sample; The LightGBM is constructed, and the LightGBM is trained using the second training set to obtain the second sampling model.

4. The tourism data analysis method based on the geological cultural village according to claim 1 is characterized in that: The preprocessing of the sample project audit data includes: Determine the continuous data and discrete data in the audit data of the sample items; The continuous data is normalized by using a maximum-minimum normalization method to obtain normalized continuous data; One-hot encode the discrete data to obtain encoded data; The F test is used to screen the continuous features in the normalized continuous data.

5. The tourism data analysis method based on the geological cultural village according to claim 1 is characterized in that: The target tourism construction projects that have passed the first review are obtained according to the scoring scores, including: Determine a comparison result between the scoring score and a preset score; If the comparison result is that the scoring score is less than the preset score, it is determined that the tourism construction project has passed the first review and the target tourism construction project is obtained.

6. A tourism data analysis system based on geological and cultural villages, characterized in that: include: The acquisition module is used to obtain the tourism construction projects of the geological cultural village; A first-instance module is used to input the project audit data of the tourism construction project into a first-instance scoring model to obtain a scoring score output by the first-instance scoring model; the first-instance scoring model is obtained by training sample project audit data and its corresponding score labels on the basis of an extremely random tree; An approval module, used for obtaining target tourism construction projects that have passed the first review according to the scoring scores; A review sampling module is used to input the target tourism construction project into a review sampling model, and obtain the tourism construction project to be reviewed output by the review sampling model; the review sampling model is determined by a control group set by different learning objectives; the learning objectives include taking the reviewed projects as the first positive sample and taking the reviewed projects with a review reduction rate greater than or equal to a set value as the second positive sample; A review module, used for reviewing the tourism construction project to be reviewed; The review sampling model is determined based on the following method: Based on the machine learning model LightGBM based on the gradient boosting algorithm, the first training set is trained to obtain a first sampling model; the first training set includes the first positive sample; Based on the LightGBM, a second training set is trained to obtain a second sampling model; the second training set includes the second positive sample; Determining the prediction accuracy of the first sampling model and the second sampling model, and determining the review sampling model according to the prediction accuracy; The first instance scoring model is trained based on the following method: Collecting the sample project audit data and preprocessing the sample project audit data; Performing stratified sampling on the preprocessed sample project audit data to obtain multiple layers of sample project audit data; Using the score labels, labeling the audit data of the sample items in each layer to obtain labeled data; The extremely random tree is trained based on the training set constructed based on the labeled data to obtain the first-instance scoring model.

7. An electronic device, characterized in that: include: Memory for storing computer software programs; A processor is used to read and execute the computer software program, thereby implementing the tourism data analysis method based on the geological cultural village as described in any one of claims 1-5.

8. A non-transitory computer-readable storage medium, characterized in that: The storage medium stores a computer software program, which, when executed by a processor, implements the tourism data analysis method based on the geological and cultural village as described in any one of claims 1 to 5.