Repository logo
UWU eRepository
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Gàidhlig
  • Italiano
  • Latviešu
  • Magyar
  • Nederlands
  • Polski
  • Português
  • Português do Brasil
  • Suomi
  • Svenska
  • Türkçe
  • Tiếng Việt
  • Қазақ
  • বাংলা
  • हिंदी
  • Ελληνικά
  • Yкраї́нська
  • Log In
    New user? Click here to register.Have you forgotten your password?
Repository logo

UWU eRepository

  • Communities & Collections
  • All of DSpace
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Gàidhlig
  • Italiano
  • Latviešu
  • Magyar
  • Nederlands
  • Polski
  • Português
  • Português do Brasil
  • Suomi
  • Svenska
  • Türkçe
  • Tiếng Việt
  • Қазақ
  • বাংলা
  • हिंदी
  • Ελληνικά
  • Yкраї́нська
  • Log In
    New user? Click here to register.Have you forgotten your password?
  1. Home
  2. Browse by Author

Browsing by Author "Karunaratne, A.S."

Now showing 1 - 2 of 2
Results Per Page
Sort Options
  • No Thumbnail Available
    Item
    Is Rainfall Prediction Model Tested in One-Time Point Sufficient?
    (Uva Wellassa University of Sri Lanka, 2020) Dananjali, K.T.; Ekanayake, J.B.; Karunaratne, A.S.; Kumara, B.T.G.S.
    Many rainfall predictions models have been proposed. The common methodology followed by those models is that the model is trained using the data before the target and tested the model in one or a few points and claimed that the model is generalized. However, this project shows that the above procedure is not sufficient to generalize a rainfall prediction model as in some target periods the models failed to achieve a decent prediction quality. The models such as Multilayer Perceptron (MLP), M5P, and Linear Regression-were trained from the weather data collected between the years 2002 and 2015 from the station located at Badulla, Sri Lanka. Initially, the target period was set in the last week of the dataset and the training period was one week before the target week. Then, the training period was extended by one week, until the maximum length of the training period reached, keeping the target fixed. Next, the target period was brought back one week and the same procedure was repeated resulting in 695 models. The prediction quality was measured using Mean Absolute Error (MAE) and represented in heat-maps. The heat-maps show that the prediction quality varies over time. The highest accuracy was given by the MLP so that the MAE has fallen between 0 and 10 mm in 61.7% of the total instances. This indicates that testing models in one or a few time points are not sufficient for the generalization. Further, the reasons for such drastic changes in prediction quality will be investigated in our future projects. Keywords: Linear regression, M5P, Prediction, Multilayer perceptron, Rainfall
  • Loading...
    Thumbnail Image
    Item
    K-Means Clustering Algorithm to Predict the Badulla Tomato Price Based on Weather Factors
    (Uva Wellassa University of Sri Lanka, 2019-02) Dananjali, K.T.; Ekanayake, J.B.; Karunaratne, A.S.
    Tomato is one of the most important cash crops in Sri Lanka and tomato is cultivating in several areas of the country. Among them, tomato farming in Badulla significantly contributes to the total local tomato production. However, the producer price of Badulla tomato is subjected to the fluctuation within a short period of time. Hence, farmers face great difficulties when selling their products. This study was aimed to explore the influence of weather factors on Badulla tomato price fluctuation. The data was collected from the Meteorological Department of Sri Lanka and the Hector Kobbekaduwa Agrarian and Research Institute for the past 10 years (2005-2015). These are the considered Badulla district weather factors: rainfall (BR), minimum (MinTB)/maximum (MxTB) temperature, minimum (MinRH)/maximum (MxRH) relative humidity and the farm gate price of tomato at Badulla district (BTP). The Data set was consisted only quantitative data and there were 574 instances. Analysis and investigation were done using data mining techniques. After preprocessing of data, 66% percentage from the total number of instances were considered as training data. The K-Means algorithm was used to cluster the above data vectors. The Euclidean distance function was used to compare the data vectors. The strength of K-Means clustering was validated using Elbow cluster validation technique. Five clusters were formed as the best number of clusters. Within cluster sum of squared errors: 24.68 and 15 number of iterations were performed within the clustering model. Highest Badulla tomato price centroid value was: Rs.49, other cluster centroid values were BR: 27.6mm, MxTB: 27.6 o C, MinTB: 14.2 o C, MxRH: 96.06%, MinRH: 63.1% of that cluster. As results of this research, it is possible to predict best weather conditions which are giving highest Badulla Tomato Price. That will be helpful for farmers as well as the decision makers to take correct decisions related to tomato farming.
Copyright©2023.Uva Wellassa University, Sri Lanka |Maintained by Library-UWU