Computational thinking level evaluation method and system based on LSA and HMM models

Through the combination of LSA and HMM models, the problem that traditional assessment methods cannot fully reflect computational thinking ability is solved, dynamic and objective computational thinking assessment is achieved, subjectivity and inconsistency are reduced, and assessment efficiency is improved.

CN118657413AInactive Publication Date: 2024-09-17SOUTH CHINA NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410604415.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional computational thinking assessment methods cannot fully reflect an individual's computational thinking ability, are subjective and inconsistent, and are particularly inefficient when assessing needs on a large scale.

Method used

Using methods based on LSA and HMM models, by acquiring multi-modal data, performing preprocessing and lag sequence analysis, generating behavior conversion frequency diagrams and conversion probability tables, constructing HMM models, and evaluating computational thinking levels to reduce subjectivity and inconsistency. sex.

Benefits of technology

It achieves a comprehensive and dynamic assessment of computational thinking ability, reduces subjectivity and assessment inconsistency, improves the standardization and efficiency of assessment, and can predict future computational thinking states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657413A
    Figure CN118657413A
Patent Text Reader

Abstract

The invention discloses a computational thinking level evaluation method and system based on LSA and HMM models. The method comprises the steps of obtaining multi-modal data; the multi-modal data is behavior data collected in the process that the target object completes the task; preprocessing the multi-modal data to obtain target analysis data; analyzing the target analysis data based on LSA, and generating and calculating a thinking behavior sequence conversion frequency relation graph; performing centesimal system conversion on the behavior conversion frequency in the calculation thinking behavior sequence conversion frequency relation graph to obtain a calculation thinking behavior sequence conversion probability graph and a conversion probability table; constructing a target HMM model based on a conversion probability graph and a conversion probability table of the calculated thinking behavior sequence; based on the target HMM model and the target standardized data, the computational thinking level assessment result is obtained, the computational thinking ability of the target object can be comprehensively assessed, assessment standardization and efficiency are improved, and the method can be widely applied to the technical field of computers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and system for evaluating computational thinking level based on LSA and HMM models. Background Art

[0002] Computational thinking is a foundational skill for problem solving, system design, and understanding human behavior that blends mathematical, logical, and algorithmic thinking. Assessing individuals' computational thinking skills is becoming increasingly important in education, engineering, and scientific research.

[0003] However, traditional assessment methods often rely on paper-and-pencil tests or direct demonstration of skills, which may not fully reflect an individual's computational thinking ability. Summary of the invention

[0004] The embodiments of the present application aim to solve at least one of the technical problems in the related art to a certain extent. To this end, the main purpose of the embodiments of the present application is to propose a method and system for evaluating the computational thinking level based on LSA and HMM models, which can comprehensively evaluate the computational thinking ability of the target object and improve the standardization and efficiency of the evaluation.

[0005] To achieve the above objectives, an embodiment of the present application proposes a method for evaluating computational thinking level based on LSA and HMM models, the method comprising:

[0006] Acquire multimodal data of a target object; the multimodal data represents behavioral data collected during the process of the target object completing a target task;

[0007] Preprocessing the multimodal data to obtain target analysis data;

[0008] Analyze the target analysis data based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram;

[0009] Convert each behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table;

[0010] Based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table, constructing a target HMM model;

[0011] Based on the target HMM model and target standardized data, a computational thinking level assessment result of the target object is obtained.

[0012] In some embodiments, preprocessing the multimodal data to obtain target analysis data includes:

[0013] Performing data cleaning processing on the multimodal data to obtain target cleaned data;

[0014] Performing feature extraction on the target cleaning data to obtain target feature data;

[0015] Performing standardization processing on the target characteristic data to obtain target standardized data;

[0016] Formatting the target standardized data to obtain target format data;

[0017] Mapping processing is performed on the target format data to obtain target analysis data.

[0018] In some embodiments, mapping the target format data to obtain target analysis data includes:

[0019] The target format data is subjected to behavioral sequence coding mapping to obtain target analysis data.

[0020] In some embodiments, the target analysis data is analyzed based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram, including:

[0021] Analyze the target analysis data based on the LSA method to obtain a behavior conversion frequency relationship table and a behavior residual table;

[0022] Screening the behavior residual table to obtain a target behavior sequence;

[0023] A computational thinking behavior sequence conversion frequency relationship diagram is generated according to the target behavior sequence.

[0024] In some embodiments, constructing a target HMM model based on the computational thinking behavior sequence transition probability graph and the computational thinking behavior sequence transition probability table includes:

[0025] Mapping the computational thinking behavior sequence in the target analysis data to the hidden state of the original HMM model;

[0026] The computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table are configured as elements of the state transition probability matrix of the original HMM model;

[0027] Based on the hidden state and the state transition probability matrix, a target HMM model is constructed, and a preset optimization algorithm is used to optimize the target HMM model; the preset optimization algorithm includes at least one of the following: maximum likelihood estimation algorithm, expectation maximization algorithm.

[0028] In some embodiments, obtaining the computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data includes:

[0029] Decoding an observation sequence to be predicted to determine a target hidden state sequence of the observation sequence to be predicted;

[0030] Calculating the conditional probability of each hidden state in the target hidden state sequence;

[0031] Based on the target HMM model, according to the target hidden state sequence and the conditional probability of each hidden state in the target hidden state sequence, the computational thinking level evaluation result of the target object is output.

[0032] In some embodiments, the computational thinking level evaluation result includes a target computational thinking state sequence and a conditional probability corresponding to the target computational thinking state sequence. After obtaining the computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data, the method further includes:

[0033] The target computational thinking state sequence and the conditional probability corresponding to the target computational thinking state sequence are visualized to generate a visualized computational thinking level assessment report.

[0034] To achieve the above purpose, another aspect of the embodiment of the present application proposes a computational thinking level evaluation system based on LSA and HMM models, the system comprising:

[0035] A data acquisition module, used to acquire multimodal data of a target object; the multimodal data represents behavioral data collected during the process of the target object completing a target task;

[0036] A data preprocessing module, used to preprocess the multimodal data to obtain target analysis data;

[0037] A lag sequence analysis module, used to analyze the target analysis data based on the LSA method and generate a computational thinking behavior sequence conversion frequency relationship diagram;

[0038] A probability conversion module, used to convert the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table;

[0039] A model building module, used to build a target HMM model based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table;

[0040] The model evaluation module is used to obtain the computational thinking level evaluation result of the target object based on the target HMM model and target standardized data.

[0041] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.

[0042] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0043] The embodiments of the present application include at least the following beneficial effects: The present application provides a method and system for evaluating the computational thinking level based on LSA and HMM models, and the scheme obtains multimodal data of the target object; the multimodal data represents the behavioral data collected in the process of the target object completing the target task; the multimodal data is preprocessed to obtain target analysis data; the target analysis data is analyzed based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram; the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram is converted into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; based on the computational thinking behavior sequence conversion probability diagram and the computational thinking behavior sequence conversion probability table, a target HMM model is constructed; based on the target HMM model and the target standardized data, the computational thinking level evaluation result of the target object is obtained. The embodiment of the present application analyzes the target analysis data based on the LSA method, which can reveal the delay relationship between the different computational thinking dimensional capabilities of the target object in the process of completing the target task, and then convert the relationship between the variables of each dimension into probability. By using the target HMM model, the dynamic relationship between the computational thinking dimensional capabilities in the behavior sequence can be deeply analyzed and the future state can be predicted. The embodiment of the present application not only considers the time delay relationship between events, but also can infer the future state based on probability, and can more comprehensively evaluate the computational thinking ability of the target object. In addition, the target HMM model can reduce subjectivity and inconsistency between evaluators when processing sequence data and identifying potential states, especially when facing large-scale evaluation needs, and can improve the standardization and efficiency of evaluation. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flowchart of the steps of the method for evaluating the computational thinking level based on LSA and HMM models provided in an embodiment of the present application;

[0045] Figure 2It is a flowchart of a method for evaluating the computational thinking level based on LSA and HMM models provided in an embodiment of the present application;

