• Title/Summary/Keyword: python

Search Result 686, Processing Time 0.023 seconds

Applicability Test of STPS for HEC-RAS-based Turbidity Prediction Model in the Nagdonggang (HEC-RAS에 기반한 탁도예측모형 STPS의 낙동강에 대한 적용성 검토)

  • Lee, Namjoo;Choi, Seohye;Kim, Chang-Sung
    • Ecology and Resilient Infrastructure
    • /
    • v.8 no.4
    • /
    • pp.245-252
    • /
    • 2021
  • A turbidity current in a river and a lake occurs due to diverse nutrient loading including suspended sediment in sediment runoff, which affects water withdrawal and river environments. We developed one dimensional time-variant numerical model based on Python for the Nagdonggang mainstream. We examined the numerical stability and the applicability of the model by performing the simulation of quasi-steady flow in non-flooding for three cases, which are different according to the point and the amount of turbidity inflows in the Nagdonggang upstream and a tributary. The result was reasonable in the respect of the conservation of matter. The model will facilitate to simulate a large river if we can secure the data of turbidity variations in a target river reach or measured points in a field.

An analysis of the algorithm efficiency of conceptual thinking in the divisibility unit of elementary school (초등학교 가분성(divisibility) 단원에서 개념적 사고의 알고리즘 효율성 분석 연구)

  • Choi, Keunbae
    • The Mathematical Education
    • /
    • v.58 no.2
    • /
    • pp.319-335
    • /
    • 2019
  • In this paper, we examine the effectiveness of calculation according to automation, which is one of Computational Thinking, by coding the conceptual process into Python language, focusing on the concept of divisibility in elementary school textbooks. The educational implications of these considerations are as follows. First, it is possible to make a field of learning that can revise the new mathematical concept through the opportunity to reinterpret the Conceptual Thinking learned in school mathematics from the perspective of Computational Thinking. Second, from the analysis of college students, it can be seen that many students do not have mathematical concepts in terms of efficiency of computation related to the divisibility. This phenomenon is a characteristic of the mathematics curriculum that emphasizes concepts. Therefore, it is necessary to study new mathematical concepts when considering the aspect of utilization. Third, all algorithms related to the concept of divisibility covered in elementary mathematics textbooks can be found to contain the notion of iteration in terms of automation, but little recursive activity can be found. Considering that recursive thinking is frequently used with repetitive thinking in terms of automation (in Computational Thinking), it is necessary to consider low level recursive activities at elementary school. Finally, it is necessary to think about mathematical Conceptual Thinking from the point of view of Computational Thinking, and conversely, to extract mathematical concepts from computer science's Computational Thinking.

A Study on Development of Integrating Mathematics and Coding Teaching & Learning Materials Using Python for Prime Factorization in 7th Grade (파이썬을 활용한 중학교 1학년 소인수분해의 수학과 코딩 융합 교수·학습 자료 개발 연구)

  • Kim, Ye Mi;Ko, Ho Kyoung;Huh, Nan
    • Communications of Mathematical Education
    • /
    • v.34 no.4
    • /
    • pp.563-585
    • /
    • 2020
  • This study developed teaching-learning materials for mathematics and coding convergence classes using Python, focusing on 'Prime Factorization' of seventh graders. After applying the teaching methods and contents to the students, they analyzed whether the learners achieved their learning goals. The results were used to modify and supplement teaching and learning materials. Affective domain of learners were also analyzed. The results are that the teaching methods and contents of the developed teaching-learning materials were generally appropriate for learners. The learners understood most of the lessons according to the set teaching methods of all classes. And learners have mostly reached their learning goals. In addition, as a result of analyzing the definition characteristics of learners through follow-up interviews, the interest in mathematics and programming has improved. The developed teaching and learning materials of this study are well consisted mostly of the teaching methods and the contents of the classes, and are organized so that learners can reach most of the learning goals. It also brought positive changes to the affective domain of mathematics and coding, demonstrating the potential for useful use in school.

