| CARVIEW |
Select Language
HTTP/2 200
date: Mon, 19 Jan 2026 04:39:53 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"0372c2265ac30377732da2190ce5e8e9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=cE73Z5JI7Idvyf8A9b5MM6jyWnGGe7gROzG5Vto8QV3tLv2AqYdcuLPOXT%2BA8BFU0Fdo%2BEV8NAaCr57cbFqq8dLoWMIaPkr8bW0ZLjBub8Kj6%2BSmVU2j6dlKJqE%2FOiNvrH0CN%2FdyHTuLB2dedIQOMVib9Cpo1L62fU0HenEaUU6dUkCSOmp0T%2FPrQocmY%2FkWIB7ZCJElcC59n3SXPyVYIeTSvrEReLg%2BDRRNGSSr9bBCqdPVC%2BfAQRygk79MZP4B0Vw5rlnZfz%2BzBAYvZfxqNg%3D%3D--Gauv2PJfa5j9rNV4--rOcMcAxoLieXUTE4atujKQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.129815133.1768797592; Path=/; Domain=github.com; Expires=Tue, 19 Jan 2027 04:39:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 19 Jan 2027 04:39:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DCA0:3D7613:28F75E2:3125836:696DB598
GitHub - realbigws/DeepCNF_AUC: Training Conditional Random Fields (CRF) by Maximizing Area Under the ROC Curve (AUC)
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3
Training Conditional Random Fields (CRF) by Maximizing Area Under the ROC Curve (AUC)
License
realbigws/DeepCNF_AUC
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
----------------------- DeepCNF_Package (v1.02) date: 2015.05.30 ----------------------- Title: Training Conditional Random Fields by Maximizing AUC Author: Sheng Wang Contact email: realbigws@gmail.com References: 1. AUC-maximized Deep Convolutional Neural Fields for Protein Sequence Labeling Sheng Wang#, Siqi Sun, Jinbo Xu ECML/PKDD, 2016 https://link.springer.com/chapter/10.1007/978-3-319-46227-1_1 2. AUCpreD: Proteome-level Protein Disorder Prediction by AUC-maximized Deep Convolutional Neural Fields Sheng Wang#, Jianzhu Ma, Jinbo Xu ECCB, 2016 Bioinformatics, 2016 https://academic.oup.com/bioinformatics/article-abstract/32/17/i672/2450776 -------------------------------------------------------- ========= Abstract: ========= 1. The training program of Deep Convolutional Neural Filed ( DeepCNF ) for maximizing (1) log probability, (2) posterior probability , or (3) AUC value. 2. The predicting program of DeepCNF for a given feature file by using a trained model. ======== Install: ======== 1. download the package git clone https://github.com/realbigws/DeepCNF_AUC/ cd DeepCNF_AUC/ +++++++++++++++++++++ 2. compile 2.1 compile under single CPU cd source_code/ make cd ../ ------------- 2.2 compile under MPI/OpenMP cd source_code/ make mpi cd ../ ====== Usage: ====== 1. DeepCNF_Train Usage : mpirun -np NP ./DeepCNF_Train -r train_file -t test_file -w window_str -d node_str -s state_num -l feat_num [-S feat_select] [-n finetune_num] [-f finetune_reg] [-m init_model] [-o out_root] [-G gate_function] [-W label_weight] [-M method] [-D AUC_degree] Options: -np NP : number of processors. -r train_file : training file. -t test_file : testing file. -w window_str : window string for DeepCNF. e.g., '5,5' -d node_str : node string for DeepCNF. e.g., '40,20' -s state_num : state number. -l feat_num : feature number at each position. -S feat_select : feature selection. e.g., '1-7,9' [default uses all features] -n finetune_num : fine-tune iteration number. [default is 200] -f finetune_reg : fine-tune regularizer. [default is 0.5] -m init_model : file for initial model parameters. [optional, and default is NULL] -o out_root : output directory for trained models. [optional, and default is 'MODELS/'] -G gate_function : gate function type: sigmoid (1), tanh (2), and relu (0). [default is 1] -M method : maximize log_prob (0), posterior_prob (1), or AUC (2). [default is 0] -W label_weight : label weight. e.g., '0.1,0.9'. [default is 1 for each label] -D AUC_degree : degree (1-30) of polynomials for AUC [default is 3]. ------------------------------------- 2. DeepCNF_Pred Usage : ./DeepCNF_Pred -i input_file -w window_str -d node_str -s state_num -l feat_num -m init_model [-S feat_select] Options: -i input_file : input feature file. -w window_str : window string for DeepCNF. e.g., '5,5' -d node_str : node string for DeepCNF. e.g., '40,20' -s state_num : state number. -l feat_num : feature number at each position. -m init_model : file for trained model. -S feat_select : feature selection. e.g., '1-7,9' [default uses all features] --------------------------------------- ======== Example: ======== 1. Maximize log probability: cd examples/ ./DeepCNF_Train -r 2fzlA.reso -t 2fzlA.reso -w 5 -d 5 -s 3 -l 40 -n 50 cd ../ --------------------- 2. Maximize AUC value: cd examples/ ./DeepCNF_Train -r 1kq1S.feat -t 1kq1S.feat -w 5 -d 5 -s 2 -l 129 -n 50 -M 2 cd ../ --------------------- 3. Predict the labels of a given feature file by using a certain model: cd examples/ ./DeepCNF_Pred -i 1kq1S.feat -w 5 -d 5 -s 2 -l 129 -m model.10 cd ../ --------------------- 4. make feature file for DeepCNF cd examples/ ./DeepCNF_FeatMake 5fgnA.profile 5fgnA.label > 5fgnA.feat cd ../ ================== Input file format: ================== 1. Training data format //-> data format ( length, features, labels [should be authentic] ) //-> example below: 78 feat1 feat2 feat3, ..., featN .... (with 78 feature lines) 0 1 0 2 ... ( with 78 label lines) 54 feat1 feat2 feat3, ..., featN .... (with 54 feature lines) 0 1 0 2 ... ( with 54 label lines) ---------------------------------- 2. Testing data format //-> data format ( length, features, labels [can be anything] ) //-> example below: 78 feat1 feat2 feat3, ..., featN .... (with 78 feature lines) -1 -1 -1 -1 ... ( with 78 label lines) 54 feat1 feat2 feat3, ..., featN .... (with 54 feature lines) -1 -1 -1 -1 ... ( with 54 label lines)
About
Training Conditional Random Fields (CRF) by Maximizing Area Under the ROC Curve (AUC)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.