[0046] Figure 3 is a conversion frequency relationship diagram of computational thinking behavior sequence data provided by an embodiment of the present application;

[0047] Figure 4 It is a conversion probability relationship diagram of computational thinking behavior sequence data provided by an embodiment of the present application;

[0048] Figure 5 Schematic diagram of the structure of the computational thinking level evaluation system based on LSA and HMM model provided in the embodiment of the present application;

[0049] Figure 6 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0051] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0052] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0054] Computational thinking is a foundational skill for solving problems, designing systems, and understanding human behavior, which combines mathematical, logical, and algorithmic thinking. Assessing an individual's computational thinking skills is becoming increasingly important in education, engineering, and scientific research. However, traditional assessment methods often rely on paper-and-pencil tests or direct demonstrations of skills, which may not fully reflect an individual's computational thinking abilities.

[0055] For example, computational thinking assessment methods in related technologies mainly include standardized tests, actual programming tasks, and interview assessments. These methods have their own advantages and disadvantages, as follows:

[0056] Standardized tests: focus on measuring theoretical knowledge but may overlook practical skills and creative thinking;

[0057] Practical programming tasks: can better assess actual programming ability, but the scoring criteria may be subjective, difficult to standardize, and lack comprehensiveness. Existing methods often only focus on one aspect of ability, such as theoretical knowledge or programming skills.

[0058] Interview evaluation: It can obtain in-depth personal understanding, but when faced with a large number of evaluation objects, the existing methods are time-consuming and costly, and the evaluation results may also be affected by the subjectivity of the evaluator and lack standardization.

[0059] In summary, the technical problems existing in the relevant technologies need to be improved.

[0060] In view of this, the embodiments of the present application provide a method and system for evaluating the level of computational thinking based on LSA and HMM models. The scheme obtains multimodal data of the target object; the multimodal data represents the behavioral data collected in the process of the target object completing the target task; the multimodal data is preprocessed to obtain target analysis data; the target analysis data is analyzed based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram; the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram is converted into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; based on the computational thinking behavior sequence conversion probability diagram and the computational thinking behavior sequence conversion probability table, a target HMM model is constructed; based on the target HMM model and the target standardized data, the computational thinking level evaluation result of the target object is obtained. The embodiment of the present application analyzes the target analysis data based on the LSA method, which can reveal the delay relationship between the different computational thinking dimensional capabilities of the target object in the process of completing the target task, and then convert the relationship between the variables of each dimension into probability. By using the target HMM model, the dynamic relationship between the computational thinking dimensional capabilities in the behavior sequence can be deeply analyzed and the future state can be predicted. The embodiment of the present application not only considers the time delay relationship between events, but also can infer the future state based on probability, and can more comprehensively evaluate the computational thinking ability of the target object. In addition, the target HMM model can reduce subjectivity and inconsistency between evaluators when processing sequence data and identifying potential states, especially when facing large-scale evaluation needs, and can improve the standardization and efficiency of evaluation.

[0061] The computational thinking level evaluation method based on LSA and HMM models provided in the embodiment of the present application relates to the field of computer technology. The computational thinking level evaluation method based on LSA and HMM models provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network content distribution network) and big data and artificial intelligence platforms and other basic cloud computing services. The cloud server, the server can also be a node server in the blockchain network; the software can be an application that implements the computational thinking level evaluation method based on LSA and HMM models, etc., but is not limited to the above forms.

[0062] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs (personal computers), minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0063] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0064] See also Figure 1 , Figure 1 is an optional step flow chart of the computational thinking level evaluation method based on LSA and HMM model provided in the embodiment of the present application, Figure 1 The method may include but is not limited to steps S101 to S106.

[0065] Step S101, obtaining multimodal data of a target object; the multimodal data represents behavioral data collected during the process of the target object completing a target task;

[0066] Among them, the target object is the person being evaluated. For example, assuming that it is applied in the field of education, the target object can be students, teachers, etc.; the target task is a specified problem to be processed. For example, assuming that it is applied in the field of education, the target task can be a theoretical knowledge test, etc.

[0067] Multimodal data refers to multimodal data used for computational thinking assessment and analysis, specifically the behavioral data of the person being assessed when solving specific computational problems. The behavioral data includes but is not limited to programming logs, keyboard keystroke sequences, mouse clicks, mouse movements, and optional audio data and video data. Multimodal data can be in audio, video, text, and other formats.

[0068] In the specific implementation, the behavioral data of the person being evaluated when solving a specific computing problem is collected, and the behavior type and timestamp sequence of the behavior data are recorded, where the timestamp sequence mainly refers to the time stamp when the behavior data is recorded. By comprehensively and accurately collecting multiple forms of expression (such as text, voice, video, etc.) of the target object in the process of completing a specific task, a rich and comprehensive information foundation can be provided for subsequent analysis.

[0069] Step S102, preprocessing the multimodal data to obtain target analysis data;

[0070] In some embodiments, step S102 may include: performing data cleaning processing on multimodal data to obtain target cleaned data; performing feature extraction on the target cleaned data to obtain target feature data; performing standardization processing on the target feature data to obtain target standardized data; performing formatting processing on the target standardized data to obtain target format data; performing mapping processing on the target format data to obtain target analysis data.

[0071] In some specific embodiments, mapping the target format data to obtain the target analysis data may include: performing behavior sequence coding mapping on the target format data to obtain the target analysis data.

[0072] Among them, behavioral data preprocessing can include data cleaning, feature extraction, data standardization and formatting, and behavioral sequence coding mapping to convert behavioral sequence data into a format that can be used for lagged sequence analysis, such as mapping behaviors into variables representing different computational thinking dimensions.

[0073] The target analysis data is data in a format required for subsequent lagged sequence analysis.

[0074] In the specific implementation, in order to improve the accuracy and consistency of data analysis, the collected multimodal data is comprehensively and automatically preprocessed. The specific steps of the data preprocessing module include: first, basic data cleaning processing is performed using data cleaning technology, including outlier processing, missing data filling and timestamp synchronization. Secondly, different processing methods are used for different types of data to extract features: frame extraction and resolution adjustment for video data; feature extraction for audio data; natural language processing technology is applied to text data to understand and preprocess text. Furthermore, the data is standardized and formatted, and the time series data is processed in a unified time format to ensure the consistency of timestamps. Finally, the user's behavior sequence data needs to be converted into the format required for lagged sequence analysis, such as mapping the user's behavior to variables representing different computational thinking dimensions. Specifically, the standardized data (including the extracted features and behavior sequences) can be converted into a format that can be understood by the lagged sequence analysis model, such as numerical or classification labels, through custom functions and the use of existing encoding libraries for subsequent analysis. This series of preprocessing measures can ensure the consistency of data quality and analysis, thereby improving the quality of data and the accuracy of analysis.

[0075] Specifically, when implementing data preprocessing, the specific process may include the following steps:

[0076] (1) Data cleaning and processing:

[0077] Basic processing: Data processing libraries such as Pandas can be used to denoise behavioral data, remove duplicate records, and process outliers.

[0078] Missing data processing: fill in or delete missing data to ensure data integrity.

[0079] Timestamp synchronization: Standardize timestamps of time series data to ensure the time consistency of data.

[0080] (2) Feature extraction:

[0081] Video data: Use OpenCV (Open Source Computer Vision Library) and other libraries to perform frame extraction and resolution adjustment.

[0082] Audio data: Use audio processing libraries such as LibROSA (Library for Recognition Of Sound And Audio with Python) to extract sound features such as MFCC (Mel-frequency cepstral coefficients).

[0083] Text data: Apply NLP (Natural Language Processing) technology (such as NLTK (Natural Language Toolkit), SpaCy (Natural Language Processing library)) to extract semantic features, such as stop word removal, stemming, TF-IDF (Term Frequency-Inverse Document Frequency), Word2Vec (Word to Vector model), etc.

[0084] (3) Standardization and formatting: First, use machine learning libraries such as Scikit-learn to standardize the data, such as MinMaxScaler (minimum-maximum scaler) or StandardScaler (standard scaler). Then, unify the data format, such as unifying the date and time format.

