• 제목/요약/키워드: Long Parameter List

검색결과 9건 처리시간 0.028초

메소드의 매개변수 리스트의 간소화를 위한 리팩토링 방안 (Removing Long Parameter List Using Semantic Matrix)

  • 함동화;이준하;박수진;박수용
    • 소프트웨어공학소사이어티 논문지
    • /
    • 제26권4호
    • /
    • pp.93-103
    • /
    • 2013
  • 소프트웨어의 규모는 시간이 지남에 따라 복잡성과 유지보수 비용이 증가한다. 이로 인해 최근 유지보수의 중요성이 더욱 대두되고 있다. 소프트웨어가 진화 할수록 유지보수를 어렵게 하는 징후인 코드의 나쁜 냄새(Bad Smell)가 점점 심해지기 때문에 나쁜 냄새가 나는 코드를 제거하여 유지보수를 용이하게 개선해야 한다. 최근에는 이러한 나쁜 냄새를 위해 소프트웨어 리팩토링 기법에 대한 연구가 많이 연구되고 있다. 본 논문에서는 나쁜 냄새의 한 종류인 긴 매개변수 리스트(Long Parameter List)를 식별하고 해결하여 소프트웨어의 유지보수성을 향상시키는 방안을 제안한다. 제안되는 방안은 매개변수간의 의미적인 유사도를 측정하여 이를 군집화 하여 새로운 객체가 될 수 있는 매개변수들을 식별한다. 제안되는 방안은 경력 있는 객체지향 소프트웨어 개발자들이 군집화한 매개변수리스트와의 비교를 통해 평가되고, 그 결과가 통계적으로 검증된다.

  • PDF

A Novel Parameter Initialization Technique for the Stock Price Movement Prediction Model

  • Nguyen-Thi, Thu;Yoon, Seokhoon
    • International journal of advanced smart convergence
    • /
    • 제8권2호
    • /
    • pp.132-139
    • /
    • 2019
  • We address the problem about forecasting the direction of stock price movement in the Korea market. Recently, the deep neural network is popularly applied in this area of research. In deep neural network systems, proper parameter initialization reduces training time and improves the performance of the model. Therefore, in our study, we propose a novel parameter initialization technique and apply this technique for the stock price movement prediction model. Specifically, we design a framework which consists of two models: a base model and a main prediction model. The base model constructed with LSTM is trained by using the large data which is generated by a large amount of the stock data to achieve optimal parameters. The main prediction model with the same architecture as the base model uses the optimal parameter initialization. Thus, the main prediction model is trained by only using the data of the given stock. Moreover, the stock price movements can be affected by other related information in the stock market. For this reason, we conducted our research with two types of inputs. The first type is the stock features, and the second type is a combination of the stock features and the Korea Composite Stock Price Index (KOSPI) features. Empirical results conducted on the top five stocks in the KOSPI list in terms of market capitalization indicate that our approaches achieve better predictive accuracy and F1-score comparing to other baseline models.

코드 리팩토링을 위한 확장된 IPO 기법 (Extended IPO technique for Code Refactoring)

  • 박재진;이재욱;홍장의
    • 한국정보과학회:학술대회논문집
    • /
    • 한국정보과학회 2012년도 한국컴퓨터종합학술대회논문집 Vol.39 No.1(B)
    • /
    • pp.255-257
    • /
    • 2012
  • 긴 파라미터 리스트(Long parameter list)는 소프트웨어 코드의 품질을 저해시키는 Bad Smell들 중 하나로써, 코드에 대한 이해도를 떨어뜨리고 코드의 변경을 어렵게 한다는 문제점이 있다. 이러한 문제를 해결하는 기법들 중 하나인 IPO(Introduce Parameter Object) 기법은 함께 사용되는 빈도가 높은 파라미터들을 하나의 클래스로 만든 후에 관련된 기능들을 해당 클래스의 메소드로 추출하여 사용하므로 코드의 중복을 막아 재사용성을 높이고 코드에 대한 이해도를 높일 수 있다. 하지만 IPO 기법의 주된 관심사는 파라미터 그룹의 발생 빈도에 초점을 두고 있으며, 커플링에 대한 고려가 충분히 이루어지지 않는다. 따라서 본 연구에서는 IPO 기법과 커플링의 관계를 분석하여 IPO 기법이 커플링까지 고려할 수 있도록 확장된 IPO기법을 제안한다. 제안된 기법은 기존의 기법에 비해 더 낮은 커플링을 달성하여 고품질의 코드를 얻을 수 있다.

