Probabilistic Graphical Models, Fall 2021

Class Projects from courses such as Probabilistic Graphical Network, Biostatistics II, etc.

Probabilistic Graphical Models, Fall 2021

Postby cwyoo » Fri Aug 20, 2021 1:46 pm

Probabilistic Graphical Models, Fall 2021. Please post your weekly proposed outcome here every Friday.
cwyoo
Site Admin
 
Posts: 378
Joined: Sun Jun 22, 2014 2:38 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby rpazo001 » Tue Oct 12, 2021 7:26 pm

Here is the script for Step One and Two from my project. So basically, the data is cleaned and normalized. Top 10 results related to ZRvsZD10days recovered will be uploaded into the BN network.
Attachments
Class Project Script.R
(13.48 KiB) Downloaded 48 times
rpazo001
 
Posts: 58
Joined: Fri May 29, 2020 12:34 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby nsun004 » Fri Oct 22, 2021 11:21 pm

Hi Dr. Yoo,

Here is the merged and cleaned data I have for now. It has 3882 obs and 139 variables. Thank you.
Attachments
df40.csv
(2.63 MiB) Downloaded 38 times
nsun004
 
Posts: 3
Joined: Thu Sep 09, 2021 12:50 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby rpazo001 » Fri Oct 29, 2021 11:03 am

Update for Project

The data has been discretized and the model network has been constructed ( Naive Bayesian Network).
Step 3 and 4 have been modifed from the proposal.
Step 3 : Data was discretized using -1 (downregulated), not significant (0), 1( upregulated). All datapoints had a logfold change greater than |2| and adjusted p-vale of less than 0.05.
Step 4: I did not use this step as it is necessary for bigger networks because this network only has the top 15 genes, it is not necessary. I completed step 5 instead which was to create a model network. I created a Naive Bayes Network around the gene Dzip3.
Attachments
Class Project Script.R
(16.58 KiB) Downloaded 48 times
rpazo001
 
Posts: 58
Joined: Fri May 29, 2020 12:34 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby rpazo001 » Fri Oct 29, 2021 11:05 am

Here is an image of the proposed network
Attachments
class project network.jpeg
class project network.jpeg (113.61 KiB) Viewed 1104 times
rpazo001
 
Posts: 58
Joined: Fri May 29, 2020 12:34 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby nsun004 » Fri Oct 29, 2021 11:21 pm

This week I log transformed the data and also discretized it. Now I have both continuous and discrete data ready for analysis. I tried a network with fast.iamb and it returned a network with some nodes having no arcs. I will keep on improving the network next week. Thank you.
nsun004
 
Posts: 3
Joined: Thu Sep 09, 2021 12:50 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby mlwilcox » Tue Nov 02, 2021 3:17 pm

Attached is the metadata and OTU table for the 16S rRNA data, both downloaded from the Human Microbiome Project (https://ibdmdb.org/tunnel/public/summary.html)

I have started looking into my outcome variable (symptoms of inflammatory bowel disease) and the various sleep measures available in the data (8 measures). The attached PowerPoint summarizes these data, as well as lists decisions that have been made and items that I plan to work on in the upcoming week.
Attachments
HMP2_16S_OTU table.csv
(455.22 KiB) Downloaded 43 times
hmp2_metadata.csv
(8.56 MiB) Downloaded 50 times
Wilcox_2021.11.02.pptx
(511.63 KiB) Downloaded 45 times
mlwilcox
 
Posts: 11
Joined: Thu Apr 29, 2021 7:51 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby rpazo001 » Fri Nov 12, 2021 12:08 pm

This week I created more models and call equations. I also meaure arc strengh and and calculated each models network score.

Next week I will run the both exact and aproximate inferance, which keeps me on target for the proposal.
rpazo001
 
Posts: 58
Joined: Fri May 29, 2020 12:34 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby nsun004 » Fri Nov 12, 2021 11:22 pm

This week I created two average networks with Hillclimbing and tabu, and then simplified them with threshold = 0.85. Two networks are slightly different. It is interesting to see that the arcs are mostly from disease to metals, not from metals to disease. I am gonna fit parameters.
Attachments
Rplot02.png
Rplot02.png (13.94 KiB) Viewed 1067 times
Rplot01.png
Rplot01.png (11.02 KiB) Viewed 1067 times
nsun004
 
Posts: 3
Joined: Thu Sep 09, 2021 12:50 pm

Re: Probabilistic Graphical Models, Fall 2021

Postby mlwilcox » Tue Nov 16, 2021 2:31 pm

Attached is my updated proposal, an updated PPT, and a GeNIe file for my initial BN. I learned the BN structure using the hill-climbing algorithm based on the log likelihood score and setting the maximum number of parents per node to 3. I plan to look into increasing the maximum number of parents per node to see if this improves the model.
Attachments
HMP2_bn1_GeNIe.xdsl
GeNIe file for BN
(23.31 KiB) Downloaded 39 times
Wilcox_Proposal PHC6067 16Nov2021.docx
Updated proposal
(91.87 KiB) Downloaded 47 times
Wilcox_2021.11.15 v2.pptx
Updated PowerPoint
(506.81 KiB) Downloaded 46 times
mlwilcox
 
Posts: 11
Joined: Thu Apr 29, 2021 7:51 pm

Next

Return to Class Projects

Who is online

Users browsing this forum: No registered users and 6 guests