[0085] (4) Behavior sequence encoding mapping: According to the requirements of lag sequence analysis, the preprocessed data is mapped to a format that can be understood by a specific model, such as numerical or categorical labels. Use custom functions or existing encoding libraries to encode features and behavior sequences to adapt to the lag sequence analysis model.

[0086] In the embodiment of the present application, by preprocessing the multimodal data to obtain target analysis data, the data quality and analysis consistency can be ensured, and the data quality and analysis accuracy can be improved.

[0087] Step S103, analyzing the target analysis data based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram;

[0088] In some embodiments, step S103 may include: analyzing the target analysis data based on the LSA method to obtain a behavior conversion frequency relationship table and a behavior residual table; screening the behavior residual table to obtain a target behavior sequence; and generating a computational thinking behavior sequence conversion frequency relationship diagram based on the target behavior sequence.

[0089] Among them, Lag Sequential Analysis (LSA) is a method to study the sequential relationship between behaviors based on statistical theory. It is mainly used to test the probability of another behavior occurring after one behavior occurs and whether it is statistically significant. It can help people explore and summarize the cross-dependencies that occur in complex interactive behavior sequence data, and organize repeated behaviors in behavior sequence data into a relationship chain. Software tools such as GSEQ (Generalized Sequential Analysis), Enterprise Miner, and IntelligentMiner can be used for lag sequence analysis.

[0090] In the embodiments of the present application, statistical packages of Python (high-level programming language) and R (R Language) can be selected to perform lagged sequence analysis, specifically: advanced statistical packages and machine learning libraries in Python and R (such as Statsmodels, SciPy, Pandas, Tidyverse, etc.) are used to perform lagged sequence analysis.

[0091] In addition, in the embodiment of the present application, the automatic calculation of the lag period can be realized by programming, and the dynamic lag sequence model can be constructed, which further enhances the adaptability and accuracy of the analysis module. In the lag sequence analysis, the lag period is used to measure the time interval that the previous event in the event sequence may affect the next event. The lag sequence model is established under the framework of time series analysis, and is mainly used to study and analyze the dynamic relationship between data points that changes over time. This model relies on the statistical analysis of historical data points (i.e., lag variables) to identify and predict future behaviors or trends. Specifically:

[0092] (1) Automatic calculation of lag number: The optimal lag number between events is automatically calculated through the AIC (Akaike information criterion) / BIC (Bayesian Information Criterion) model algorithm without relying on fixed preset parameters. By automatically calculating the lag number, the lag series model is allowed to dynamically adapt to the characteristics of the data, improving the accuracy and adaptability of the analysis. The lag number (Lag) is mainly used in time series analysis and refers to the number of time intervals considered in the analysis process. The lag number represents the time difference between a data point in a time series and its own past data points when performing correlation analysis, regression analysis, or causal analysis. In practical applications, the lag number is used to determine the time offset that needs to be considered when performing correlation tests, causal analysis, or building a prediction model. The lag number is a key parameter of the lag series analysis method, which affects the accuracy and relevance of the analysis. The relationship between the lag number and the lag series analysis method is as follows:

[0093] 1) Foundations and Applications: The lag period provides the basis for the lagged series analysis method, which defines the time offset that needs to be considered in the analysis process. The lagged series analysis method uses the lag period as a parameter to explore the time dependence and causal relationship of the data.

[0094] 2) Parameter setting: When conducting lagged series analysis, researchers must decide how many lags are appropriate. This is usually done by examining the autocorrelation function (ACF) and partial autocorrelation function (PACF) of the data, or by choosing based on theory and experience.

[0095] 3) Purpose of analysis: Using an appropriate number of lag periods can enhance the accuracy and explanatory power of lagged series analysis.

[0096] 4) Method optimization: Choosing the right number of lags is crucial for effective lagged series analysis. Too many lags may lead to overfitting of the model, while too few lags may miss important information.

[0097] (2) Dynamic lag sequence model construction: By compiling the AIC / BIC model algorithm code through Python, a dynamic lag sequence model is constructed. Model parameters such as the lagged time window and dependent variable can be customized, so that the time intervals and causal relationships between different computational thinking dimensions can be explored more accurately. The dynamic lag model allows the model to automatically adjust its parameters, such as the number of lags, according to the actual characteristics and changes of the data. This is more adaptable to changes in data in different time periods than a static model (fixed number of lags), thereby improving the accuracy of predictions. When analyzing behavioral data, such as computational thinking activities, different tasks or activities may exhibit different time dependencies, and dynamic models can more accurately capture these dependencies and reveal how computational thinking abilities develop over time or change under specific conditions.

[0098] In the specific implementation, the statistical packages of Python and R languages ​​are used to perform lagged sequence analysis on the prepared behavioral sequence data, and the behavior conversion frequency relationship table and the adjusted residual table can be obtained.

[0099] Among them, the behavior conversion frequency relationship table is used to show the conversion frequency between different behaviors, that is, how often one behavior is transformed into another behavior. The behavior conversion frequency relationship diagram is usually presented in the form of a matrix or table, in which the columns represent the starting behavior and the rows represent the behaviors that may occur subsequently. The values ​​in the diagram represent the frequency of conversion.

[0100] If Z-sore>1.96 in the adjusted residual table, it means that the behavior path is significant. Z-score is a statistical indicator used to measure the degree of deviation of a single data point from the mean, calculated as the number of standard deviations between the value and the mean. In statistics, a Z-score value exceeding 1.96 usually means that under the assumption of normal distribution, the degree of deviation of the observed value is statistically significant, that is, in the standard normal distribution, values ​​greater than 1.96 or less than -1.96 occupy both ends of the population, covering approximately 95% of the data area in the middle, corresponding to the significance standard of p (probability) value less than 0.05 in the two-tailed test. Therefore, when the Z-score of a behavior sequence exceeds 1.96, it indicates that the behavior sequence has a significant correlation with a specific behavior transition.

[0101] Lagged sequence analysis can help describe the dynamic relationship between computational thinking abilities and reveal how computational thinking abilities influence each other. By generating a behavior conversion frequency relationship table and an adjusted residual table, statistically significant behavior paths can be identified. In addition, significant behavior sequences can be screened in the adjusted residual table, and a behavior conversion probability relationship diagram can be drawn to identify and verify statistically significant behavior patterns.

[0102] In the embodiment of the present application, the advanced statistics and machine learning libraries of Python and R are used for lagged sequence analysis, which can provide more customization options and scalability, and can be adapted to more complex or large-scale data set analysis. In addition, the algorithm is used to automatically determine the optimal number of lags, avoid the limitations of fixed parameters, and improve the model adaptability and analysis accuracy. In addition, the construction of a dynamic lagged sequence analysis model is realized, and the model parameters are automatically adjusted according to the data characteristics, which can more accurately capture time dependencies and reveal the development of computational thinking ability.

[0103] Step S104, converting the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table;

[0104] Among them, the computational thinking behavior sequence conversion probability diagram and computational thinking behavior sequence conversion probability table are both used to describe the conversion relationship and probability between different computational thinking abilities, but the expression forms are different. The simultaneous presentation of tabular data and diagrams is more conducive to understanding and analysis. These conversion relationships and probabilities are of great significance for building hidden Markov models (HMM for short), but they are not the only use. Specific functions include:

[0105] (1) Describing the behavior conversion relationship: The computational thinking behavior sequence conversion probability diagram and computational thinking behavior sequence conversion probability table show the conversion relationship between different computational thinking behavior capabilities, that is, the probability of one behavior capability being transferred to another behavior capability. This helps to understand the dynamic relationship between different behavior capabilities.

[0106] (2) Determine HMM parameters: In HMM, the transition probability matrix is ​​an important parameter of the model, which is used to describe the probability of the system transitioning from one state to another. The probabilities in the transition probability graph and the transition probability table of the computational thinking behavior sequence can be used to construct the transition probability matrix of the HMM model.

[0107] (3) Model training and prediction: Based on the computational thinking behavior sequence transition probability graph and computational thinking behavior sequence transition probability table, the HMM model can be trained to learn the transition rules between behavioral capabilities, and then the model can be used for state prediction and behavior analysis.

