Recently Published
Neural Networks
The code demonstrates how to build a simple neural network in R. It starts by installing and loading necessary libraries. Random input data is generated, and the output is computed as the square root of the sum of inputs. The input and output are combined into a dataframe, and a neural network is configured with one hidden layer containing three neurons. The network is trained to predict the output based on the inputs, with training stopping when the error is below a set threshold. Finally, the trained network's results are printed and visualized with a plot for further analysis.
Logistic Regression,Neural Networks and Clustering
This project involves classifying 293 images (plants, animals, and fruits) using logistic regression, neural networks, and clustering in R. Images are preprocessed and reduced via PCA, with logistic regression achieving 44.19% accuracy. Neural networks improved with more hidden neurons, reaching 77.82% accuracy. Clustering (K-means and hierarchical) was explored, though the Hopkins statistic (0.34) suggested weak clustering tendencies. Key challenges included misclassifying plants and overall low model performance, indicating room for optimization. Libraries like imager, dplyr, and caret were used for processing, modeling, and evaluation, with a focus on improving feature selection and classification accuracy.