Relative Contribution from Short-term to Long-term Flaring rate to Predicting Major Flares

  • Lim, Daye;Moon, Yong-Jae;Park, Eunsu;Park, Jongyeob;Lee, Kangjin;Lee, Jin-Yi;Jang, Soojeong
    • 천문학회보
    • /
    • 제44권1호
    • /
    • pp.52.3-52.3
    • /
    • 2019
  • We investigate a relative contribution from short to long-term flaring rate to predicting M and X-class flare probabilities. In this study, we consider magnetic parameters summarizing distribution and non-potentiality by Solar Dynamics Observatory/Helioseimic and Magnetic Imager and flare list by Geostationary Operational Environmental Satellites. A short-term rate is the number of major flares that occurred in an given active region (AR) within one day before the prediction time. A mid-term rate is a mean flaring rate from the AR appearance day to one day before the prediction time. A long-term rate is a rate determined from a relationship between magnetic parameter values of ARs and their flaring rates from 2010 May to 2015 April. In our model, the predicted rate is given by the combination of weighted three rates satisfying that their sum of the weights is 1. We calculate Brier skill scores (BSSs) for investigating weights of three terms giving the best prediction performance using ARs from 2015 April to 2018 April. The BSS (0.22) of the model with only long-term is higher than that with only short-term or mid-term. When short or mid-term are considered additionally, the BSSs are improved. Our model has the best performance (BSS = 0.29) when all three terms are considered, and their relative contribution from short to long-term rate are 19%, 23%, and 58%, respectively. This model seems to be more effective when predicting active solar ARs having several major flares.

  • PDF

LSTM을 이용한 재밍 기법 예측 (Prediction of Jamming Techniques by Using LSTM)

  • 이경훈;조제일;박정희
    • 한국군사과학기술학회지
    • /
    • 제22권2호
    • /
    • pp.278-286
    • /
    • 2019
  • Conventional methods for selecting jamming techniques in electronic warfare are based on libraries in which a list of jamming techniques for radar signals is recorded. However, the choice of jamming techniques by the library is limited when modified signals are received. In this paper, we propose a method to predict the jamming technique for radar signals by using deep learning methods. Long short-term memory(LSTM) is a deep running method which is effective for learning the time dependent relationship in sequential data. In order to determine the optimal LSTM model structure for jamming technique prediction, we test the learning parameter values that should be selected, such as the number of LSTM layers, the number of fully-connected layers, optimization methods, the size of the mini batch, and dropout ratio. Experimental results demonstrate the competent performance of the LSTM model in predicting the jamming technique for radar signals.

현수교 짧은 행어로프의 장력추정시 지점부 회전강성의 영향 (Effect of Support Rotational Stiffness on Tension Estimation of Short Hanger Ropes in Suspension Bridges)

  • 이정휘;노상곤;이영대;강병찬
    • 한국소음진동공학회논문집
    • /
    • 제23권10호
    • /
    • pp.869-877
    • /
    • 2013
  • Tension force of hanger ropes has been recognized and utilized as an important parameter for health monitoring of suspension bridges. Conventional vibration method based on string theory has been utilized to estimate tension forces of relatively long hanger ropes without any problem, however it is convinced that the vibration method is not applicable for shorter hanger ropes in which the influence of flexural stiffness is not ignorable. Therefore, as an alternative of vibration method, a number of feasibility studies of system identification(SI) technique considering flexural stiffness of the hanger ropes are recently performed. In this study, the influence of support condition of the finite element model utilized for the SI method is investigated with numerical examples. The numerical examples are prepared with the specification of the Kwang-Ahn bridge hanger ropes, and it is revealed that the estimation result of the tension force can be varied from -21.6 % to +35.3 % of the exact value according to the consideration of the support condition of FE model. Therefore, it is concluded that the rotational stiffness of the support spring should be included to the list of the identification parameters of the FE model to improve the result of tension estimation.

Empirical Forecast of Solar Proton Events based on Flare and CME Parameters

  • Park, Jin-Hye;Moon, Yong-Jae
    • 천문학회보
    • /
    • 제36권2호
    • /
    • pp.97.1-97.1
    • /
    • 2011
  • In this study we have examined the probability of solar proton events (SPEs) and their peak fluxes depending on flare (flux, longitude and impulsive time) and CME parameters (linear speed, longitude, and angular width). For this we used the NOAA SPE list and their associated flare data from 1976 to 2006 and CME data from 1997 to 2006. We find that about 3.5% (1.9% for M-class and 21.3% for X-class) of the flares are associated with SPEs. It is also found that this fraction strongly depends on longitude; for example, the fraction for $30W^{\circ}$ < L < $90W^{\circ}$ is about three times larger than that for $30^{\circ}E$ < L < $90^{\circ}E$. The SPE probability with long duration (${\geq}$ 0.3 hours) is about 2 (X-class flare) to 7 (M-class flare) times larger than that for flares with short duration (< 0.3 hours). In case of halo CMEs with V ${\geq}$ 1500km/s, 36.1% are associated with SPEs but in case of partial halo CME ($120^{\circ}$ ${\leq}$ AW < $360^{\circ}$) with 400 km/s ${\leq}$ V < 1000 km/s, only 0.9% are associated with SPEs. The relationships between X-ray flare peak flux and SPE peak flux are strongly dependent on longitude and impulsive time. The relationships between CME speed and SPE peak flux depend on longitude as well as direction parameter. From this study, we suggest a new SPE forecast method with three-steps: (1) SPE occurrence probability prediction according to the probability tables depending on flare and CME parameters, (2) SPE flux prediction from the relationship between SPE flux and flare (or CME) parameters, and (3) SPE peak time.

  • PDF