[0108] In a specific implementation, the probability conversion process can be: take any behavior sequence data in the encoded computational thinking behavior sequence data conversion relationship diagram, such as CT1, add up all the frequencies of the outgoing relationship contained in CT1, and perform a percentage / sum of all frequencies division operation on a single outgoing relationship to obtain the conversion probability of any outgoing-ingoing relationship of the behavior sequence data. Among them, for each behavior sequence data, the sum of the probability of ingoing or outgoing is 1, which meets the premise that the sum of each row vector of the state transfer matrix in the hidden Markov chain is 1.

[0109] Specifically, the probability conversion module converts the behavior conversion frequencies contained in the behavior relationship conversion diagram drawn after screening (significant significance) into a percentage-based computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table. Specifically, for each starting behavior, the total frequency of its conversion to all other behaviors is counted, and for each behavior conversion in the diagram, its percentage of the total number of conversions of the starting behavior is calculated, and then the calculated percentage is used to draw the behavior conversion probability relationship diagram. The sum of the percentages of all starting lines of each node (behavior) in the conversion probability relationship diagram is 100%. The formula for probability conversion can be expressed as:

[0110]

[0111] In an embodiment of the present application, based on the results of the lagged sequence analysis, the transition probabilities between the capabilities of each computational thinking dimension are calculated so that the transition probabilities can be estimated based on the frequency of event occurrence or conditional probability. This transformation can more intuitively compare the conversion frequencies of different behaviors, facilitating analysis and understanding.

[0112] Step S105, constructing a target HMM model based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table;

[0113] In some embodiments, step S105 may include: mapping the computational thinking behavior sequence in the target analysis data to the hidden state of the original HMM model; configuring each behavior conversion probability in the computational thinking behavior sequence conversion probability diagram and the computational thinking behavior sequence conversion probability table as an element of the state transition probability matrix of the original HMM model; constructing a target HMM model based on the hidden state and state transition probability matrix, and optimizing the target HMM model using a preset optimization algorithm; the preset optimization algorithm includes at least one of the following: maximum likelihood estimation algorithm, expectation maximization algorithm.

[0114] Among them, the computational thinking behavior sequence in the target analysis data is the computational thinking behavior sequence obtained by performing behavior sequence encoding mapping during data preprocessing.

[0115] Among them, the hidden Markov model (HMM) is a statistical model used to describe a Markov process with an implicit / hidden unknown quantity (a Markov process is a type of random process whose original model is a Markov chain). In the hidden Markov model (HMM), there are two sequences, one is the hidden state sequence and the other is the observation sequence. The core of the HMM is that its states (hidden variables) are invisible to the observer, but these states can be inferred through the observation sequence (explicit variables). The hidden state sequence follows the rules of the Markov chain, that is, the current state depends only on the previous state and has nothing to do with the subsequent state. From a mathematical point of view, the probability that the state changes to x in the n+1th step depends only on the state of the nth step, and does not depend on all the step sequences before the nth step.

[0116] For the HMM algorithm, the specific description is as follows:

[0117] λ=(A,B,π) is called the three elements of the hidden Markov model, the initial state probability vector π, the state transition probability matrix A and the observation probability matrix B. These three elements together define the complete structure of a hidden Markov model, enabling it to infer the change process of the hidden state based on the observed data. Assuming Q is the set of all hidden states and V is the set of all observables, it can be expressed as:

[0118] Q={q1,q2,...,q N},V={v1,v2,...,v M}

[0119] Among them, N represents the number of possible states, M represents the number of possible observations, I represents the state sequence of length T, and O is the corresponding observation sequence, which can be expressed as:

[0120] I={i1,i2,...,i T}, O = {o1, o2, ..., o T}

[0121] Among them, A is represented as the state transition probability matrix: an N×N matrix that describes the probability of transitioning from one state to another. This matrix indicates the probability of transitioning between each state, usually expressed as:

[0122] A=[a ij ] N×N

[0123] Among them, a ij =P(i t+1 =q j |i t =q i ), i=1,2,...,,N; j=1,2,...,N; a ijIt is expressed as being at q at time t i State, transferred to q at time t+1 j The probability of the state.

[0124] B is represented as the observation probability matrix: an N×M matrix, also called the emission probability, which refers to the probability of generating a certain observation given a certain hidden state. It defines the probability distribution of the generated observation value corresponding to each state, usually expressed as:

[0125] B=[b j (k)] N×M

