Subjective and objective combination weighting calculator, terminal and storage medium
By designing a subjective and objective combination empowerment calculator, the problems of insufficient simplicity and poor visibility of subjective and objective combination empowerment methods in the existing technology are solved, and fast and convenient calculations and switching of multiple methods are achieved, which improves computing efficiency and accuracy.
Patent Information
- Application Number
- CN202411712483.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing subjective and objective combination empowerment methods have problems such as insufficient simplicity, insufficient promotion, poor practicality, poor applicability and poor visibility, which leads to poor promotion and practicality in practical applications.
Design a subjective and objective combination empowerment calculator, including a calculation condition setting module, a calculation method selection module, a combination weight output module and a drawing display module, and realizes rapid calculation, method switching and visual presentation through human-computer interaction window and background programs.
It realizes fast and convenient subjective and objective combination empowerment calculations, supports rapid switching of multiple calculation methods and visual comparison of results, improves computing efficiency and accuracy, and reduces operational complexity.
Smart Images

Figure CN119645397A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of decision-making evaluation, and in particular to a subjective and objective combined weighting calculator, a terminal and a storage medium. Background Art
[0002] At present, with the improvement of system engineering thinking and scientific cognition, the comprehensive evaluation of complex systems or environments has gradually attracted people's attention and has been widely used in many aspects such as national defense and military, economic livelihood, and social governance. The comprehensive evaluation method has also changed from the traditional qualitative, single, and perceptual analysis to quantitative, comprehensive, and scientific analysis. The construction of the index system in the subsequent evaluation has become a hot topic of research. Since the elements involved in the evaluation are usually complex, multi-faceted, and tightly coupled, it is obviously insufficient to use only a single indicator to conduct a comprehensive evaluation of the effectiveness. Therefore, it is usually necessary to accurately establish an index system composed of multi-dimensional indicators that can reflect the effectiveness of the evaluated things, so as to reflect the comprehensive evaluation situation as a whole. The construction of a comprehensive index system has also become the focus and difficulty of the comprehensive evaluation problem.
[0003] In the comprehensive index system, the influence of different evaluation indicators on the evaluated object should obviously be different. Therefore, it is necessary to further analyze the influence of each single indicator on the scientificity and rationality of the overall evaluation, and then assign different weights to each single indicator according to the influence, that is, to weight the single indicator in the comprehensive index system. The two major issues of establishing an index system and index weighting have become the key to conducting scientific evaluation, especially the latter directly determines the final evaluation results. The issue of index weighting often involves complex mathematical analysis processes and has deep theoretical research significance. Therefore, this issue has become the focus of experts and scholars in the field of evaluation and decision-making technology. At present, the more mature index weighting methods can be divided into two categories, namely subjective weighting method and objective weighting method. Among them, the former is mostly obtained by experts based on their subjective judgment based on personal experience, and the latter is to determine the index weight according to the correlation between different indicators. Both index weighting methods have their principle defects. The subjective weighting method overemphasizes the personal experience of experts, which makes the index weights prone to randomness, uncertainty and fuzziness caused by subjective attribute preferences or subjective arbitrariness; while the index weights obtained by the objective weighting method are directly related to the evaluated object, easily affected by the original data, and cannot fully reflect the importance of each index itself. Therefore, the more widely used weighting method is the combination of subjective and objective weighting, which is more typical of linear weighting, multiplication normalization, game combination, etc. This article calls it the subjective and objective combination weighting calculation method.
[0004] According to relevant literature, the above process currently has the following problems or deficiencies in practical application: Although experts and scholars have proposed a variety of subjective and objective combination weighting methods, the subjective and objective combination weighting methods for the index system are numerous and have different focuses, and each method involves a complex calculation process and a large amount of calculation. In practical applications, they face the problem of poor promotion and practicality. It is difficult for personnel who are not in the professional and technical field of evaluation and decision-making to understand, master or implement the subjective and objective combination weighting calculation in a short period of time. The application needs of comprehensive evaluation are widely present in various fields of production and life, which leads to the contradiction between capabilities and needs, and seriously restricts the promotion and application of comprehensive evaluation technology. Therefore, it can be considered that the problem of subjective and objective combination weighting calculation has not been well solved.
[0005] Through the above analysis, the problems and defects of the prior art are as follows:
[0006] (1) The traditional subjective and objective combination weighting method is not simple enough, has many types and complex reasoning process, which makes it difficult for users to understand and master it in a short time;
[0007] (2) The traditional subjective and objective combined weighting method is not widely applicable because its principle analysis process requires a high level of mathematical foundation, which limits the application of comprehensive evaluation technology.
[0008] (3) The practicality of the traditional subjective and objective combined weighting method is poor. Its mathematical calculation process usually involves complex matrix operations, which makes manual calculation difficult.
[0009] (4) The applicability of the traditional subjective and objective combined weighting method is not strong. Each combined weighting method uses a specific calculation method and focuses on different user needs, which makes it impossible for users to switch between multiple weighting calculation methods in a short period of time.
[0010] (5) The traditional subjective and objective combination weighting methods have poor visibility. Users cannot directly observe the distribution of combination weights, nor can they intuitively compare the calculated weights of different combination weighting methods.
[0011] The difficulty of solving the above problems and defects is:
[0012] The subjective and objective combined weighting calculator integrates a variety of typical weighting calculation methods to support fast calculation, method switching, and visual presentation;
[0013] The subjective and objective combination weighting calculator should respond quickly, keep the running time within a reasonable range, and be able to obtain the subjective and objective combination weighting calculation results in a short time;
[0014] In the subjective and objective combined weighting calculator, it should be possible to quickly switch between multiple subjective and objective combined weighting calculation methods;
[0015] In the subjective and objective combination weighting calculator, a visual comparison of multiple subjective and objective combination weighting calculation results should be realized;
[0016] The software size of the subjective and objective combined weighting calculator should be controlled and should not be too large to facilitate its promotion and use;
[0017] The human-computer interaction of the subjective and objective combined weighting calculator should be friendly and simple, and able to support non-professionals to quickly get started. Summary of the invention
[0018] The present invention provides a subjective and objective combined weighting calculator, a terminal and a storage medium, which are used to solve at least one defect existing in the prior art.
[0019] In a first aspect, the present invention provides a subjective and objective combined weighting calculator, comprising: a calculation condition setting module, a calculation method selection module, a combined weight output module and a drawing display module;
[0020] The calculation condition setting module is configured with subjective weight setting, objective weight setting and data reading functions; wherein the subjective weight setting function and the objective weight setting function are both based on editable text controls to support operators to input subjective weights and objective weights in the text boxes corresponding to the human-computer interaction window; the data reading function is based on button controls to support operators to read and verify subjective weight and objective weight data when clicking the read data button in the human-computer interaction window;
[0021] The calculation method selection module provides different calculation method options based on different button controls, so that when the operator clicks a calculation method selection button, the operator selects the corresponding subjective and objective combined calculation method to calculate the combined weight of the subjective weight and the objective weight;
[0022] The combined weight output module outputs the calculated combined weight in text form based on an editable text control;
[0023] The drawing display module provides a click drawing function and a visual data display function, so that the operator can present the combination weight in the form of visual data after clicking the drawing button.
[0024] The subjective and objective combined weighted calculator provided by the present invention realizes the front-end operation of the operator and the data processing and calculation functions of the background through the human-computer interaction window of the front panel and the background program.
[0025] The subjective and objective combined weighted calculator provided by the present invention realizes the front-end operation of the operator and the data processing and calculation functions of the background through the human-computer interaction window of the front panel and the background program.
[0026] According to the subjective and objective combined weighted calculator provided by the present invention, the text box of the human-computer interaction window receives subjective weights and objective weights input in vector form, and guides the operator to complete the setting of calculation conditions through the interface.
[0027] According to the subjective and objective combined weighted calculator provided by the present invention, after the calculation conditions are set, the read data button on the human-computer interaction window is designed to drive the background program to realize the legality check of the input data; wherein the legality check includes: checking whether the input value of the text box is empty, checking whether the vector dimensions of the input subjective weights and objective weights are consistent, and checking whether the subjective weights and objective weights have been normalized; if all the legality checks are passed, a prompt indicating that the check is correct will pop up; if any legality check is not passed, a prompt indicating that the corresponding check is wrong will pop up.
[0028] According to the subjective and objective combination weighted calculator provided by the present invention, the subjective and objective combination calculation method includes: a linear weighted calculation method, a multiplication normalization calculation method and a game combination calculation method.
[0029] According to the subjective and objective combined weighting calculator provided by the present invention, after the calculator performs calculations, the calculation results are displayed in a combined weight window for easy viewing and analysis by operators.
[0030] According to the subjective and objective combined weighting calculator provided by the present invention, the visual data is in the form of a bar graph.
[0031] In a second aspect, the present invention also provides a method for performing subjective and objective combined weighted calculation using any of the above-mentioned subjective and objective combined weighted calculators, the method comprising: receiving subjective weights and objective weights input by an operator; in response to the operator clicking a read data button, reading and verifying the subjective weights and objective weights data; in response to the operator clicking a calculation method selection button, calculating the combined weights based on the subjective weights and objective weights using the subjective and objective combined calculation method corresponding to the calculation method selection button, and displaying the combined weights in a human-computer interaction window; in response to the operator clicking a draw button, presenting the combined weights in the form of visual data.
[0032] In a third aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for calculating the subjective and objective combined weights as described above.
[0033] In a fourth aspect, the present invention further provides a terminal having a built-in subjective and objective combined weighting calculator operating environment and the subjective and objective combined weighting calculator as described above.
[0034] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows:
[0035] First, the subjective and objective combined weighted calculator provided by the present invention can be developed using the Matlab graphical user interface, and is a software tool suitable for the subjective and objective combined weighted calculation of indicators in comprehensive evaluation problems, and has the following advantages and positive effects:
[0036] (1) The core technical solution of the present invention is to use software programming to automatically complete the originally complex calculation process through a background program. Compared with the traditional manual calculation method, it is more convenient and faster, and effectively avoids the problems of large amount of calculation and inconvenience in use of the traditional method;
[0037] (2) In the technical solution of the present invention, the calculator includes a front panel and a background program. The front panel is used for human-computer interaction. Its interface design is friendly and concise. The amount of human-computer interaction information is large, and the subjective weight and the objective weight can be quickly set, which effectively avoids the disadvantage that the traditional method is inconvenient for weight setting.
[0038] (3) In the technical solution of the present invention, the calculator background program part integrates a variety of subjective and objective index weighting calculation schemes, including the commonly used "linear weighting" scheme, "multiplication normalization" scheme and "game combination" scheme, and the calculation scheme can be further iterated and upgraded in the future, which can realize the rapid switching of different schemes, effectively avoiding the shortcomings of the rigid and single traditional methods;
[0039] (4) The technical solution of the present invention is designed with a drawing display function for the subjective and objective combined weighted calculation results, which can efficiently and intuitively reflect the weight distribution, making it easy for operators to quickly understand the calculation results, and effectively avoiding the disadvantage of poor visualization of traditional methods;
[0040] (5) In the technical solution of the present invention, the background program is concise and runs quickly, and can complete complex subjective and objective weighting calculations within a few seconds, greatly saving the time cost of traditional methods;
[0041] (6) In the technical solution of the present invention, the background program has functions such as data verification and normalization processing, making data processing outside the calculation process more convenient and quick.
[0042] Second, by combining the human-computer interaction window on the front panel with the background program language, the calculator achieves a seamless user experience, greatly improving the efficiency and accuracy of weighted calculations, while simplifying the operation process so that non-professionals can easily get started. By utilizing the powerful calculation and display capabilities of the Matlab graphical user interface, the calculator can complete the processing and analysis of a large amount of data in a short period of time. At the same time, the results are displayed in an intuitive graphical manner, which greatly improves the efficiency and accuracy of data analysis. The introduction of the vector form of weight input greatly improves the efficiency of data input and reduces erroneous input compared to the traditional single data input. At the same time, the friendly interface design ensures that the operator can accurately complete the settings when setting the calculation conditions, avoiding calculation errors caused by setting errors.
[0043] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:
[0044] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are as follows: it has a wide range of application markets in the evaluation, assessment, and scoring work involved in various industries and fields. It can avoid the complicated and tedious manual calculation process when calculating the combination of evaluation indicators, significantly improve the efficiency and accuracy of the calculation, and support the free selection of subjective and objective combination weighting methods.
[0045] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad: Currently, no technical solution similar to the present invention has been found in public information. The use of a special calculator to solve the problem of subjective and objective combined weighted calculation is a new application in the field of decision-making evaluation technology.
[0046] (3) The technical solution of the present invention solves a technical problem that has long been desired to be solved but has never been successfully solved: In the current assessment and evaluation issues involved in various industries, scientific and accurate subjective and objective comprehensive weighted calculations have become a general consensus, but there is still a lack of effective subjective and objective comprehensive weighted dedicated calculators, which has become a technical problem that people have long been eager to solve but have never been successful. The technical solution of the present invention has preliminarily solved this problem.
[0047] (4) The technical solution of the present invention overcomes technical prejudice: Up to now, technicians in this field generally use manual calculation to perform subjective and objective comprehensive weighted calculations. They have technical prejudices against methods similar to those using special calculators for calculations, believing that special calculators are difficult to design and not very flexible. In the present invention, while focusing on the optimization design of human-computer interaction, it absorbs and incorporates a variety of typical subjective and objective combined weighted calculation methods, supports users to select at will, and can visualize the calculation results, which better overcomes the previous technical prejudice. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 is a structural block diagram of a subjective and objective combined weight calculator provided by an embodiment of the present invention;
[0050] Figure 2 is a design flow chart of a subjective and objective combined weight calculator provided by an embodiment of the present invention;
[0051] Figure 3 is a screenshot of a program package provided by an embodiment of the present invention;
[0052] Figure 4 is a diagram of a human-computer interaction interface provided by an embodiment of the present invention;
[0053] Figure 5 is a start operation button provided by an embodiment of the present invention;
[0054] Figure 6 It is a calculation condition setting interface provided by an embodiment of the present invention;
[0055] Figure 7 is a data reading button provided by an embodiment of the present invention;
[0056] Figure 8 is a data verification dialog box provided by an embodiment of the present invention;
[0057] Fig. 9 This is a calculation scheme selection interface provided by an embodiment of the present invention;
[0058] Fig.10 is a linear weighted weighting window provided by an embodiment of the present invention;
[0059] Fig.11 is a calculation completion dialog box provided by an embodiment of the present invention;
[0060] Fig.12 It is a combination weight output interface provided by an embodiment of the present invention;
[0061] Fig.13 It is a click-to-draw button provided by an embodiment of the present invention;
[0062] Fig.14 It is a drawing display interface provided by an embodiment of the present invention;
[0063] Fig.15is a menu button provided by an embodiment of the present invention;
[0064] Fig.16 It is the calculation output and drawing situation under certain condition settings provided by the embodiment of the present invention;
[0065] Fig.17 is an illustration of a front panel module of a calculator provided by an embodiment of the present invention;
[0066] Wherein, the accompanying drawings are marked as follows:
[0067] 1: Calculation condition setting module; 2: Calculation scheme selection module; 3: Combination weight output module; 4: Drawing display module. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0069] It should be noted that, in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0070] In view of the problems existing in the prior art, the present invention provides a subjective and objective combined weighting calculator, which is described in detail below in conjunction with the accompanying drawings.
[0071] Figure 1 is a structural block diagram of a subjective and objective combined weight calculator provided by an embodiment of the present invention, such as Figure 1 As shown, the subjective and objective combined weighting calculator provided by the embodiment of the present invention includes: a calculation condition setting module 1, a calculation method selection module 2, a combination weight output module 3, and a drawing display module 4.
[0072] The calculation condition setting module is configured with subjective weight setting, objective weight setting and data reading functions; wherein, the subjective weight setting function and the objective weight setting function are both based on editable text controls to support operators to input subjective weights and objective weights in the text boxes corresponding to the human-computer interaction window; the data reading function is based on button controls to support operators to read and verify subjective weight and objective weight data when clicking the read data button in the human-computer interaction window.
[0073] Specifically, the principle of setting subjective weights and objective weights is to design a background program based on the Edit Text control provided by the Matlab graphical user interface, which supports operators to manually input subjective weights and objective weights. The principle of implementing the data reading function is to design a background program based on the Push Button control provided by the Matlab graphical user interface, which automatically reads and verifies the subjective weight and objective weight data when the operator clicks.
[0074] The calculation method selection module provides different calculation method options based on button controls, so that when an operator clicks a calculation method selection button, a corresponding subjective and objective combined calculation method is selected to calculate the combined weight of the subjective weight and the objective weight.
[0075] Specifically, the calculation method selection module is mainly composed of functions such as linear weighted calculation method selection, multiplication normalization calculation method selection, and game combination calculation method selection. Its principle is to design a background program based on the PushButton control provided by the Matlab graphical user interface. The effect is that when the operator clicks a calculation method selection button, the corresponding subjective and objective combination calculation method is automatically selected.
[0076] The combined weight output module is mainly composed of the subjective and objective combined weight output function. Its principle is to design the background program based on the Edit Text control provided by the Matlab graphical user interface. The effect is to automatically output the calculation results in text form after the subjective weight and objective weight combination calculation is completed;
[0077] The drawing display module provides a click drawing function and a visual data display function, so that the operator can present the combination weight in the form of visual data after clicking the drawing button.
[0078] Specifically, the drawing display module is mainly composed of click drawing and bar graph display functions. The principle of click drawing is to design a background program based on the Push Button control provided by the Matlab graphical user interface, and the effect is to support the operator to click to start drawing. The principle of bar graph display is to design a background program based on the Axes control provided by the Matlab graphical user interface, and the effect is that after the operator clicks the drawing button, the subjective and objective combined weights are presented in the form of a bar graph.
[0079] The working principle of the subjective and objective combined weighting calculator provided by the embodiment of the present invention is as follows: First, the calculation condition setting module is the starting point of the calculator. The module allows the operator to manually input the subjective weight and the objective weight through the editable text (EditText) control provided by the Matlab graphical user interface. These two weights represent the importance of different evaluation indicators. The subjective weight is usually obtained based on expert experience or questionnaire surveys, while the objective weight is obtained based on data analysis and statistical methods. At the same time, the calculation condition setting module also provides a data reading function. Through the button (PushButton) control, the operator can easily read and verify the stored subjective weight and objective weight data.
[0080] Next, the calculation method selection module is a key step in determining how to combine subjective weights and objective weights. This module provides a variety of calculation methods for operators to choose from, including linear weighted calculation method, multiplication normalization calculation method, game combination calculation method, etc. These calculation methods have their own characteristics and are suitable for different evaluation scenarios and needs. By clicking the corresponding button control, the calculator will automatically select the selected calculation method and prepare for the subsequent combined weight calculation.
[0081] After the calculation method is selected, the combined weight output module starts working. This module executes the selected subjective and objective combined calculation method through the background program, and performs weighting, normalization or game operations on the subjective weight and objective weight to obtain the final combined weight. The calculation results are output in text form to the editable text control for the operator to view and record.
[0082] Finally, the drawing display module is responsible for presenting the combined weights to the operator in a graphical way. This module provides a click-to-draw function, and the operator starts the drawing process by clicking a button control. The background program will use the Axes (drawing) control to draw a bar chart based on the calculated combined weights. The bar chart can intuitively display the combined weights of different evaluation indicators, helping operators to better understand and analyze the evaluation results.
[0083] In summary, the subjective and objective combined weighting calculator provided by the embodiment of the present invention realizes the functions of setting subjective and objective weights, selecting calculation methods, calculating and graphically displaying combined weights, etc. through the collaborative work of various modules. The calculator can flexibly adjust the calculation conditions and methods according to actual needs, providing convenient and efficient support for evaluation work.
[0084] The subjective and objective combined weighted calculator in the present invention can be implemented by a human-computer interaction window on the front panel and a background program language, which are respectively used for front-end human-computer interaction and background program operation.
[0085] The front panel human-computer interaction window is used to carry out subjective and objective combined weighted calculation according to the calculation conditions set by the operator. The calculation conditions that can be set include:
[0086] (1) Subjective weight: in vector form, dimensionless normalization is performed in advance, and the values are separated by “,”.
[0087] (2) Objective weight: in vector form, dimensionless normalization is performed in advance, the values are separated by “,”, and the dimension is consistent with the subjective weight.
[0088] Furthermore, in the front panel human-computer interaction window, after the calculation conditions are set, the operator must click the "Read Data" button to drive the background program to perform a legality check on the input subjective and objective weights. The verification content includes:
[0089] (1) "Input is empty value" check: Check whether the input value of the calculation condition is empty. If the check finds that the input value is empty, the "Error: Please enter the weight" dialog box will pop up.
[0090] (2) “Subjective and objective dimension” verification: Check whether the vector dimensions of the subjective weights and the objective weights are consistent. If the verification finds that the dimensions are inconsistent, the “Error: Inconsistent Weights” dialog box will pop up.
[0091] (3) “Weight Normalization” Verification: Checks whether the subjective weights and objective weights have been normalized. If the verification finds that they have not been normalized, the “Error: Weights not normalized” dialog box will pop up.
[0092] (4) If all the above checks are passed, the "Complete: Data is Legal" dialog box will pop up.
[0093] Furthermore, in the front panel human-computer interaction window, after verification, the operator must click to select the "linear weighting" or "multiplication normalization" or "game combination" calculation method to drive the background program to complete the combination weighted calculation. After the calculation is completed, a "calculation completed" dialog box pops up.
[0094] Furthermore, after the calculation of the front panel human-computer interaction window is completed, the background program displays the calculation result in the "combination weight" window.
[0095] Furthermore, in the front panel human-computer interaction window, after the calculation is completed, the operator can drive the background drawing program by clicking the "click to draw" button to present the weight distribution in the combined weighted calculation result in the form of a bar graph.
[0096] Figure 2 is a design flow chart of a subjective and objective combined weight calculator provided by an embodiment of the present invention, such as Figure 2 As shown, the design process of the subjective and objective combined weighting calculator provided by the embodiment of the present invention includes the following steps:
[0097] S101, determining the main functions, which include inputting subjective weights and objective weights, selecting a combined weighting calculation method, outputting a combined weighting calculation result, and drawing a combined weight distribution diagram;
[0098] S102, GUI interface design: According to the main functions, the GUI interface has four functional modules, including a calculation condition setting module, a calculation method selection module, a combination weight output module and a drawing display module;
[0099] S103, background program compilation: background program compilation is performed based on the GUI interface design;
[0100] S104, simulation debugging and modification and improvement: perform software simulation debugging in the Matlab workspace, find software vulnerabilities, and continuously modify and improve.
[0101] The technical solution of the present invention is further described below in conjunction with the explanation of terms.
[0102] (1) Combination of subjective and objective weighting: In comprehensive evaluation problems, the influence of different single evaluation indicators on the evaluated object is obviously different. Therefore, it is necessary to further assign different weights to each single indicator according to the degree of influence, that is, the problem of indicator weighting. Currently, the more mature indicator weighting methods can be divided into two categories, namely subjective weighting method and objective weighting method. Both indicator weighting methods have their principle defects. The solution is to combine subjective and objective weighting. The more typical ones are linear weighting, multiplication normalization, game combination, etc.
[0103] (2) Linear weighted weighting: A traditional subjective and objective weighting method. The main principle is linear weighted calculation. Assume that the subjective weight and objective weight vectors are ω 1 and ω 2 , then the linear weighted combination weight ω 3 =δω 1 +(1-δ)ω 2, where 0≤δ≤1.
[0104] (3) Multiplication normalization weighting: A traditional subjective and objective combination weighting method. The main principle is multiplication synthesis calculation. Assuming that there are n indicators in total, the subjective weight and objective weight of the i-th indicator are ω respectively. 1i and ω 2i , then the multiplicative normalized combination weight
[0105] (4) Game combination weighting: A traditional subjective and objective combination weighting method. The main principle is game theory combination calculation, which requires that the deviation between the combination weight vector and the subjective and objective weight vector is minimal, that is, According to the differential principle, α can be calculated based on the conditions for optimizing the first-order derivative. j The value of .
[0106] (5) Normalization: The basic standard that the weight vector should meet. Let the weight vector ω x =[ω x1 ,ω x2 ,...,ω xn ], then it should satisfy And 0≤ω xi ≤1.
[0107] The technical solution of the present invention is further described below in conjunction with embodiments.
[0108] The invention relates to a design method of a subjective and objective combined weighted calculator, and in particular to a subjective and objective combined weighted calculator developed by using a Matlab graphical user interface and suitable for comprehensive evaluation problems.
[0109] The steps of using the subjective and objective combined weighting calculator provided by the embodiment of the present invention are as follows:
[0110] 1. Open the subjective and objective combination weighting calculator package, such as Figure 3 shown.
[0111] 2. Use Matlab software to open the subjective and objective combined weighting calculator program index.fig and enter the front panel human-computer interaction window, such as Figure 4 shown.
[0112] 3. Click the "Start Run" button or use the "Ctrl+T" shortcut key to run the program. Figure 5 shown.
[0113] 4. In the calculation condition setting module, the operator can input the subjective weight vector and the objective weight vector, such as Figure 6 If the user does not set any parameters, the default parameters will be used.
[0114] 5. After setting the parameters, click Figure 7 Click the "Read Data" button shown, and the background program starts reading data and performing data verification, including "input is empty value" verification, "subjective and objective dimensions" verification, and "weight normalization" verification.
[0115] 6. The verification result pops up Figure 8 In the dialog box shown, the operator can click the "OK" button to continue.
[0116] 7. After the verification is passed, the "Complete: Data Legality" dialog box pops up and the operator can click the "OK" button to continue. Fig. 9 Click a calculation method selection button in the combined weighted calculation scheme shown, and the background program will start calculation.
[0117] 8. If the operator clicks the "Linear Weighting" button, a pop-up window will appear. Fig.10 The "Subjective and objective weighting, separated by spaces" dialog box shown prompts the operator to further manually weight the subjective weights and objective weights. After the weighting is completed, click the "OK" button to start the calculation. The other two calculation schemes do not require manual weighting.
[0118] 9. Pop-up after calculation Fig.11 The "Calculation Completed" dialog box is shown, and the operator can click the "OK" button to continue.
[0119] 10. After the calculation is completed, if Fig.12 The combined weight output module shown displays the calculation results.
[0120] 11. The operator can click on Fig.13 Click the "Click to Draw" button as shown, and the background program will automatically draw a bar chart of the subjective and objective combined weights.
[0121] 12. The subjective and objective combined weight bar chart is displayed in Fig.14 The drawing display module shown.
[0122] 13. After a calculation is completed, the operator can click Fig.15 Click the "Menu" button in the upper left corner of the window shown and select "Close Window" to exit the program.
[0123] The technical effects of the present invention are further described below in conjunction with specific experimental results.
[0124] like Fig.16 , the subjective weights are set to [0.1, 0.05, 0.15, 0.2, 0.25, 0.25], and the objective weights are set to [0.15, 0.1, 0.05, 0.25, 0.2, 0.25]. When the multiplication normalization calculation scheme is selected, the combined weights output by the calculator and the drawing are shown in the figure.
[0125] Fig.17 It is an illustration of a calculator front panel module provided by an embodiment of the present invention.
[0126] ① The title of the calculator front panel. Use the Static Text control design provided by the GUI editing interface to set the default text in the control text box to "Subjective and objective weight combination calculator";
[0127] ② Calculation condition setting module back panel. Use the Panel control design and set the control title to "Step 1: Enter subjective and objective weights";
[0128] ③ The title of the subjective weight setting window. Use the Static Text control design to set the default text in the control text box to "Subjective Weight";
[0129] ④ Subjective weight setting window. Use the Edit Text control to design, set the Tag in the control properties to "edit1", and set the default text String to "0.2, 0.2, 0.2, 0.2, 0.2";
[0130] ⑤ The title of the objective weight setting window. Use the Static Text control design to set the default text in the control text box to "Objective Weight";
[0131] ⑥Objective weight setting window. Use the Edit Text control to design, set the Tag in the control properties to "edit2", and the default text String to '0.2,0.2,0.2,0.2,0.2';
[0132] ⑦ Operation prompt after input is completed. Use the Static Text control design to set the default text in the control text box to "After input is completed, please click "Read Data" →";
[0133] ⑧ Read data button. Use the Push Button control design, set the String (the content displayed on the button) in the control properties to "read data", and edit the data reading and data verification procedures in its callback function;
[0134] ⑨ Calculation scheme selection module backplane. Use Panel control design and set the control title to "Step 2: Select combination method";
[0135] Linear weighted button. Use the Push Button control design, set the String in the control properties to "linear weighted", and edit the linear weighted combination calculation program in its callback function;
[0136] Multiplication normalization button. Use the Push Button control design, set the String in the control properties to "multiplication normalization", and edit the multiplication normalization combination calculation program in its callback function;
[0137] Game combination button. Use the Push Button control design, set the String in the control properties to "game combination", and edit the game combination calculation program in its callback function;
[0138] The back panel of the combined weight output module. Use the Panel control design and set the control title to "Step 3: Output combined weight";
[0139] The title of the combined weight output window. Use the Static Text control design to set the default text in the control text box to "Combined Weight";
[0140] Combined weight output window. Use the Edit Text control to design, set the Tag in the control properties to "edit4", and set the default text String to empty;
[0141] Draw the back panel of the display module. Use the Panel control design and set the control title to "Weight Distribution Drawing";
[0142] Click the drawing button. Use the Push Button control design, set the String in the control properties to "Click to Draw", and edit the game drawing program in its callback function;
[0143] Drawing area. Use the Axes (drawing) control design and set the Tag (label) in the control properties to "Axes1";
[0144] Editing environment for MATLAB software GUI front panel.
[0145] Furthermore, the operating method of the subjective and objective combination weighting calculator includes: receiving subjective weights and objective weights input by an operator; in response to the operator clicking a read data button, reading and verifying the subjective weights and objective weights data; in response to the operator clicking a calculation method selection button, calculating the combined weights based on the subjective weights and objective weights using the subjective and objective combination calculation method corresponding to the calculation method selection button, and displaying the combined weights in a human-computer interaction window; in response to the operator clicking a draw button, presenting the combined weights in the form of visual data.
[0146] Specifically, the main steps are:
[0147] (1) Use Matlab software to open the calculator program index.fig;
[0148] (2) Click the "Start Run" button or use the "Ctrl+T" shortcut key to run the program;
[0149] (3) In the calculation condition setting module, the operator manually enters the subjective weight and objective weight in windows ④ and ⑥. If no input is made, the default weight is used;
[0150] (4) After the setting is completed, click the Read Data button⑧, the background reading and verification program will start running. After the operation is completed, the system will automatically pop up the "Complete: Data Legality" window, and the operator can click the "OK" button to continue;
[0151] (5) After the data is read, click the calculation solution button or or , the background calculation program starts running. After the running is completed, the system automatically pops up the "Calculation Completed" window, and the operator clicks the "OK" button to continue;
[0152] (6) At this point, the calculator has completed the subjective and objective weighting calculations, and the calculation result is the combined weight, which is displayed on the window;
[0153] (7) The operator can click Draw button, you can Observe the distribution bar graph of the combined weights in the drawing area.
[0154] Further, the background program of the present invention mainly consists of ⑧, , The control is called, and the relevant program design is as follows:
[0155] (1) Data reading and verification program, called by the "Read Data" button ⑧, the Callback program is designed as follows:
[0156]
[0157]
[0158]
[0159] (2) Linear weighted calculation procedure, The "Linear Weighting" button is called, and the Callback program is designed as follows:
[0160]
[0161] (3) The multiplication normalization calculation procedure is: The Callback program is designed as follows:
[0162] function pushbutton3_Callback(hObject,eventdata,handles)
[0163] global Group
[0164] i_1=Group(1,:); i_2=Group(2,:);
[0165] zh=i_1.*i_2; Zh=sum(zh);
[0166] for k=1:1:length(i_1)
[0167] ZH_1(k)=zh(k) / Zh;
[0168] end
[0169] s = sprintf('Calculation completed\n\n');
[0170] msgbox(s,'About Message-Box','help');
[0171] ZH=ZH_1 / sum(ZH_1);
[0172] set(handles.edit4,'string',num2str(ZH));
[0173] (4) Game combination calculation program, called by button ①2 “Game combination”, the callback program is designed as follows:
[0174] function pushbutton2_Callback(hObject,eventdata,handles)
[0175] global Group
[0176] i_1 = Group(1,:);
[0177] i_2 = Group(2,:);
[0178] a=i_1*i_1'; b=i_1*i_2';
[0179] c=i_2*i_1'; d=i_2*i_2';
[0180] m=i_1*i_1'; n=i_2*i_2';
[0181] if(b*ca*d)==0||(a*db*c)==0
[0182] zh1=0.5;
[0183] zh2=0.5;
[0184] else
[0185] zh1=(b*nd*m) / (b*ca*d);
[0186] zh2=(a*nc*m) / (a*db*c);
[0187] end
[0188] ZH_1=zh1*i_1+zh2*i_2;
[0189] ZH=ZH_1 / sum(ZH_1);
[0190] s = sprintf('Calculation completed\n\n');
[0191] msgbox(s,'About Message-Box','help');
[0192] set(handles.edit4,'string',num2str(ZH));
[0193] (5) Drawing program, called by the "Click to Draw" button ①7, the Callback program is designed as follows:
[0194] function pushbutton5_Callback(hObject,eventdata,handles)
[0195] input_4=findobj(gcf,'Tag','edit4');
[0196] i_4=str2num(get(input_4,'string'));
[0197] bar(handles.axes1,i_4,'r','edgecolor','green');
[0198] set(handles.axes1,'XTick',0:1:length(i_4))
[0199] axis(handles.axes1,[-inf,inf,0,1]);
[0200] ylabel(handles.axes1,'weight')
[0201] On the other hand, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for calculating the subjective and objective combined weights.
[0202] In yet another aspect, the present invention further provides a terminal having a built-in subjective and objective combined weighting calculator operating environment and the subjective and objective combined weighting calculator as described above.
[0203] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0204] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A subjective and objective combined weighting calculator, characterized in that: include: Calculation condition setting module, calculation method selection module, combination weight output module and drawing display module; The calculation condition setting module is configured with subjective weight setting, objective weight setting and data reading functions; wherein the subjective weight setting function and the objective weight setting function are both based on editable text controls to support operators to input subjective weights and objective weights in the text boxes corresponding to the human-computer interaction window; the data reading function is based on button controls to support operators to read and verify subjective weight and objective weight data when clicking the read data button in the human-computer interaction window; The calculation method selection module provides different calculation method options based on different button controls, so that when the operator clicks a calculation method selection button, the operator selects the corresponding subjective and objective combined calculation method to calculate the combined weight of the subjective weight and the objective weight; The combined weight output module outputs the calculated combined weight in text form based on an editable text control; The drawing display module provides a click drawing function and a visual data display function, so that the operator can present the combination weight in the form of visual data after clicking the drawing button.
2. The subjective and objective combined weighting calculator according to claim 1, characterized in that: The front panel human-computer interaction window and the background program are used to realize the front-end operation of the operator and the data processing and calculation functions of the background.
3. The subjective and objective combined weighting calculator according to claim 1 or 2, characterized in that: The text box of the human-computer interaction window receives the subjective weight and the objective weight input in the form of vectors, and guides the operator to complete the setting of the calculation conditions through the interface.
4. The subjective and objective combined weighting calculator according to claim 3, characterized in that: After the calculation conditions are set, the read data button on the human-computer interaction window is designed to drive the background program to verify the legality of the input data; The legitimacy check includes: checking whether the input value of the text box is empty, checking whether the vector dimensions of the input subjective weight and objective weight are consistent, and checking whether the subjective weight and objective weight have been normalized; If all the validity checks are passed, a prompt indicating that the verification is correct will pop up; if any validity check is not passed, a prompt indicating that the corresponding verification is wrong will pop up.
5. The subjective and objective combined weighting calculator according to claim 4, characterized in that: The subjective and objective combined calculation method includes: a linear weighted calculation method, a multiplication normalization calculation method and a game combination calculation method.
6. The subjective and objective combined weighting calculator according to claim 4, characterized in that: After the calculator has calculated, the calculation results will be displayed in the combined weight window for the operator to view and analyze.
7. The subjective and objective combined weighting calculator according to claim 1, characterized in that: The visual data is in the form of a bar graph.
8. A method for performing subjective and objective combined weighted calculation using the subjective and objective combined weighted calculator described in any one of claims 1 to 7, characterized in that: include: receiving subjective weights and objective weights input by an operator; In response to the operator clicking the read data button, the subjective weight value and the objective weight value data are read and verified; In response to the operator clicking the calculation method selection button, the combined weight is calculated based on the subjective weight and the objective weight using the subjective and objective combined calculation method corresponding to the calculation method selection button, and the combined weight is displayed in the human-computer interaction window; In response to the operator clicking the drawing button, the combined weight is presented in the form of visual data.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the function of the subjective and objective combined weighting calculator as claimed in any one of claims 1 to 7 is realized.
10. A terminal, characterized in that: The terminal has a built-in subjective and objective combined weighting calculator operating environment and a subjective and objective combined weighting calculator as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Index weight analysis method
CN106022631A
Method and system for custom configuration of enterprise evaluation model
CN112150123A
Method for evaluating performance efficiency of information system
CN115509877A