Development of Python Education Program with Computational Thinking

  • Lee, Min-Kyung
    • Journal of the Korea Society of Computer and Information
    • /
    • v.27 no.11
    • /
    • pp.315-323
    • /
    • 2022
  • In this paper, we propose a python education program that applies computational thinking for non-majors and programming beginners. In this study, we focus on the basics of program logic, breaking away from the difficult grammar and memorization-oriented programming education. And by applying the problem-solving procedure of computational thinking, we propose an educational program that allows non-majors and programming beginners to learn programming easily. In this paper, an 8-week educational program was applied to middle school students with little text coding experience. and through a post-satisfaction survey, it was found that their confidence in programming increased, and they were able to apply computational thinking could be applied to life and other subjects. Although the importance of programming education is being emphasized, it is expected that it will be used as a useful educational program when composing program education for non-majors and beginners in programming for learners who still find it difficult to learn programming.

MLOps workflow language and platform for time series data anomaly detection

  • Sohn, Jung-Mo;Kim, Su-Min
    • Journal of the Korea Society of Computer and Information
    • /
    • v.27 no.11
    • /
    • pp.19-27
    • /
    • 2022
  • In this study, we propose a language and platform to describe and manage the MLOps(Machine Learning Operations) workflow for time series data anomaly detection. Time series data is collected in many fields, such as IoT sensors, system performance indicators, and user access. In addition, it is used in many applications such as system monitoring and anomaly detection. In order to perform prediction and anomaly detection of time series data, the MLOps platform that can quickly and flexibly apply the analyzed model to the production environment is required. Thus, we developed Python-based AI/ML Modeling Language (AMML) to easily configure and execute MLOps workflows. Python is widely used in data analysis. The proposed MLOps platform can extract and preprocess time series data from various data sources (R-DB, NoSql DB, Log File, etc.) using AMML and predict it through a deep learning model. To verify the applicability of AMML, the workflow for generating a transformer oil temperature prediction deep learning model was configured with AMML and it was confirmed that the training was performed normally.

Development of Artificial Intelligence Instructional Program using Python and Robots (파이썬과 로봇을 활용한 인공지능(AI) 교육 프로그램 개발)

  • Yoo, Inhwan;Jeon, Jaecheon
    • 한국정보교육학회:학술대회논문집
    • /
    • 2021.08a
    • /
    • pp.369-376
    • /
    • 2021
  • With the development of artificial intelligence (AI) technology, discussions on the use of artificial intelligence are actively taking place in many fields, and various policies for nurturing artificial intelligence talents are being promoted in the field of education. In this study, we propose a robot programming framework using artificial intelligence technology, and based on this, we use Python, which is used frequently in the machine learning field, and an educational robot that is highly utilized in the field of education to provide artificial intelligence. (AI) education program was proposed. The level of autonomous driving (levels 0-5) suggested by the International Society of Automotive Engineers (SAE) is simplified to four levels, and based on this, the camera attached to the robot recognizes and detects lines (objects). The goal was to make a line detector that can move by itself. The developed program is not a standardized form of solving a given problem by simply using a specific programming language, but has the experience of defining complex and unstructured problems in life autonomously and solving them based on artificial intelligence (AI) technology. It is meaningful.

  • PDF

Development of User Interface for High Frequency Digital Oscilloscope based on Python (파이썬기반 고주파 디지털 계측기 사용자 인터페이스 개발)

  • Jeong, Eui-Hoon;Kim, Yong-Sik
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.22 no.6
    • /
    • pp.37-42
    • /
    • 2022
  • Recently, with the development of mobile communication technologies such as 5G, interest in oscilloscope technology based on high bandwidth and user-friendly UI is increasing. In this paper, we proposed a Python-based UI(user interface) SW for a high-bandwidth digital oscilloscope in connection with the study of a 13GHz band digital oscilloscope system. The proposed UI SW is designed not only to be executed integrally with the oscilloscope, but also to be run on a separate PC or laptop cooperating with the instrument through WiFi communication. Functions of the UI SW consists of displaying and analyzing signal data, storing signal data in an external storage device, generating test signal data, and reconfiguring the toolbar. Finally, we have shown that the proposed digital oscilloscope system operates normally by interworking test with the signal generator.