[0126] Among them, b j (k) = P(O t =V k |I t =q i ), k=1,2,...,,M; j=1,2,...,N; (b j (k) represents the state of q at time t i State generation observation V k The probability of; P() represents the probability.

[0127] π is represented as the initial state probability vector, which indicates the initial probability of each state at the beginning of the model, and can be represented by the following vector:

[0128] π=(π i )

[0129] Among them, π i =P(i1=q i ),i=1,2,...,N;π i It is expressed as the probability that the model is in state i at the beginning.

[0130] The hidden Markov model is determined by the initial state vector π, the state transfer matrix A and the observation probability matrix B. π and A determine the state sequence, and B determines the observation sequence. Therefore, the hidden Markov model can be represented by a ternary symbol, namely:

[0131] λ=(A,B,π)

[0132] Among them, the hidden Markov model can be used to solve three basic problems: evaluating the probability of observation sequence, learning (parameter estimation), decoding (sequence possibility problem), specifically:

[0133] Evaluate the probability of an observation sequence: Given a model λ = (A, B, π) and an observation sequence O = {o1, o2, ..., o T}, we can use brute force algorithms (such as exhaustive method), forward algorithms, and backward algorithms to calculate the probability P(O|λ) of the observation sequence O appearing under model λ;

[0134] Learning (parameter estimation): Given an observation sequence O = {o1, o2, ..., o T}, supervised learning (maximum likelihood direct estimation) or unsupervised learning (Baum-Welch algorithm iterative estimation) can be used to estimate the parameters of the model λ = (A, B, π) so that the conditional probability P(O|λ) of the observation sequence under the model λ is maximized;

[0135] Decoding (sequence likelihood problem): Given a model λ = (A, B, π) and an observation sequence O = {o1, o2, ..., o T}, the most likely state sequence can be found through the greedy approximation algorithm and the Viterbi algorithm.

[0136] In the embodiment of the present application, in the analysis of computational thinking behavior sequence data, the hidden state sequence and the observation sequence can be understood as the state and behavior of computational thinking, respectively. Specifically:

[0137] States: Represents all possible hidden states in the model. In applications, these hidden states usually represent various conditions or internal configurations that the system may be in, although these states themselves are invisible to the observer. In computational thinking analysis, hidden states can represent different levels or dimensions of computational thinking ability, such as problem decomposition, pattern recognition, information abstraction, algorithm design, evaluation, etc. The transition of hidden state sequences describes the changes and evolution of computational thinking ability between different states.

[0138] Observations: Each hidden state can generate observations, which can be directly measured and observed. The observation set contains all possible observations. Observations refer to behavioral sequence data that can be directly observed in computational thinking analysis, such as students' specific behavioral performance when solving problems, including selection strategies, problem-solving steps, etc. Observations provide indirect observations of hidden states and help infer hidden state sequences.

[0139] The preset optimization algorithm may include but is not limited to: maximum likelihood estimation algorithm and expectation maximization algorithm.

[0140] In the specific implementation, the HMM model predicts the potential state sequence based on the known observation sequence through a series of mathematical processes and algorithms, which is suitable for the evaluation of computational thinking (CT) ability and the prediction of development trends. The HMM modeling and training module includes the following steps:

[0141] (1) Model initialization: Set the initial parameters of the hidden Markov model, including the state transition probability matrix A, the observation probability matrix B, and the initial state probability vector π, that is:

[0142] State set, taking each mapped computational thinking behavior sequence data as the hidden state of the Hidden Markov Model (HMM);

[0143] The state transition probability matrix A takes the percentage-based computational thinking behavior conversion probability as the element of the state transition probability matrix A, and its element a ij represents the probability of transitioning from state i to state j. The state transition probability moment A will converge to a stable distribution after high-order power operation, satisfying lim n→∞ A n , providing a qualitative description of the long-term behavior of the Cainite Markov chain.

[0144] The observation probability matrix B takes the user behavior sequence data that can be directly observed in computational thinking analysis as the observation sequence, and its element b j (k) represents the probability of generating observation k in state j.

[0145] The initial state probability vector π describes the probability of each state at the beginning of the sequence.

[0146] (2) Parameter estimation: Use the maximum likelihood estimation algorithm, Baum-Welch algorithm or other corresponding statistical methods to refine and optimize the parameters of the hidden Markov model so as to more accurately reflect the potential state transition characteristics of the actual observed data.

[0147] In an embodiment of the present application, the computational thinking behavior sequence data is directly mapped to the hidden state, so that the state and the actual behavior (observation result) are closely related, and the interpretability of the model is improved. At the same time, by introducing the transition probability in the form of a percentage, the state transition probability matrix can automatically converge to a stable distribution through high-order power operations, so that the model can adaptively reflect long-term behavioral trends. In addition, the use of optimization algorithms such as the maximum likelihood estimation algorithm provides targeted optimization for parameter estimation, ensuring that the model parameters can accurately reflect the dynamic characteristics of computational thinking behavior. That is, the hidden Markov model can be used to analyze the process of problem solving, identify potential thinking patterns and strategies, thereby providing an in-depth understanding of individual computational thinking ability and more accurately assessing its computational thinking ability.

[0148] Step S106, obtaining a computational thinking level assessment result of the target object based on the target HMM model and target standardized data.

[0149] In some embodiments, step S106 may include: decoding the observation sequence to be predicted to determine the target hidden state sequence of the observation sequence to be predicted; calculating the conditional probability of each hidden state in the target hidden state sequence; and outputting the computational thinking level assessment result of the target object based on the target hidden state sequence and the conditional probability of each hidden state in the target hidden state sequence based on the target HMM model.

[0150] Among them, the target standardized data refers to the data obtained after the standardized processing in the data preprocessing stage. When using the trained HMM model to predict the future computational thinking state and probability of students, the role of standardized data is to ensure that the data input into the model has a consistent scale and distribution. Standardized data can help eliminate the dimensional effects between different features, so that the model can more accurately understand and learn the characteristics of the data for subsequent analysis. This helps to improve the stability and prediction accuracy of the model and ensure that the model can effectively evaluate the computational thinking level of students.

[0151] The observation sequence to be predicted refers to the observation sequence that needs to be predicted using the trained HMM model. It can be new data or data that was previously used to train the model but needs to be decoded and analyzed during prediction. Therefore, it can be understood as the "observation sequence to be predicted."

[0152] Among them, the computational thinking level evaluation results include the target computational thinking state sequence and the conditional probability corresponding to the target computational thinking state sequence

[0153] In the specific implementation, the standardized data and the trained HMM model are used to help predict the CT state and its probability of occurrence in a certain link in the future. The following steps are included:

[0154] (1) Sequence prediction: Given an observation sequence, the Viterbi algorithm is used to decode the hidden state sequence. This algorithm can effectively find the most likely hidden state path through dynamic programming, that is, the state sequence that maximizes the probability of the observation sequence.

[0155] (2) Probability calculation: For each time point in the sequence, the conditional probability of each hidden state given the observed result value is calculated. The forward algorithm is used to calculate the probability of the sequence to a certain point, and the backward algorithm is used to calculate the probability of observing the sequence after a certain point.

[0156] (3) Prediction output: Based on the above calculations, the most likely state sequence and the probability of each state are output. These computational thinking state sequences and their probabilities can be used to generate an evaluation report on computational thinking ability and assist in determining the future development direction of students’ CT abilities.

[0157] In other embodiments, after step S106, the method may further include: visualizing the target computational thinking state sequence and the conditional probability corresponding to the target computational thinking state sequence to generate a visualized computational thinking level assessment report.

[0158] In the specific implementation, the predicted computational thinking state sequence and probability are used to generate a visualized computational thinking dimension capability assessment report to help interpret the user's computational thinking dimension level and development trend, which is conducive to proposing interventions in the later stage and taking measures to promote the cultivation and improvement of the user's computational thinking level.

[0159] In order to explain the principle of the technical solution of the present invention in detail, the overall process of the present invention is described below in combination with some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and cannot be regarded as a limitation of the present invention.

[0160] In the embodiment of the present application, a method for evaluating the computational thinking level based on LSA and HMM models is provided, that is, a method for analyzing the computational thinking level data combining lag sequence analysis (LSA) and hidden Markov model (HMM), which is used to explore and evaluate the dynamic relationship between the computational thinking abilities of users and perform state prediction. Exemplarily, the method can quantify and evaluate computational thinking ability by analyzing the behavioral sequence of individuals in the process of solving problems and using the HMM model to identify key patterns and state transitions in computational thinking.

[0161] In an embodiment of the present application, the technical architecture may include seven modules, namely: data collection module, data preprocessing module, lag sequence analysis module, probability conversion module, HMM modeling and training module, evaluation execution module and result output module. Among them, the data collection module is responsible for collecting user behavior sequence data, the data preprocessing module is responsible for converting user behavior sequence data into lag sequence analysis format, the lag sequence analysis module is responsible for evaluating the behavior sequence of computational thinking ability, the probability conversion module is responsible for calculating the transition probability, the hidden Markov model (HMM) modeling module is responsible for establishing a state transition model, the evaluation execution module is responsible for using the model for state prediction, and the result output module is responsible for outputting the evaluation results of computational thinking ability. The specific implementation process of each module is as follows:

[0162] 1. Data collection module: collects behavioral data of the person being evaluated when solving specific computing problems, and records the behavior type and timestamp sequence of the behavioral data. Behavioral data includes but is not limited to programming logs, keyboard keystroke sequences, mouse clicks, mouse movements, and optional audio data and video data; timestamp sequence mainly refers to the time stamp and sequence when the behavioral data is recorded.

[0163] 2. Data preprocessing module: Process the behavior data collected by the data collection module, such as data cleaning, feature extraction, standardization and formatting, and perform behavior sequence coding mapping to convert the behavior sequence data into a format that can be used for lag sequence analysis, such as mapping the behavior into variables representing different computational thinking dimensions. When implementing data preprocessing, the specific process can include the following steps:

[0164] (1) Data cleaning and processing:

[0165] Basic processing: Data processing libraries such as Pandas can be used to denoise behavioral data, remove duplicate records, and process outliers.

[0166] Missing data processing: fill in or delete missing data to ensure data integrity.

[0167] Timestamp synchronization: Standardize timestamps of time series data to ensure the time consistency of data.

[0168] (2) Feature extraction:

[0169] Video data: Use OpenCV and other libraries to extract frames and adjust resolution.

[0170] Audio data: Use audio processing libraries such as LibROSA to extract sound features such as MFCC.

[0171] Text data: Apply NLP techniques (such as NLTK, SpaCy) to extract semantic features, such as stop word removal, stemming, TF-IDF, Word2Vec, etc.

[0172] (3) Standardization and formatting: First, use machine learning libraries such as Scikit-learn to standardize the data, such as MinMaxScaler or StandardScaler. Then, unify the data format, such as standardizing the date and time format.

[0173] (4) Behavior sequence encoding mapping: According to the requirements of lag sequence analysis, the preprocessed data is mapped to a format that can be understood by a specific model, such as numerical or categorical labels. Use custom functions or existing encoding libraries to encode features and behavior sequences to adapt to the lag sequence analysis model.

[0174] 3. Lag sequence analysis module:

[0175] (1) Select statistical packages in Python and R to conduct lagged series analysis. Specifically, use advanced statistical packages and machine learning libraries in Python and R (such as Statsmodels, SciPy, Pandas, Tidyverse, etc.) to conduct lagged series analysis. These tools provide a wide range of data processing functions, powerful statistical analysis and graphical representation capabilities, making the analysis more flexible and in-depth.

[0176] (2) In addition, in the embodiments of the present application, the automatic calculation of the lag period can be realized by programming, and the dynamic lag sequence model can be constructed, which further enhances the adaptability and accuracy of the analysis module. In the lag sequence analysis, the lag period is used to measure the time interval that the previous event in the event sequence may affect the next event. The lag sequence model is established under the framework of time series analysis, and is mainly used to study and analyze the dynamic relationship between data points that changes over time. This model relies on the statistical analysis of historical data points (i.e., lag variables) to identify and predict future behaviors or trends. Specifically:

[0177] Automatic calculation of lag period: The optimal number of lag periods between events is automatically calculated through the AIC / BIC model algorithm, without relying on fixed preset parameters. By automatically calculating the number of lag periods, the lag series model is allowed to dynamically adapt to the characteristics of the data, improving the accuracy and adaptability of the analysis.

[0178] Dynamic lag sequence model construction: By compiling the AIC / BIC model algorithm code through Python and building a dynamic lag sequence model, you can customize the model parameters, such as the lagged time window and dependent variable, so that you can more accurately explore the time intervals and causal relationships between different computational thinking dimension capabilities. The dynamic lag model allows the model to automatically adjust its parameters, such as the number of lags, according to the actual characteristics and changes of the data. This is more adaptable to changes in data in different time periods than a static model (fixed number of lags), thereby improving the accuracy of predictions. When analyzing behavioral data, such as computational thinking activities, different tasks or activities may exhibit different time dependencies, and dynamic models can more accurately capture these dependencies, revealing how computational thinking abilities develop over time or change under specific conditions.

[0179] 4. Probability conversion module: Based on the results of lagged sequence analysis, the transition probability between the capabilities of each computational thinking dimension is calculated, so that the transition probability can be estimated based on the frequency or conditional probability of event occurrence.

[0180] 5. HMM modeling and training module:

[0181] Model initialization: Set the computational thinking behavior sequence data as the hidden state of the HMM (Hidden Markov Model), and use the transition probability obtained by the above probability conversion module as the state transition probability matrix A of the hidden Markov model. Take the behavior sequence data that can be obtained by direct observation as the observation result B, set the initial state probability vector π, and establish a model to describe the state transition process between computational thinking dimension capabilities.

[0182] Parameter estimation: Use the maximum likelihood estimation algorithm or the expectation maximization algorithm (such as the Baum-Welch algorithm) to refine the parameters A, B, and π of the hidden Markov model. Based on the observed data, iterative optimization is performed to improve the accuracy of the model in predicting the potential state sequence.

[0183] 6. Assessment execution module: Use the trained hidden Markov model (HMM) and standardized data to predict students' future computational thinking (CT) status and its probability of occurrence:

[0184] Sequence prediction: Apply the Viterbi algorithm to decode a given observation sequence and determine the most likely hidden state sequence.

[0185] Probability calculation: Use the forward algorithm and the backward algorithm to calculate the conditional probability of the hidden state at each time point.

[0186] Prediction output: Provides predicted state sequences and probability distributions to support CT capability assessment and future development path planning.

[0187] 7. Result output module: Based on the predicted sequence and probability of computational thinking states, it provides a visual analysis of the evaluation and development of the user's CT ability, providing a basis for formulating teaching strategies and promoting ability improvement.

[0188] In a specific implementation, the specific process of the computational thinking level evaluation method based on LSA and HMM models in the embodiment of the present application is as follows:

[0189] See also Figure 2 , Figure 2 is a flow chart of a method for evaluating the computational thinking level based on LSA and HMM models provided in an embodiment of the present application; Figure 2 As shown, specifically:

[0190] Step 1: Collect multimodal data for computational thinking assessment and analysis through the data acquisition module. Multimodal data can be in the format of audio, video, text, etc.

[0191] Step 2: In order to improve the accuracy and consistency of data analysis, the collected multimodal data is fully and automatically preprocessed. The specific steps of the data preprocessing module include:

[0192] First, data cleaning techniques are used, such as using the Pandas library to perform basic data cleaning processing, including outlier processing, missing data filling, and timestamp synchronization.

[0193] Secondly, different processing methods are used for different types of data for feature extraction: frame extraction and resolution adjustment for video data; feature extraction for audio data (such as using the LibROSA library to extract MFCC features); natural language processing techniques are applied to text data (such as using NLTK and SpaCy for stop word removal and stemming) to understand and preprocess the text.

[0194] Furthermore, standardize and format the data, such as using Scikit-learn's MinMaxScaler or StandardScaler to standardize the data, and process the time series data in a unified time format to ensure the consistency of timestamps.

[0195] Finally, it is also necessary to convert the user's behavior sequence data into the format required for lag sequence analysis, such as mapping the user's behavior into variables representing different computational thinking dimensions. Specifically, the standardized data (including extracted features and behavior sequences) can be converted into a format that the lag sequence analysis model can understand, such as numerical or categorical labels, through custom functions and using existing encoding libraries for subsequent analysis.

[0196] This series of preprocessing measures can ensure the consistency of data quality and analysis, thereby improving the quality of data and the accuracy of analysis.

[0197] Step 3: Use Python and R statistical packages to perform lagged sequence analysis on the prepared behavioral sequence data to obtain a behavior conversion frequency relationship table and an adjusted residual table.

[0198] Among them, the behavior conversion frequency relationship table is used to show the conversion frequency between different behaviors, that is, how often one behavior is transformed into another behavior. The behavior conversion frequency relationship diagram is usually presented in the form of a matrix or table, in which the columns represent the starting behavior and the rows represent the behaviors that may occur subsequently. The values ​​in the diagram represent the frequency of conversion.

[0199] If Z-sore>1.96 in the adjusted residual table, it means that the behavior path is significant. Z-score is a statistical indicator used to measure the degree of deviation of a single data point from the mean, calculated as the number of standard deviations between the value and the mean. In statistics, a Z-score value exceeding 1.96 usually means that under the assumption of normal distribution, the degree of deviation of the observed value is statistically significant, that is, in the standard normal distribution, values ​​greater than 1.96 or less than -1.96 occupy both ends of the population, covering approximately 95% of the data area in the middle, corresponding to the significance standard of p (probability) value less than 0.05 in the two-tailed test. Therefore, when the Z-score of a behavior sequence exceeds 1.96, it indicates that the behavior sequence has a significant correlation with a specific behavior transition.

[0200] Lagged sequence analysis can help describe the dynamic relationship between computational thinking abilities and reveal how computational thinking abilities influence each other. By generating a behavior conversion frequency relationship table and an adjusted residual table, statistically significant behavior paths can be identified. In addition, the behavior sequence with significant significance can be screened in the adjusted residual table, and a behavior conversion frequency relationship diagram can be drawn to identify and verify statistically significant behavior patterns. Figure 3 , Figure 3 It is a conversion frequency relationship diagram of computational thinking behavior sequence data (behavior conversion frequency relationship diagram) provided in an embodiment of the present application.

[0201] Step 4: Use the probability conversion module to convert the behavior conversion frequencies contained in the behavior relationship conversion diagram drawn in step 3 after screening (with significant significance) into a percentage-based computational thinking behavior sequence conversion probability diagram (see Figure 4 , Figure 4 The present invention provides a conversion probability relationship diagram of computational thinking behavior sequence data and a conversion probability table of computational thinking behavior sequence. Specifically, for each starting behavior, the total frequency of its conversion to all other behaviors is counted. For each behavior conversion in the diagram, its percentage of the total number of conversions of the starting behavior is calculated, and then the calculated percentage is used to draw a behavior conversion probability relationship diagram. Figure 4 The sum of the percentages of all departure lines for each node (behavior) is 100%.

[0202] Step 5. The present application embodiment provides a hidden Markov model (HMM), which predicts potential state sequences based on known observation sequences through a series of mathematical processes and algorithms, and is suitable for the evaluation of computational thinking (CT) capabilities and the prediction of development trends. The HMM modeling and training module includes the following steps:

[0203] (1) Model initialization: Set the initial parameters of the hidden Markov model, including the state transition probability matrix A, the observation probability matrix B, and the initial state probability vector π, that is:

[0204] State set, taking each mapped computational thinking behavior sequence data as the hidden state of the Hidden Markov Model (HMM);

[0205] The state transition probability matrix A takes the percentage-based computational thinking behavior conversion probability as the element of the state transition probability matrix A, and its element a ij represents the probability of transitioning from state i to state j. The state transition probability moment A will converge to a stable distribution after high-order power operation, satisfying lim n→∞ A n , providing a qualitative description of the long-term behavior of the Cainite Markov chain.

[0206] The observation probability matrix B takes the user behavior sequence data that can be directly observed in computational thinking analysis as the observation sequence, and its element b j (k) represents the probability of generating observation k in state j.

[0207] The initial state probability vector π describes the probability of each state at the beginning of the sequence.

[0208] (2) Parameter estimation: Use the maximum likelihood estimation algorithm, Baum-Welch algorithm or other corresponding statistical methods to refine and optimize the parameters of the hidden Markov model so as to more accurately reflect the potential state transition characteristics of the actual observed data.

[0209] Step 6: The evaluation execution module can be used to use the standardized data and the trained HMM model to help predict the CT state and its probability of occurrence in a certain link in the future. It includes the following steps:

[0210] (1) Sequence prediction: Given an observation sequence, the Viterbi algorithm is used to decode the hidden state sequence. This algorithm can effectively find the most likely hidden state path through dynamic programming, that is, the state sequence that maximizes the probability of the observation sequence.

[0211] (2) Probability calculation: For each time point in the sequence, the conditional probability of each hidden state given the observed result value is calculated. The forward algorithm is used to calculate the probability of the sequence to a certain point, and the backward algorithm is used to calculate the probability of observing the sequence after a certain point.

[0212] (3) Prediction output: Based on the above calculations, the most likely state sequence and the probability of each state are output. These computational thinking state sequences and their probabilities can be used to generate an evaluation report on computational thinking ability and assist in determining the future development direction of students’ CT abilities.

[0213] Step 7. The result evaluation module generates a visual CT dimension capability evaluation report based on the predicted CT status and probability, which helps interpret the user's computational thinking dimension level and development trend, facilitates later intervention, and takes measures to promote the cultivation and improvement of the user's computational thinking level.

[0214] It should be pointed out that this embodiment only briefly illustrates the general process of the computational thinking level assessment method based on LSA and HMM models. The detailed description of each step can refer to the relevant content in the aforementioned embodiment and will not be repeated here. It can be understood that the present invention is not limited to this.

[0215] The embodiment of the present application obtains multimodal data of the target object; the multimodal data characterizes the behavior data collected in the process of the target object completing the target task; pre-processes the multimodal data to obtain target analysis data; analyzes the target analysis data based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram; converts the frequency of each behavior conversion in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; constructs a target HMM model based on the computational thinking behavior sequence conversion probability diagram and the computational thinking behavior sequence conversion probability table; obtains the computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data. The embodiment of the present application analyzes the target analysis data based on the LSA method, which can reveal the delay relationship between different computational thinking dimension capabilities of the target object in the process of completing the target task, and then converts the relationship between the variables of each dimension into probability. By using the target HMM model, the dynamic relationship between the computational thinking dimension capabilities in the behavior sequence can be deeply analyzed and the future state can be predicted. The embodiment of the present application not only considers the time delay relationship between events, but also can infer the future state based on probability, and can more comprehensively evaluate the computational thinking ability of the target object. In addition, the target HMM model can reduce subjectivity and inconsistency between evaluators when processing sequence data and identifying latent states, and can improve the standardization and efficiency of evaluation, especially when facing large-scale evaluation needs.

[0216] Compared with the related art, the embodiments of the present application can be divided into functional innovation and technical solution innovation.

[0217] 1. Functional innovations:

[0218] Dynamic and objective computational thinking assessment: Traditional analysis methods focus on revealing the correlation between computational thinking abilities, but it is difficult to deeply analyze the dynamic relationship between behaviors and predict future behavioral patterns.

[0219] This embodiment of the present application combines lagged sequence analysis (LSA) with hidden Markov model (HMM) to deeply analyze and predict the dynamic relationship of computational thinking ability. Compared with other analysis methods (such as reasoning maps, which focus more on providing a clear view of causal relationships), it provides a framework for prediction and interpretation through probability distribution, which is more suitable for application scenarios that require continuous tracking and prediction of state transitions. Using the model in the embodiment of the present application, it is possible to discover the transition of the user's behavioral state when solving problems, capture the dynamic relationship between behaviors, identify the potential relationship between different computational thinking abilities, and objectively predict future states based on probability models, especially for large-scale and dynamic computational thinking assessments.

[0220] 2. Innovations in technical solutions:

[0221] (1) Innovation of data preprocessing module:

[0222] Automated data cleaning and conversion, pre-processing of collected multimodal data, such as frame extraction and resolution adjustment of video data, sound feature extraction (such as MFCC) of audio data, use of natural language processing (NLP) technology to understand and pre-process text data in programming tasks, outlier processing, missing data filling, and timestamp synchronization, etc., to ensure data quality and analysis consistency, and improve data quality and analysis accuracy.

[0223] (2) Improvements to the lag sequence analysis module:

[0224] Advanced statistical and machine learning libraries in Python and R (such as Statsmodels, SciPy, Pandas, Tidyverse, etc.) are used for lagged sequence analysis. This method provides more customization options and scalability than using traditional statistical software such as SPSS (Statistical Package for the Social Sciences) or GSEQ (GeneSet Enrichment Analysis Tool), and can be adapted to more complex or large-scale data set analysis.

[0225] Automatic lag calculation: Use algorithms to automatically determine the optimal lag number, avoid the limitations of fixed parameters, and improve model adaptability and analysis accuracy.

[0226] Dynamic lagged sequence analysis model construction: It realizes the construction of dynamic lagged sequence analysis models, automatically adjusts model parameters such as lagged time windows and dependent variables according to data characteristics, and more accurately captures time dependencies and reveals the development of computational thinking ability.

[0227] (3) Innovation of Hidden Markov Model (HMM) training and prediction module:

[0228] Parameterized state mapping: In traditional applications, the hidden state of HMM is usually predefined. However, the embodiment of the present application directly maps the CT behavior to the hidden state, so that the state is closely related to the actual behavior (observation result), which improves the interpretability of the model.

[0229] Dynamic state transfer: By introducing the transfer probability in percentage form, the state transfer probability matrix A can automatically converge to a stable distribution through high-order power operations, so that the model can adaptively reflect long-term behavior trends.

[0230] Optimized model training: The maximum likelihood estimation algorithm and the Baum-Welch algorithm provide targeted optimization for parameter estimation, ensuring that the model parameters can accurately reflect the dynamic characteristics of CT behavior.

[0231] (4) Evaluation execution module:

[0232] Combining the Viterbi algorithm and the forward-backward algorithm, it provides accurate sequence prediction and probability calculation for each state, enhancing the prediction accuracy and analysis depth of the model. For example, if it is applied in the field of education, it can provide data support for generating detailed state sequence and probability distribution reports for educational decision support, helping educators optimize the development path of students' computational thinking ability.

[0233] In summary, lag sequence analysis is often used to analyze the time delay relationship in an event sequence to determine the correlation and possible causal relationship between events. In computational thinking assessment, lag sequence analysis can reveal the delayed relationship between different computational thinking dimension capabilities in the problem-solving process, but it does not directly provide dynamic relationships or probability information between variables. Therefore, lag sequence analysis is used to evaluate the dynamic relationship between each computational thinking dimension capability in the behavior sequence, and then these relationships are converted into transition probabilities, and the HMM model is used to predict future states. Not only does it take into account the time delay relationship between events, but it can also infer future states based on probability, and more comprehensively evaluate computational thinking ability. The embodiments of the present application can achieve the following effects:

[0234] (1) Comprehensive computational thinking ability assessment: Traditional computational thinking assessment methods usually only focus on specific aspects such as theoretical knowledge or practical programming ability, and cannot comprehensively assess the computational thinking ability of individuals. However, the embodiment of the present application combines lag sequence analysis and hidden Markov model, which can comprehensively consider the ability of individuals in different computational thinking dimensions in the process of problem solving. By analyzing the behavioral sequence data of students in the process of problem solving, it can comprehensively consider the ability of students in different computational thinking dimensions, such as problem decomposition, pattern recognition, information abstraction, algorithm design, etc., and provide a more comprehensive assessment of students' computational thinking level.

[0235] (2) Objective evaluation: Traditional evaluation methods may be affected by subjective factors, such as personal preferences or subjective judgments. However, the embodiments of the present application can objectively evaluate an individual's computational thinking ability by using statistical analysis and probability models, thereby reducing the subjectivity of the evaluation results.

[0236] (3) Dynamic evaluation: The embodiments of the present application can dynamically analyze the behavioral sequence data of individuals in the process of problem solving, revealing the dynamic relationship between different computational thinking dimensions. This dynamic evaluation can more accurately reflect the computational thinking level of individuals and help to discover and correct problems in a timely manner.

[0237] (4) Predictive assessment: Through the hidden Markov model, the future state of an individual’s computational thinking ability can be predicted. For example, if it is applied in the field of education, this predictive assessment can help educators better understand the development trend of individuals and help formulate personalized computational thinking training plans.

[0238] In summary, the embodiment of the present application combines lag sequence analysis and hidden Markov model to provide a more comprehensive, objective and efficient dynamic prediction method for evaluating computational thinking level. For example, in the application of educational technology, it can comprehensively evaluate students' computational thinking ability, provide support for personalized learning path design and curriculum optimization, and provide a scientific basis for teaching improvement research and education policy formulation, thereby promoting the continuous improvement and development of education and teaching.

[0239] See also Figure 5 The embodiment of the present application also provides a computational thinking level evaluation system 500 based on LSA and HMM models, which can implement the above-mentioned computational thinking level evaluation method based on LSA and HMM models. The system 500 includes:

[0240] The data acquisition module 501 is used to acquire multimodal data of the target object; the multimodal data represents the behavior data collected during the process of the target object completing the target task;

[0241] A data preprocessing module 502 is used to preprocess the multimodal data to obtain target analysis data;

[0242] A lag sequence analysis module 503 is used to analyze the target analysis data based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram;

[0243] The probability conversion module 504 is used to convert the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table;

[0244] A model building module 505, for building a target HMM model based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table;

[0245] The model evaluation module 506 is used to obtain the computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data.

[0246] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0247] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method for evaluating the level of computational thinking based on LSA and HMM models when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0248] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0249] See also Figure 6 , Figure 6 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0250] The processor 601 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0251] The memory 602 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 602 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 602, and the processor 601 calls and executes the computational thinking level assessment method based on LSA and HMM models in the embodiment of this application;

