Claim Missing Document
Check
Articles

Found 3 Documents
Search
Journal : Journal of Applied Data Sciences

How Effective are Different Machine Learning Algorithms in Predicting Legal Outcomes in South Africa? Khosa, Joe; Mashao, Daniel; Olanipekun, Ayorinde; Harley, Charis
Journal of Applied Data Sciences Vol 5, No 4: DECEMBER 2024
Publisher : Bright Publisher

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47738/jads.v5i4.215

Abstract

This study examines the effectiveness of different machine learning algorithms in predicting legal outcomes in South Africa's Judiciary system. Considering the advancement of artificial intelligence in the legal sector, this research aims to assess the effectiveness of various machine learning algorithms within the legal domain. Text classification is done using machine learning algorithms, including Logistic Regression, Random Forest, and K-Nearest Neighbours, with datasets obtained from a state legal firm in South Africa. The datasets undergo diligent data cleansing and pre-processing methods, encompassing tokenization and lemmatization techniques. This study evaluates these models' applications through accuracy metrics. The findings demonstrate that the Logistic Regression model attained an accuracy rate of 75.05%, whereas the Random Forest algorithm achieved an accuracy rate of 75.08%. On the other hand, the K-Nearest Neighbours algorithm exhibited no optimal performance, as evidenced by its accuracy rate of 62.76%. This study provides valuable insights for legal professionals by addressing a specific research question about the successful application of machine learning in South Africa's legal sector. The results indicate the possibility of using machine learning to predict the outcomes of criminal legal cases. Additionally, this study highlights the significance of responsibly and ethically implementing machine learning within the legal field. The results of this study enhance our comprehension of the prediction of legal outcomes, establishing a foundation for future investigations in this dynamic area of study. A limitation of this study is that the data was obtained from a single law firm in South Africa.
An Improved Prediction of Transparent Conductor Formation Energy using PyCaret: An Open-Source Machine Learning Library Olanipekun, Ayorinde Tayo; Mashao, Daniel
Journal of Applied Data Sciences Vol 5, No 4: DECEMBER 2024
Publisher : Bright Publisher

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47738/jads.v5i4.202

Abstract

Designing innovative materials is necessary to solve vital energy, health, environmental, social, and economic challenges. Transparent conductors are compounds that combine low absorption visible range and good electrical conductivity, which are essential properties for conductors. Technological devices such as photovoltaic cells, transistors, photovoltaic cells and sensors majorly rely on combining the two properties due to their relevancy in an optoelectronic application. Meanwhile, fewer compounds exhibit both outstanding conductivity and transparency suitable for their application in transparent conducting materials. Kaggle hosted an open big-data competition organized by novel material discovery (NOMAD) to address the importance of finding new material with the ideal functionality. The competition was organized to identify the best machine learning (ML) to predict formation enthalpy (indicating stability) for 3000  (AlxGaylnz)2NO3Ncompounds datasets; where x, y, and z can vary from the constraints x+y+z=1. Here we present a prediction using an open-source machine learning library in Python called PyCaret to summarise top-ranked ML algorithms. The gradient boosting regressor (GBR) model performed best with MAE 0.0281, MSE 0.0018 and R2 0.84. The research shows that Machine learning can significantly accelerate the discovery and optimization of materials while reducing cost of computation and required time. Low code tools like PyCaret were used to enhance the machine learning applications in materials science, paving way for more efficient materials discovery processes.
Sentimental Analysis of Legal Aid Services: A Machine Learning Approach Khosa, Joe; Mashao, Daniel; Olanipekun, Ayorinde
Journal of Applied Data Sciences Vol 6, No 2: MAY 2025
Publisher : Bright Publisher

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.47738/jads.v6i2.521

Abstract

Legal Aid services in South Africa, administered by Legal Aid South Africa (SA), aim to provide essential legal representation to vulnerable individuals lacking financial resources. Despite its significant role, there is a pervasive perception among the public that the quality of these state-funded services is substandard, often leading to negative attitudes towards the organization. This research employs sentiment analysis to evaluate client perceptions of Legal Aid SA's services, using a dataset of 5,246 entries from Twitter and the Internal client feedback system between 2019 and 2024. The study utilizes various machine learning algorithms, including Naive Bayes, Stochastic Gradient Descent (SGD), Random Forest, Support Vector Classification (SVC), Logistic Regression, and Extreme Gradient Boosting (XGBoost), to analyze sentiment polarity and classify feedback into positive, neutral, and negative sentiments. The accuracy, precision, recall, and F1 scores assessed model performance. The SVC and XGBoost models demonstrated superior performance, achieving testing accuracies of 90.10% and 90.00%, respectively. In contrast, Naive Bayes and Logistic Regression lagged, with test accuracies of 82.00% and 85.00%, respectively. The findings reveal that most responses are either neutral or positive, suggesting a predominantly favourable impression of Legal Aid services. This research not only aims to enhance Legal Aid SA's service offerings but may also provide valuable insights for similar organizations globally.