Skip to content

JackBlueBird/MHPC.ML.Group.Project.Team.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

MHPC.ML.Group.Project.Team.2

Repository for final assignment of course P2.7_ML_intro_24_25, Student Team number 2

Instructions

Copy the input data files for the assignment in the data folder, then run the jupiter notebook where you can find comments and analysis of the results in markdown cells. Important: some input files were committed on the course repository and should be copied from there, the other dataset files are available on cluster.

cuda libraries are necessary only for the regression part, data exploration and clustering do not need them.

Tasks

  1. Data Pre-Processing & Regression Pipeline (Ludwig Asturias)

    Load the data from the .npy and information files. Implement the NaN handling (median replacement) for each spectrum. Perform exploratory data analysis by plotting random spectra. Set up the regression task: Filter for valid fe_h labels. Split the data into training and testing sets. Train and tune the RandomForestRegressor, LinearRegression, and KNeighborsRegressor. Plot the true vs. predicted values. Summarize the MSE results in a table.

  2. Dimensionality Reduction and Visualization (Giacomo Zuccarino)

    Apply PCA to the spectra_withgalah dataset: Plot the explained variance ratio. Generate scatter plots of PCA-transformed data (e.g. components 0/1, 0/2). Reconstruct and plot the first 3 PCA components in the original spectra space. Repeat the PCA analysis on the spectraNOgal dataset and compare the results. (Optional) Explore additional techniques like t-SNE or UMAP if time permits.

  3. Clustering & Anomaly Detection (André Feitosa Benevides)

    Using the PCA-reduced space from spectraNOgal: Run a clustering algorithm (e.g. K-Means or DBSCAN). For each cluster, compute and plot the average spectrum. Implement anomaly detection using IsolationForest on the high-dimensional spectraNOgal data: Identify the 5 most anomalous spectra. Overlay these anomalies on the PCA scatter plot. Plot the individual anomalous spectra and provide observations.

About

Repository for final assignment of course P2.7_ML_intro_24_25, Student Team number 2

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors