Introduction

As mentioned by Gardner in 1985, motivation has been recognized as the essential item in the teaching and learning context, especially in second language learning; moreover, this factor is significantly influential as well. Therefore, it means that the learners need the motivation to pursue their studies1. Studies revealed that motivation could have two different internal or external sources, and teachers are the main external source of their learners' motivation2, which is in harmony with Gardner et al., meaning that teacher motivation is significant due to its impact on student motivation3. These studies also in line with Dörnyei, whose study shows that teacher motivation could change student learning achievements as well as student motivation4.

Teacher motivation matters because the future of every society connects to their teachers and how they educate and prepare students in the classes for their future lives and professions. So by investigating teaching motivators, useful information can be obtained for a more productive class. Therefore, there are some studies focusing on this topic.

A qualitative research study in 2018 focused on determinants and consequences of teacher motivation and demotivation2. This research was the backbone of the researchers’ next study. Therefore, Pourtousi and Ghanizadeh5 designed and validated a scale for measuring teacher motivation based on the collected data from the triangulated qualitative study that was proposed by Pourtoussi et al.2. The researchers designed a questionnaire based on five factors that is EFL teachers’ motivation scale (TMS) in order to measure teacher motivation. Different factors affect teachers, and the researchers of the mentioned study considered them in designing the TMS.

Moreover, a research study that included a variety of analyses indicated that teachers and their emotional support found that teacher support can greatly affect the understanding of the students regarding the instructional and emotional support from their teachers, leading to students’ harder work in the class context6. Based on another research, teacher motivation is one of the most crucial elements that greatly affect teaching and its quality7. Thoonen et al. revealed in their paper that various characteristics of teachers, which include their gender and teaching experience, have their own role in their motivation, and they can easily affect their motivation. The researchers of the same study understood that teacher experience in elementary education influences teacher engagement in a positive way. This implies that more experienced elementary teachers are much more willing to be up to date compared to those who are less experienced. Also, more experienced teachers are much more willing to internalize and follow the goals of schools. However, the researchers found out that the experienced teachers have less tendency in order to participate in different kinds of activities leading them to uncertainty. The same study also elucidates the gender differences in teaching, which is the result of the engagement of teachers in the research experiment. Work motivation and job satisfaction are two important factors among teachers that Arifin emphasizes, and the researcher of the study shed light on the positive influence of motivation on teacher performance and how organizational culture could affect teacher performance8. Research studies also focus on the positive influence on complex relations of motivation between the two processes of teaching as well as learning9. Kocabas explained in the research paper that the origins of motivation differ, which is because of two reasons10. The first reason is that people are different due to their different desires, needs, values, attitudes, and expectations. And the second reason is that humans are social and psychological creatures. The mentioned two reasons lead to this conclusion that the researchers could not have definite origins for teachers in order to motivate them at the same level. Another research study provided some other elements that can influence teacher motivation. The factors are income status, importance in society, self-confidence, rewards for showing good results11. Also, studies show that a higher level of autonomous motivation and a low level of controlled motivation can lead to a higher level of intrinsic motivation as well as self-determination12. According to the study, social-contextual conditions can affect the teachers. The study reveals that teachers have three categories of pressure at work. The first one originates from the school environment, which consists of teachers' perception referring to the responsibility of teachers for the students' behaviors and performance. The second one relates to the perception of teachers toward teaching methods. And finally, the last one refers to the teacher's perception of the limitations of their freedom in the curriculum. Another relevant study in 2015 proposed the two different leading to teacher motivation and helping to the recruitment include policymakers and teacher educators. The study also indicates that contextual and individual factors can change the amount of teacher motivation. Heinz clarified effect of policymakers and teacher educators on teacher motivation. So the contextual and individual factors have the possibility to have their own impact on motivation, which are teacher's tasks, teacher's responsibilities, environment and conditions of the workplace, job security, payment, cultural sides, social sides, each teacher's socio-demographic backgrounds, prior education, and professional opportunities13.

These days, the classes may become online using Artificial intelligence (AI) methods, since the coronavirus infects numerous numbers of people, and as far as studies have started to focus on the online classes during the COVID-19 pandemic14,15,16,17,18,19,20, the role of the teachers and their motivation besides the AI become very significant. AI has a significant influence on our everyday life21, and it can lead to the economic development of the countries. This technology has been developed, but some limitations exist; therefore, some researchers proposed their intelligent model that can create new ideas without the need to have similar experiences called brain intelligence (BI)21.

Moreover, AI could be mixed with speech recognition technology in digital assistants to provide customers' services based on their preferences22. Some instances of the assistants include Google Assistant, Siri, and Alexa, which are designed for Google, Apple, and Amazon, successively. These assistants can provide a variety of tasks for their users23. AI, or specifically machine learning, has its own role in most of the fields. The most well-known and typical example of using machine learning is its use in games. In the game industry, AI methods are also applied, including neural networks, fuzzy logic, genetic algorithms, and so on24. Machine learning can also be used for detecting as well as supervising phishing websites while people are using online services by using the algorithms25.

AI techniques have widespread applications in medical domains, and according to Jiang et al.26, some of the methods are more popular, including neural networks and support vector machine (SVM). Based on the same research study, neurology, cardiology, as well as cancer are three main diseases that AI can be used for them. Moreover, Jiang et al. indicated this technology could be used for different stages of stroke from early diagnosis to prognostications. Furthermore, AI could be advantageous for psychologists as well as professionals in the health care domain to help patients27.

ANFIS stands for adaptive neuro-fuzzy inference system that is an artificial neural network on the structure of the fuzzy framework and a mathematical tool in order to explain a system that was proposed by Takagi and Sugeno28. Some studies proved that using soft computing methods is possible in a variety of studies. A researcher in Iran used the support vector machine in order to predict anger expression with a suitable accuracy29. Another study in Japan used the integration of structural equation modeling (SEM) as well as the ANFIS algorithm for evaluating the safety paradigm in the petroleum-based sector30. Moreover, according to an investigation in southeastern Poland, the researchers applied Partial Least Squares Structural Equation estimation toolbox and ANFIS for modeling components of their survey relating to employees’ safety at work31.

Figure 1 represents a summary of the study. It indicates that motivation can affect the teachers, and the study investigates the demographic variables of teachers. A very safe way for analyzing the data in this domain and for teaching context is to study them using the statistical methods; however, the researchers of the study also examined the ANFIS method to see how the results differ from the traditional methods and compare the results. Therefore, the current study aims at investigating whether EFL teacher motivation varies by teacher's age, teaching experience, gender, educational level, and academic achievement. Meanwhile, the main concern in this study was to verify the results obtained for a human-related construct with another field of study or, better to say a new technology, which is artificial intelligence (AI), and specifically the ANFIS method.

Figure 1
figure 1

Schematic representation of the study and the integration of the AI and statistical methods.

The flow chart of the AI algorithm is illustrated in Fig. 2. The figure shows that at the beginning of the method, the input and output parameters are defined in the method as a form of a mathematical matrix. Then in the method, the grid partition clustering is defined for generating the initial Fuzzy interface structure (FIS). In the next stage, the FIS and grid clustering parameters are selected for the method, and the initial FIS is established with proper conditions. After this creation in structure, the training process is started to train the FIS structure and translate all information (inputs and outputs) as a form of FIS structure. To assess the method and the ability to train the error of the system is evaluated in the process. If the error level is high, the code automatically changes the number of input, number/type of membership functions for other training steps. This task is iterated till the deviation reaches an acceptable level. At this stage of the model, the algorithm can predict the motivation.

Figure 2
figure 2

ANFIS flow chart of the AI algorithm in the research, and selection of the model parameter in ANFIS.

Artificial intelligence (AI) can react like human beings, including speech recognition, problem-solving, learning, as well as planning. It can also predict human behavior and their psychological condition, such as motivation, by using algorithms. As far as this is a prediction, we need an explanation, but artificial intelligence does not have the ability to explain; therefore, psychology is advantageous. Psychology refers to the study of the mind, and it matters in many professions, such as those dealing with people; therefore, teacher motivation is not an exception. A review of the literature in the realm of teacher motivation indicates a scarcity of research published on teacher motivation, especially its integration with AI. Therefore, the present research explores the relationship of teacher motivation with teacher age, educational level, gender, years of experience, academic achievement, as well as two other aspects of teacher engagement including vigor, and dedication. Indeed, seven research questions are studied, which are as follows:

  1. 1.

    Is there any notable relationship between EFL teacher motivation and age?

  2. 2.

    Is there any notable relationship between EFL teacher motivation and educational level?

  3. 3.

    Is there any notable relationship between EFL teacher motivation and gender?

  4. 4.

    Is there any significant relationship between EFL teacher motivation and years of experience?

  5. 5.

    Is there any significant relationship between EFL teacher motivation and academic achievement?

  6. 6.

    Is there any significant relationship between EFL teacher motivation and vigor?

  7. 7.

    Is there any significant relationship between EFL teacher motivation and dedication?