SUMRAY: R and Python Codes for Calculating Cancer Risk Due to Radiation Exposure of a Population

  • Michiya Sasaki;Kyoji Furukawa;Daiki Satoh;Kazumasa Shimada;Shin'ichi Kudo;Shunji Takagi;Shogo Takahara;Michiaki Kai
    • Journal of Radiation Protection and Research
    • /
    • v.48 no.2
    • /
    • pp.90-99
    • /
    • 2023
  • Background: Quantitative risk assessments should be accompanied by uncertainty analyses of the risk models employed in the calculations. In this study, we aim to develop a computational code named SUMRAY for use in cancer risk projections from radiation exposure taking into account uncertainties. We also aim to make SUMRAY publicly available as a resource for further improvement of risk projection. Materials and Methods: SUMRAY has two versions of code written in R and Python. The risk models used in SUMRAY for all-solid-cancer mortality and incidence were those published in the Life Span Study of a cohort of the atomic bomb survivors in Hiroshima and Nagasaki. The confidence intervals associated with the evaluated risks were derived by propagating the statistical uncertainties in the risk model parameter estimates by the Monte Carlo method. Results and Discussion: SUMRAY was used to calculate the lifetime or time-integrated attributable risks of cancer under an exposure scenario (baseline rates, dose[s], age[s] at exposure, age at the end of follow-up, sex) specified by the user. The results were compared with those calculated using another well-known web-based tool, Radiation Risk Assessment Tool (RadRAT; National Institutes of Health), and showed a reasonable agreement within the estimated confidential interval. Compared with RadRAT, SUMRAY can be used for a wide range of applications, as it allows the risk projection with arbitrarily specified risk models and/or population reference data. Conclusion: The reliabilities of SUMRAY with the present risk-model parameters and their variance-covariance matrices were verified by comparing them with those of the other codes. The SUMRAY code is distributed to the public as an open-source code under the Massachusetts Institute of Technology license.

Python Package Production for Agricultural Researcher to Use Meteorological Data (농업연구자의 기상자료 활용을 위한 파이썬 패키지 제작)

  • Hyeon Ji Yang;Joo Hyun Park;Mun-Il Ahn;Min Gu Kang;Yong Kyu Han;Eun Woo Park
    • Korean Journal of Agricultural and Forest Meteorology
    • /
    • v.25 no.2
    • /
    • pp.99-107
    • /
    • 2023
  • Recently, the abnormal weather events and crop damages occurred frequently likely due to climate change. The importance of meteorological data in agricultural research is increasing. Researchers can download weather observation data by accessing the websites provided by the KMA (Korea Meteorological Administration) and the RDA (Rural Development Administration). However, there is a disadvantage that multiple inquiry work is required when a large amount of meteorological data needs to be received. It is inefficient for each researcher to store and manage the data needed for research on an independent local computer in order to avoid this work. In addition, even if all the data were downloaded, additional work is required to find and open several files for research. In this study, data collected by the KMA and RDA were uploaded to GitHub, a remote storage service, and a package was created that allows easy access to weather data using Python. Through this, we propose a method to increase the accessibility and usability of meteorological data for agricultural personnel by adopting a method that allows anyone to take data without an additional authentication process.

Capacity determination for a rainfall harvesting unit using an optimization method (최적화 기법을 이용한 빗물이용시설의 저류 용량 결정)

  • Jin, Youngkyu;Kang, Taeuk;Lee, Sangho;Jeong, Taekmun
    • Journal of Korea Water Resources Association
    • /
    • v.53 no.9
    • /
    • pp.681-690
    • /
    • 2020
  • Generally, the design capacity of the rainwater harvesting unit is determined by trial and error method that is repeatedly calculating various analysis scenarios with capacity, reliability, and rainwater utilization ratio, etc. This method not only takes a lot of time to analyze but also involves a lot of calculations, so analysis errors may occur. In order to solve the problem, this study suggested a way to directly determine the minimum capacity to meet arbitrary target reliabilities using the global optimization method. The method was implemented by simulation model with particle swarm optimization (PSO) algorithms using Python language. The pyswarm that is provided as an open-source of python was used as optimization method, that can explore global optimum, and consider constraints. In this study, the developed program was applied to the design data for the rainwater harvesting constructed in Cheongna district 1 in Incheon to verify the efficiency, stability, and accuracy of the analysis. The method of determining the capacity of the rainwater harvesting presented in this study is considered to be of practical value because it can improve the current level of analytical technology.