[0252] Input / output interface 603, used to implement information input and output;

[0253] Communication interface 604, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0254] Bus 605 , which transmits information between various components of the device (e.g., processor 601 , memory 602 , input / output interface 603 , and communication interface 604 );

[0255] The processor 601 , the memory 602 , the input / output interface 603 and the communication interface 604 are connected to each other in communication within the device via a bus 605 .

[0256] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned computational thinking level assessment method based on LSA and HMM models.

[0257] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0258] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0259] The embodiments of the present application provide a computational thinking level assessment method based on LSA and HMM models, a computational thinking level assessment system based on LSA and HMM models, an electronic device and a storage medium, which obtain multimodal data of a target object; the multimodal data represent the behavioral data collected in the process of the target object completing a target task; the multimodal data are preprocessed to obtain target analysis data; the target analysis data are analyzed based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram; the behavior conversion frequencies in the computational thinking behavior sequence conversion frequency relationship diagram are converted into percentages to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; based on the computational thinking behavior sequence conversion probability diagram and the computational thinking behavior sequence conversion probability table, a target HMM model is constructed; based on the target HMM model and the target standardized data, a computational thinking level assessment result of the target object is obtained. The embodiment of the present application analyzes the target analysis data based on the LSA method, which can reveal the delay relationship between the different computational thinking dimensional capabilities of the target object in the process of completing the target task, and then convert the relationship between the variables of each dimension into probability. By using the target HMM model, the dynamic relationship between the computational thinking dimensional capabilities in the behavior sequence can be deeply analyzed and the future state can be predicted. The embodiment of the present application not only considers the time delay relationship between events, but also can infer the future state based on probability, and can more comprehensively evaluate the computational thinking ability of the target object. In addition, the target HMM model can reduce subjectivity and inconsistency between evaluators when processing sequence data and identifying potential states, especially when facing large-scale evaluation needs, and can improve the standardization and efficiency of evaluation.