Method

Instrumentation

EFL teacher motivation scale (TMS)

For the purpose of measuring teacher motivation, TMS was used, which was designed and validated by Pourtousi and Ghanizadeh5. The questionnaire included 42 items, measuring 5 factors. Moreover, Cronbach's alpha was 0.89.

The sample items are “Teachers work together, and they try to build positive environment”, “It is important to be a successful teacher to please school principal or institute supervisor”, and “I am proud of working as a teacher” rated on a five-point Likert scale.

Work and Well-Being Survey (UWES)

In order to measure different aspects of engagement, we used the Work and Well-Being Survey (UWES), which was designed by Schaufeli and Bakker32. The UWES includes 17 items rated on a 7 point Likert scale. The Cronbach's alpha of UWES is 0.70, and the internal consistency of the scale is suitable.

The sample items are as follows:

“I get carried away when I’m working (absorption)”, “At my job, I am very resilient (vigor)”, and “My job inspires me (dedication)”.

Participants

The original data relating to participants refer to Pourtousi and Ghanizadeh5 paper; however, the analysis that the researchers of the current study decided on a different procedure regarding the data analysis. This study investigates the demographic variables of the EFL teachers and two aspects of their engagement by using ANFIS. Nevertheless, the original study only validated the TMS and found the relationship of motivation with two other psychological factors. The questionnaires were given to 210 English teachers with a variety of age groups from 21 to 42, variety of university of degrees (B.A. holders = 112, M.A. holders = 87, Ph.D. holders = 11). The research had 124 females, 82 males, and the rest did not mention their gender in the questionnaire. The questionnaires were prepared in online and printed formats. The participants were from nine cities of Iran, and mainly from Mashhad, where the main data were gathered. More information regarding the participants can be obtained from the research mentioned above.

In the research procedures, we considered different ethical issues, such as the confidentiality of the data, privacy, and anonymity. The research does not provide any risk to the participants, and the participants were all teachers and colleagues of the researchers who willingly accepted to take part in completing the questionnaires. Therefore, informed consent was obtained from them, and they were provided with information about the study before they participate in the study. Moreover, the whole processes follow the standards of the 1964 Helsinki declaration as well as the ethical standards. Also, the Imam Reza International University research ethics committee approved the study with reference number 599083.

Findings and discussion

SPSS results

The descriptive statistics of the teacher motivation scale refers to the information from Pourtousi and Ghanizadeh research study5, and the details are as follows:

The mean, standard deviation (Std), minimum and maximum values for teacher motivation (TM) are 143.24, 21.84, 72.00, 212.00, respectively. More information regarding the descriptive statistics can be obtained from the research mentioned above. Moreover, TM has five sub-factors which are Immediate setting (IS), Teacher related (TR), Student related (SR), Administrative related (AR), and Non human-related (NH) factors.

Teacher motivation and age

A Pearson Product-Moment correlation was run for examining the correlation between the teacher motivation and age. The results indicate that teacher motivation TM (r = − 0.23, p < 0.05), and four of the sub factors including NH (r = − 0.24, p < 0.05), SR (r = − 0.23, p < 0.05), IS (r = − 0.16, p < 0.05), and TR (r = − 0.18, p < 0.05) correlate with age. However, it was revealed that AR does not correlate with age. The details are shown in Table 1.

Table 1 The correlation coefficients of teacher motivation and its five sub-factors with age.

Teacher motivation and educational level

A one-way ANOVA was utilized in order to compare the means of teachers who are grouped based on their university degrees. According to the results, and based on Table 2, teacher motivation(TM) correlates with educational level, and therefore, there are differences among the three groups of teachers regarding their motivation, TM (F = 3.63, p < 0.05). Also, ANOVA shows that three of the sub-factors have differences in their means, including TR (F = 3.92, p < 0.05), NH (F = 3.79, p < 0.05), and SR (F = 4.87, p < 0.05); however, the exact place of the differences is not obvious. So a post-hoc comparison of the means was run for the three sub-factors in order to find the precise differences. In doing so, Scheffe's test was applied, and Table 3 represents the results of the test. In the following table, and specifically, the column relating to the educational level, the number varies from 1 to 3, that each of them shows a different university degree. Therefore, 1 indicates B.A., 2 indicates M.A., and 3 indicates Ph.D. Also, the results of Scheffe's test do not show any notable differences between the TM mean score of the three degrees. However, the results of the post hoc Scheffe’s test at the level of 0.05 indicated that there is a difference between the first and third groups regarding TR. Also, regarding SR and NH, the first and second groups are different.

