Recently Published
MANOVA
Tugas Praktikum ADM1
Authenthic Machine Learning
This document explores machine learning techniques for image classification using a dataset of images organized into categories. It begins by loading necessary libraries and defining functions to load, resize, and preprocess images. The images are then transformed into a data frame with flattened pixel values and labels. Principal Component Analysis (PCA) reduces dimensionality, followed by splitting the data into training and testing sets. Various models, including logistic regression and neural networks, are trained and evaluated for classification accuracy. Additionally, hierarchical clustering and k-means clustering are performed, visualizing relationships among data points, enhancing the analysis of image patterns.
TUGAS 7 KOMSTAT
MEISYA PUTERI SIAGIAN_23337011
TUGAS 3
KOMSTAT
duckdb test
samsung stk (south korea) during 2024.10
neural network
The document illustrates the process of training a neural network to predict the square root of the sum of two randomly generated inputs. It begins by loading necessary libraries and generating a dataset with 100 random input values. The output is calculated as the square root of the sum of these inputs. The data is then organized into a dataframe, and the neural network is configured with a specified hidden layer structure. The model is trained using the neuralnet package, with results printed and visualized, demonstrating a clear example of neural network implementation in R for function approximation.
Haberman survival dataset
is R Markdown document analyzes the Haberman dataset, focusing on patient survival following breast cancer surgery. It begins by loading necessary libraries and importing the dataset, followed by exploratory data analysis through histograms and boxplots to visualize age distribution, operation years, and axillary node counts. A neural network model is constructed using normalized features, predicting survival status based on age, operation year, and axillary nodes. The model is evaluated with a confusion matrix, and accuracy is calculated. This analysis aims to understand survival patterns and develop predictive insights from patient data.