[0260] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0261] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0262] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0263] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0264] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0265] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0266] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0267] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0268] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0269] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0270] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A computational thinking level evaluation method based on LSA and HMM models, characterized in that: The method comprises: Acquire multimodal data of a target object; the multimodal data represents behavioral data collected during the process of the target object completing a target task; Preprocessing the multimodal data to obtain target analysis data; Analyze the target analysis data based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram; Convert each behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; Based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table, constructing a target HMM model; Based on the target HMM model and target standardized data, a computational thinking level assessment result of the target object is obtained.

2. The method according to claim 1, characterized in that The preprocessing of the multimodal data to obtain target analysis data includes: Performing data cleaning processing on the multimodal data to obtain target cleaned data; Performing feature extraction on the target cleaning data to obtain target feature data; Performing standardization processing on the target characteristic data to obtain target standardized data; Formatting the target standardized data to obtain target format data; Mapping processing is performed on the target format data to obtain target analysis data.

3. The method according to claim 2, characterized in that The mapping process is performed on the target format data to obtain target analysis data, including: The target format data is subjected to behavioral sequence coding mapping to obtain target analysis data.

4. The method according to claim 1, characterized in that The target analysis data is analyzed based on the LSA method to generate a computational thinking behavior sequence conversion frequency relationship diagram, including: Analyze the target analysis data based on the LSA method to obtain a behavior conversion frequency relationship table and a behavior residual table; Screening the behavior residual table to obtain a target behavior sequence; A computational thinking behavior sequence conversion frequency relationship diagram is generated according to the target behavior sequence.