Table 2 The results of ANOVA for comparison of teacher motivation by university degrees.
Table 3 The Scheffe's test for the comparison of teacher motivation by university degrees.

Teacher motivation and gender

An independent samples t-test was used for the purpose of examining the significant differences in teacher motivation with different genders. Table 4 shows descriptive statistics of teacher motivation across female as well as male teachers. As shown in the table, the differences are close. Moreover, Table 5 indicates the results of the independent samples t test among male and female teachers. As the results indicate, teacher motivation and sub-factors do not differ with gender, and therefore, significant differences are not found between the male and female teachers on their motivation and sub-factors.

Table 4 Descriptive statistics of motivation across female and male teachers.
Table 5 Independent samples t-test showing the gender differences for teacher motivation.

Teacher motivation and teaching experience

A Pearson Product-Moment correlation was utilized for the purpose of examining the relationship between teacher motivation and teaching experience. As shown in Table 6, teacher motivation does not correlate with teaching experience. Two of the sub factors which are NH (r = − 0.15, p < 0.05), and SR (r = − 0.13, p < 0.05) correlate with teaching experience, but AR, TR, IS, and TM do not correlate with teaching experience.

Table 6 The correlation coefficients of teacher motivation and its five sub-factors with teaching experience.

Teacher motivation and academic achievement

A Pearson Product-Moment correlation was utilized in the study in order to study any significant correlations between teacher motivation and GPA. According to Table 7, teacher motivation does not correlate with academic achievement (p < 0.05). But two of the sub-factors correlate with it, which are AR (r = 0.22, p < 0.05) and TR (r = 0.15, p < 0.05) correlate with teacher academic achievement.

Table 7 The correlation coefficients of teacher motivation and its five sub-factors with academic achievement.

Teacher motivation and vigor

A Pearson Product-Moment correlation was utilized in the study in order to study any significant correlation between teacher motivation and vigor. As indicated in Table 8, teacher motivation and its sub factors correlate with vigor. So TM (r = 0.28, p < 0.05), IS (r = 0.22, p < 0.05), and TR (r = 0.35, p < 0.05), AR (r = 0.21, p < 0.05), SR (r = 0.14, p < 0.05), and NH (r = 0.19, p < 0.05) correlate with vigor.

Table 8 The correlation coefficients of teacher motivation and its five sub-factors with vigor.

Teacher motivation and dedication

A Pearson Product-Moment correlation was utilized in the study in order to study any significant correlation between teacher motivation and dedication, and the details are shown in Table 9. Based on the results, TM (r = 0.2, p < 0.05), IS (r = 0.17, p < 0.05), TR (r = 0.31, p < 0.05), and AR (r = 0.15, p < 0.05) correlate with dedication. However, SR, and NH do not correlate with dedication.

Table 9 The correlation coefficients of teacher motivation and its five sub-factors with dedication.

Table 10 shows a sample of the data of the study and how the data were used in the ANFIS. Generally, there were five inputs in the study. The first three inputs were age, academic achievement, and years of experience. The next two inputs were educational level and gender, but the intelligence was not enough, the last two inputs were substituted with two other inputs, which were vigor and dedication to optimize the system, and the output was motivation.

Table 10 Sample data of the inputs and output of the study.

ANFIS results

In the current study, five parameters were used as the input of the ANFIS, including age, GPA, teaching experience, vigor, and dedication, respectively, and the study included one output which is teacher motivation (see Fig. 3a,b).

Figure 3
figure 3

(a) ANFIS structure and pattern of input parameters (connection between input parameters) for five inputs and number of MFs = 2. (b) Structure and distribution of membership functions in each input parameter.

In this study, the maximum iteration was equal to 500, and P representing the number of data that were engaged in the training process was equal to 70%, and the kind of membership functions (MFs) is gbellmf standing for generalized bell-shaped membership function. To scrutinize the ANFIS method at the beginning of the learning process, which includes training and testing, two inputs were analyzed. When the number of MFs = 2, the R-value for the training and testing evaluation steps is 0.52, 0.44, respectively (see Fig. 4).

Figure 4
figure 4

Ability of training and testing processes for number of MFs = 2, 3, 4; two inputs; gbellmf (membership function).