회전형 역 진자 시스템에 대한 계층적 공정 경쟁 기반 유전자 알고리즘을 이용한 최적 Fuzzy 제어기 설계 (Design of Optimized Fuzzy Controller by Means of HFC-based Genetic Algorithms for Rotary Inverted Pendulum System)

  • 정승현;최정내;오성권
    • 한국지능시스템학회논문지
    • /
    • 제18권2호
    • /
    • pp.236-242
    • /
    • 2008
  • 본 논문은 회전형 역 진자 시스템(Rotary Inverted Pendulum System : RIPS)에 대한 계층적 공정 경쟁 기반 유전자 알고리즘(Hierarchical Fair Competition-based Genetic Algorithms : HFCGA) 기반 최적 퍼지 제어기 설계를 제안한다. 회전형 역 진자 시스템의 제어를 위해 퍼지제어기를 사용하였으며, 이때 퍼지제어기의 규칙은 LQR(Linear Quadratic Regulator) 제어기를 기반으로 하여 설계하였다. 유전자 알고리즘은 전역해를 구할 수 있는 장점이 있어 많은 분야에 성공적으로 적용되고 있지만 조기수렴 문제로 인하여 지역해에 빠질 수 있다. 이러한 문제를 해결하기 위하여 병렬유전자 알고리즘이 개발되었으며, HFCGA는 병렬유전자 알고리즘을 개선한 방법 중의 하나이다. 본 논문에서는 퍼지 제어기의 파라미터의 최적화를 위해 계층적 공정 경쟁 기반 유전자 알고리즘을 사용하였다. 시뮬레이션 및 실험을 통하여 LQR 제어기, 기존 단순유전자 알고리즘(SGA)을 이용한 퍼지제어기와 제안된 HFCGA 기반 퍼지제어기의 성능 비교를 통하여 제안된 방법의 우수성을 보인다.

Laparoscopy Assisted versus Open Distal Gastrectomy with D2 Lymph Node Dissection for Advanced Gastric Cancer: Design and Rationale of a Phase II Randomized Controlled Multicenter Trial (COACT 1001)

  • Nam, Byung Ho;Kim, Young-Woo;Reim, Daniel;Eom, Bang Wool;Yu, Wan Sik;Park, Young Kyu;Ryu, Keun Won;Lee, Young Joon;Yoon, Hong Man;Lee, Jun Ho;Jeong, Oh;Jeong, Sang Ho;Lee, Sang Eok;Lee, Sang Ho;Yoon, Ki Young;Seo, Kyung Won;Chung, Ho Young;Kwon, Oh Kyoung;Kim, Tae Bong;Lee, Woon Ki;Park, Seong Heum;Sul, Ji-Young;Yang, Dae Hyun;Lee, Jong Seok
    • Journal of Gastric Cancer
    • /
    • 제13권3호
    • /
    • pp.164-171
    • /
    • 2013
  • Purpose: Laparoscopy-assisted distal gastrectomy for early gastric cancer has gained acceptance and popularity worldwide. However, laparoscopy-assisted distal gastrectomy for advanced gastric cancer is still controversial. Therefore, we propose this prospective randomized controlled multi-center trial in order to evaluate the safety and feasibility of laparoscopy assisted D2-gastrectomy for advanced stage gastric cancer. Materials and Methods: Patients undergoing distal gastrectomy for advanced gastric cancer staged cT2/3/4 cN0/1/2/3a cM0 by endoscopy and computed tomography are eligible for enrollment after giving their informed consent. Patients will be randomized either to laparoscopyassisted distal gastrectomy or open distal gastrectomy. Sample size calculation revealed that 102 patients are to be included per treatment arm. The primary endpoint is the non-compliance rate of D2 dissection; relevant secondary endpoints are three-year disease free survival, surgical and postoperative complications, hospital stay and unanimity rate of D2 dissection evaluated by reviewing the intraoperative video documentation. Discussion: Oncologic safety is the major concern regarding laparoscopy-assisted distal gastrectomy for advanced gastric cancer. Therefore, the non-compliance rate of clearing the N2 area was chosen as the most important parameter for the technical feasibility of the laparoscopic procedure. Furthermore, surgical quality will be carefully reviewed, that is, three independent experts will review the video records and score with a check list. For a long-term result, disease free survival is considered a secondary endpoint for this trial. This study will offer promising evidence of the feasibility and safety of Laparoscopy-assisted distal gastrectomy for advanced gastric cancer. Trial Registration: NCT01088204 (international), NCCCTS-09-448 (Korea).