5. The method according to claim 1, characterized in that Based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table, constructing a target HMM model, including: Mapping the computational thinking behavior sequence in the target analysis data to the hidden state of the original HMM model; The computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table are configured as elements of the state transition probability matrix of the original HMM model; Based on the hidden state and the state transition probability matrix, a target HMM model is constructed, and a preset optimization algorithm is used to optimize the target HMM model; the preset optimization algorithm includes at least one of the following: maximum likelihood estimation algorithm, expectation maximization algorithm.

6. The method according to claim 1, characterized in that The step of obtaining a computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data includes: Decoding an observation sequence to be predicted to determine a target hidden state sequence of the observation sequence to be predicted; Calculating the conditional probability of each hidden state in the target hidden state sequence; Based on the target HMM model, according to the target hidden state sequence and the conditional probability of each hidden state in the target hidden state sequence, the computational thinking level evaluation result of the target object is output.

7. The method according to claim 1, characterized in that The computational thinking level evaluation result includes a target computational thinking state sequence and a conditional probability corresponding to the target computational thinking state sequence. After obtaining the computational thinking level evaluation result of the target object based on the target HMM model and the target standardized data, the method further includes: The target computational thinking state sequence and the conditional probability corresponding to the target computational thinking state sequence are visualized to generate a visualized computational thinking level assessment report.

8. The computational thinking level evaluation system based on LSA and HMM model is characterized by: The system comprises: A data acquisition module, used to acquire multimodal data of a target object; the multimodal data represents behavioral data collected during the process of the target object completing a target task; A data preprocessing module, used to preprocess the multimodal data to obtain target analysis data; A lag sequence analysis module, used to analyze the target analysis data based on the LSA method and generate a computational thinking behavior sequence conversion frequency relationship diagram; A probability conversion module, used to convert the behavior conversion frequency in the computational thinking behavior sequence conversion frequency relationship diagram into a percentage system to obtain a computational thinking behavior sequence conversion probability diagram and a computational thinking behavior sequence conversion probability table; A model building module, used to build a target HMM model based on the computational thinking behavior sequence conversion probability graph and the computational thinking behavior sequence conversion probability table; The model evaluation module is used to obtain the computational thinking level evaluation result of the target object based on the target HMM model and target standardized data.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.