For increasing the accuracy and capability of the ANFIS model, the number of MFs was analyzed. According to Fig. 4, when the number of membership functions in each input parameter is equal to 3, R-value is 0.64 for the training, and this value for the testing process reduces to 0.018. Increment of membership function in inputs from three to four was also analyzed, and R-value reaches 0.72 for the training and testing processes. The results also showed that the level of the model’s accuracy and prediction capability was not enough to predict motivation. In this regard, the number of input parameters should be increased to improve the level of accuracy.

This level of accuracy and prediction capability is not enough for the ANFIS model, so the number of MFs increased to 4. According to Fig. 5, when MFs equals 3, the R-value relating to the training process equals 0.91, and the R-value relating to the testing process equals 0.06. Moreover, when the number MFs = 4, R-value is equal to 0.92 for the training process and R = 0.09 for the testing process showing that increasing the number of MFs does not significantly influence the increase of intelligence of the system. In this case, still increasing the number of inputs was required for enhancing the level of accuracy.

Figure 5
figure 5

Ability of training and testing processes for number of MFs = 2, 3, 4; three inputs; gbellmf (membership function).

After that, the number of inputs increased from 3 to 4, and MFs to 2, 3, and 4, and the processes of learning include training and testing. Figure 6 shows the accuracy and prediction capability of the model for processes of training and testing. The figure shows that by increasing the number of inputs to 4, the R-value for the training process increases and reaches 0.99. However, R-value for the testing just enhances and reaches an acceptable value. This means that the number of inputs must be increased to see the changes in the system.

Figure 6
figure 6

Ability of training and testing processes for MFs = 2, 3, 4; four inputs; gbellmf (membership function).

The intelligence or capability of prediction significantly increased by increasing the input in the models, particularly when the number of inputs rises from four to five and applying a different number of membership functions at each input parameter. Additionally, the impact of different membership functions is examined to find out the best level of accuracy for the AI model. The results show that by an increment of membership functions in the input parameter, the accuracy of the model reduces. Therefore, for the current research, the number of membership functions two can be a good candidate to train datasets, particularly with five input parameters (see Fig. 7). This finding can illustrate the importance of the tuning model parameters for the ANFIS method to build up the AI model with a high level of repeatability. In addition, as a recommendation using a high number of membership functions cannot build an accurate model with high prediction capability. In addition to that, adding more functions in each input can make the model more expensive.

Figure 7
figure 7

Ability of training and testing processes for number of MFs = 2, 3, and 4; five inputs; gbellmf (membership function).

Different degrees of membership functions are shown in Fig. 8. Generally, the model is scalable for the particular range of input parameters, as shown in this figure. To predict the process for the wider range of input parameters, more inputs are required in the training process.

Figure 8
figure 8

Degree of inputs membership functions for five input parameters.

In Fig. 9a,b, prediction (ANFIS results) and actual values for two different evaluation steps, including training and testing, are shown. The two figures compare the difference between the training testing processes when the output of the study is motivation, and five inputs are added to the system. The results show that the ANFIS model can perfectly track target values in the domain for the training and testing process.

Figure 9
figure 9

(a) Comparison between prediction results and actual values (training evaluation process); [number of MFs = 2; five inputs; gbellmf (membership function)]. (b) Comparison between prediction results and actual values (testing evaluation process); [number of MFs = 2; five inputs; gbellmf (membership function)].

According to Fig. 10, ANFIS target and ANFIS output are in good agreement with each other by considering different inputs. This means that ANFIS has a good prediction for the current dataset, and its algorithms can predict the output.

Figure 10
figure 10

ANFIS targets and outputs data correlation.

Artificial intelligence has the capacity to use many nodes in order to predict what has not been existed in the learning process that is presented in Fig. 11. This means that by deleting some study features or some of the inputs from the training stage of ANFIS, the system still has the prediction capability.

Figure 11
figure 11

ANFIS prediction surface.

For further evaluation of the current AI methodology, different membership functions are also selected for the prediction. In this regard, all membership functions are used and compared with the current methodology. Figure 12 shows that psig and dsig membership functions contain a lower level of the model’s accuracy and prediction capability. However, the gbell function shows a good level of accuracy (R > 0.93). This method can also predict and track the motivation level in a similar range of reality than other membership functions in the ANFIS method.

Figure 12
figure 12

Impact of different membership functions on the accuracy of the model and prediction capability.

Figure 13 shows the prediction of the output based on Table 10. So from the whole data, 12 inputs of 12 participants were inserted into the system to see whether ANFIS can predict the data. As the figure shows, ANFIS could accurately predict the output that is motivation, and it is based on the inputs engaged in the study.

Figure 13
figure 13

Prediction of the sample data for teacher motivation.

The present research paper examined the relationship between teacher motivation and demographic variables, including age, educational level, gender, experience, academic achievement, and two other aspects, including vigor and dedication. Regarding the first question examining whether teacher motivation varies by the teacher's age, the findings showed a significant link between the variables. Teacher age was a significant predictor of teacher motivation in another study. Martin and Shoho stated that the teacher's attitudes and beliefs change and are controlled by the teacher's age33. The next question examined whether teacher motivation varies by the university degree of teachers, no significant difference was found among different groups of the teachers regarding the total teacher motivation. But for some of the sub factors, the results were different. Regarding the third research question, which investigated whether teacher motivation varies by having a different gender, no significant differences was found among the participants. Another study stated that female teachers experience higher levels of classroom and workload stress, which is contrary to our results as gender was not one of the factors that determines teacher motivation34. The fourth research question investigated whether teacher motivation varies with their teaching experience, and the results revealed that teacher motivation did not correlate with teaching experience except for two of the sub-factors. According to the results, teacher motivation cannot be determined by experience. The results of the study are in line with the findings of other studies. For instance, a research study indicated that a typical or average teacher with higher experience is necessarily not more effective than a teacher with fewer years of experience35. Also, Martin and Shoho mentioned that the boundary between novice and experienced teachers is not exactly defined33. Moreover, the fifth research question investigated whether teacher motivation varies by their own academic achievement. The results indicated that teacher motivation does not correlate with academic achievement. In other words, teachers' academic achievement or their GPA do not affect their motivation. The final aspects of teachers investigated in the study were vigor and dedication, which are parts of engagement. The study revealed a positive correlation between motivation and these two aspects meaning that higher engagement, specifically vigor and dedication parts, can lead to higher motivation. These two aspects played a significant role in the ANFIS model for better prediction. In this regard, Skaalvik and Skaalvik36 mentioned that teacher well-being could have a predicting role in a higher level of engagement as well as a lower of level motivation when teachers are willing to leave teaching, and therefore, the current study found the relationship of motivation as well as engagement. Furthermore, the ANFIS model indicated that by adding five inputs to the system, which were all of the variables in the study, the system could have high accuracy and prediction capability.

Conclusions

The problem with machine learning and artificial intelligence is that it has an association function problem. Due to the dependence of the technology on large-scale data and numerical values, in some aspects, it lacks association function, which is similar to the human brain21. The results which are driven from ANFIS indicated when all five inputs are engaged in the process of learning, the intelligence increases as well. This is true in real life because psychological aspects are decided by the whole variables and not one of them. In SPSS, which is mostly used in psychology fields, each factor is analyzed one by one, but ANFIS added each of the factors incrementally, and therefore we could see when it becomes intelligent. After adding all of the inputs, the accuracy and prediction capability of the ANFIS model increased significantly. This is because the neural networks increased in the system, and the statistical approaches do not have the capability to have more and more neural networks in each phase. However, it is evident that we need large-scale data to have better, comprehensive results, and this study only used a sample. In addition, in the five input parameters, a small number of membership functions (such as two) at each input can make the model more accurate than larger numbers (such as four). This finding can also highlight the importance of sensitivity analysis on the AI model’s parameter before creating a prediction toolbox.

Using the intelligence obtained from the ANFIS method can help us to predict those nodes that are engaged in motivation or better in the psychological aspects of humans. Therefore, we can predict some hidden aspects of teacher motivation by using AI. Based on the algorithms, we can predict the different aspects. Moreover, the current study shows another data analysis method, which is different from the traditional analysis in this field.

ANFIS model showed that by adding each input to the system, the accuracy of the system increased that could be like a human. By increasing the neural networks, the system reached an acceptable level of accuracy. The findings indicated other research studies could be developed in social sciences, humanities, and psychology mixed with soft computing methods and AI algorithms. Therefore, this can open new doors to the researchers.

Generally, when a new method is used in a study, some new insights can be achieved, and the new method can have various advantages. Therefore, the computational time for running AI models could be decreased to the minimum. Furthermore, some AI models and their algorithms are based on natural phenomena37, and if some new concepts to be tested in them, AI could have high prediction capability and accuracy. Furthermore, in AI, big data can be analyzed21. It is worth mentioning that each method has its own benefits. They can be used side by side to compare data and complete each other.