Commit f27d42c3 by 靓靓

upload files

parent e89e6983
++ "b/\345\275\225\346\222\255/3-\346\225\260\346\215\256\345\244\204\347\220\206/.gitkeep"
# Default ignored files
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
<component name="InspectionProjectProfileManager">
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredIdentifiers">
<list>
<option value="tensorflow.compat" />
</list>
</option>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (GoT2G-F-main) (2)" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/特征工程.iml" filepath="$PROJECT_DIR$/.idea/特征工程.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="US-ASCII"?>
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE BlastOutput PUBLIC "-//NCBI//NCBI BlastOutput/EN" "http://www.ncbi.nlm.nih.gov/dtd/NCBI_BlastOutput.dtd">
<BlastOutput>
<BlastOutput_program>blastp</BlastOutput_program>
<BlastOutput_version>BLASTP 2.17.0+</BlastOutput_version>
<BlastOutput_reference>Stephen F. Altschul, Thomas L. Madden, Alejandro A. Sch&amp;auml;ffer, Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), &quot;Gapped BLAST and PSI-BLAST: a new generation of protein database search programs&quot;, Nucleic Acids Res. 25:3389-3402.</BlastOutput_reference>
<BlastOutput_db>nr</BlastOutput_db>
<BlastOutput_query-ID>Query_613691</BlastOutput_query-ID>
<BlastOutput_query-def>lcl|1 unnamed protein product</BlastOutput_query-def>
<BlastOutput_query-len>93</BlastOutput_query-len>
<BlastOutput_param>
<Parameters>
<Parameters_matrix>BLOSUM62</Parameters_matrix>
<Parameters_expect>0.05</Parameters_expect>
<Parameters_gap-open>11</Parameters_gap-open>
<Parameters_gap-extend>1</Parameters_gap-extend>
<Parameters_filter>F</Parameters_filter>
</Parameters>
</BlastOutput_param>
<BlastOutput_iterations>
<Iteration>
<Iteration_iter-num>1</Iteration_iter-num>
<Iteration_query-ID>Query_613691</Iteration_query-ID>
<Iteration_query-def>lcl|1 unnamed protein product</Iteration_query-def>
<Iteration_query-len>93</Iteration_query-len>
<Iteration_hits>
<Hit>
<Hit_num>1</Hit_num>
<Hit_id>pdb|7KAE|A</Hit_id>
<Hit_def>Chain A, Regulatory protein rop [Escherichia coli] &gt;pdb|7KAE|B Chain B, Regulatory protein rop [Escherichia coli]</Hit_def>
<Hit_accession>7KAE_A</Hit_accession>
<Hit_len>65</Hit_len>
<Hit_hsps>
<Hsp>
<Hsp_num>1</Hsp_num>
<Hsp_bit-score>53.1434</Hsp_bit-score>
<Hsp_score>126</Hsp_score>
<Hsp_evalue>1.67188e-06</Hsp_evalue>
<Hsp_query-from>1</Hsp_query-from>
<Hsp_query-to>93</Hsp_query-to>
<Hsp_hit-from>1</Hsp_hit-from>
<Hsp_hit-to>65</Hsp_hit-to>
<Hsp_query-frame>0</Hsp_query-frame>
<Hsp_hit-frame>0</Hsp_hit-frame>
<Hsp_identity>41</Hsp_identity>
<Hsp_positive>51</Hsp_positive>
<Hsp_gaps>28</Hsp_gaps>
<Hsp_align-len>93</Hsp_align-len>
<Hsp_qseq>MGHHHHHHGTPEEKQALQMAKQIKQQAQEIQKQTEELLKKVQELLKKLHQLGAPEMAKIAEELHKHAEALKQAAEEFYKHAEELHKAAEARWG</Hsp_qseq>
<Hsp_hseq>MGHHHHHHGTKQEKTALNMARFIQNQ--------------TQTLLEKLNELDADEQADIAESLH--------------DHADELYRSALARWG</Hsp_hseq>
<Hsp_midline>MGHHHHHHGT +EK AL MA+ I+ Q Q LL+KL++L A E A IAE LH HA+EL+++A ARWG</Hsp_midline>
</Hsp>
</Hit_hsps>
</Hit>
<Hit>
<Hit_num>2</Hit_num>
<Hit_id>ref|WP_068840410.1|</Hit_id>
<Hit_def>Rop family plasmid primer RNA-binding protein [Salmonella enterica] &gt;gb|OCT02482.1| hypothetical protein A7B04_25020 [Salmonella enterica subsp. enterica]</Hit_def>
<Hit_accession>WP_068840410</Hit_accession>
<Hit_len>63</Hit_len>
<Hit_hsps>
<Hsp>
<Hsp_num>1</Hsp_num>
<Hsp_bit-score>45.0542</Hsp_bit-score>
<Hsp_score>105</Hsp_score>
<Hsp_evalue>0.00198286</Hsp_evalue>
<Hsp_query-from>10</Hsp_query-from>
<Hsp_query-to>93</Hsp_query-to>
<Hsp_hit-from>2</Hsp_hit-from>
<Hsp_hit-to>57</Hsp_hit-to>
<Hsp_query-frame>0</Hsp_query-frame>
<Hsp_hit-frame>0</Hsp_hit-frame>
<Hsp_identity>30</Hsp_identity>
<Hsp_positive>40</Hsp_positive>
<Hsp_gaps>28</Hsp_gaps>
<Hsp_align-len>84</Hsp_align-len>
<Hsp_qseq>TPEEKQALQMAKQIKQQAQEIQKQTEELLKKVQELLKKLHQLGAPEMAKIAEELHKHAEALKQAAEEFYKHAEELHKAAEARWG</Hsp_qseq>
<Hsp_hseq>TKQEKTALNMARIIKTQ--------------TRTLLKKLNKLDADEQADICESLH--------------DHADELYRSCLARFG</Hsp_hseq>
<Hsp_midline>T +EK AL MA+ IK Q + LLKKL++L A E A I E LH HA+EL+++ AR+G</Hsp_midline>
</Hsp>
</Hit_hsps>
</Hit>
<Hit>
<Hit_num>3</Hit_num>
<Hit_id>ref|WP_105178307.1|</Hit_id>
<Hit_def>Rop family plasmid primer RNA-binding protein [Klebsiella pneumoniae] &gt;gb|PPJ97315.1| Rop family plasmid primer RNA-binding protein [Klebsiella pneumoniae]</Hit_def>
<Hit_accession>WP_105178307</Hit_accession>
<Hit_len>63</Hit_len>
<Hit_hsps>
<Hsp>
<Hsp_num>1</Hsp_num>
<Hsp_bit-score>43.1282</Hsp_bit-score>
<Hsp_score>100</Hsp_score>
<Hsp_evalue>0.0120913</Hsp_evalue>
<Hsp_query-from>10</Hsp_query-from>
<Hsp_query-to>93</Hsp_query-to>
<Hsp_hit-from>2</Hsp_hit-from>
<Hsp_hit-to>57</Hsp_hit-to>
<Hsp_query-frame>0</Hsp_query-frame>
<Hsp_hit-frame>0</Hsp_hit-frame>
<Hsp_identity>29</Hsp_identity>
<Hsp_positive>39</Hsp_positive>
<Hsp_gaps>28</Hsp_gaps>
<Hsp_align-len>84</Hsp_align-len>
<Hsp_qseq>TPEEKQALQMAKQIKQQAQEIQKQTEELLKKVQELLKKLHQLGAPEMAKIAEELHKHAEALKQAAEEFYKHAEELHKAAEARWG</Hsp_qseq>
<Hsp_hseq>TKQEKTALNMARFIRSQ--------------TLTLLEKLHELDADEQADICESLH--------------DHADELYRSCLARFG</Hsp_hseq>
<Hsp_midline>T +EK AL MA+ I+ Q LL+KLH+L A E A I E LH HA+EL+++ AR+G</Hsp_midline>
</Hsp>
</Hit_hsps>
</Hit>
</Iteration_hits>
<Iteration_stat>
<Statistics>
<Statistics_db-num>936828191</Statistics_db-num>
<Statistics_db-len>355460431291</Statistics_db-len>
<Statistics_hsp-len>0</Statistics_hsp-len>
<Statistics_eff-space>0</Statistics_eff-space>
<Statistics_kappa>0.041</Statistics_kappa>
<Statistics_lambda>0.267</Statistics_lambda>
<Statistics_entropy>0.14</Statistics_entropy>
</Statistics>
</Iteration_stat>
</Iteration>
</BlastOutput_iterations>
</BlastOutput>
>9CFS_1|Chains A, B|Long regulatory protein rop|Escherichia coli (562)
>9CFS_1|Chains A, B|Long regulatory protein rop|Escherichia coli (562)
MGHHHHHHGTPEEKQALQMAKQIKQQAQEIQKQTEELLKKVQELLKKLHQLGAPEMAKIAEELHKHAEALKQAAEEFYKHAEELHKAAEARWG
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="US-ASCII"?>
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE BlastOutput PUBLIC "-//NCBI//NCBI BlastOutput/EN" "http://www.ncbi.nlm.nih.gov/dtd/NCBI_BlastOutput.dtd">
<BlastOutput>
<BlastOutput_program>blastp</BlastOutput_program>
<BlastOutput_version>BLASTP 2.17.0+</BlastOutput_version>
<BlastOutput_reference>Stephen F. Altschul, Thomas L. Madden, Alejandro A. Sch&amp;auml;ffer, Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), &quot;Gapped BLAST and PSI-BLAST: a new generation of protein database search programs&quot;, Nucleic Acids Res. 25:3389-3402.</BlastOutput_reference>
<BlastOutput_db>nt</BlastOutput_db>
<BlastOutput_query-ID>Query_3881555</BlastOutput_query-ID>
<BlastOutput_query-def>unnamed protein product</BlastOutput_query-def>
<BlastOutput_query-len>93</BlastOutput_query-len>
<BlastOutput_param>
<Parameters>
<Parameters_matrix>BLOSUM62</Parameters_matrix>
<Parameters_expect>10</Parameters_expect>
<Parameters_gap-open>11</Parameters_gap-open>
<Parameters_gap-extend>1</Parameters_gap-extend>
<Parameters_filter>F</Parameters_filter>
</Parameters>
</BlastOutput_param>
<BlastOutput_iterations>
<Iteration>
<Iteration_iter-num>1</Iteration_iter-num>
<Iteration_query-ID>Query_3881555</Iteration_query-ID>
<Iteration_query-def>unnamed protein product</Iteration_query-def>
<Iteration_query-len>93</Iteration_query-len>
<Iteration_hits>
</Iteration_hits>
<Iteration_stat>
<Statistics>
<Statistics_db-num>0</Statistics_db-num>
<Statistics_db-len>0</Statistics_db-len>
<Statistics_hsp-len>0</Statistics_hsp-len>
<Statistics_eff-space>0</Statistics_eff-space>
<Statistics_kappa>-1</Statistics_kappa>
<Statistics_lambda>-1</Statistics_lambda>
<Statistics_entropy>-1</Statistics_entropy>
</Statistics>
</Iteration_stat>
</Iteration>
</BlastOutput_iterations>
</BlastOutput>
LOCUS NC_000913 4641652 bp DNA circular CON 09-MAR-2022
LOCUS NC_000913 4641652 bp DNA circular CON 09-MAR-2022
DEFINITION Escherichia coli str. K-12 substr. MG1655, complete genome.
ACCESSION NC_000913
VERSION NC_000913.3
DBLINK BioProject: PRJNA57779
BioSample: SAMN02604091
KEYWORDS RefSeq.
SOURCE Escherichia coli str. K-12 substr. MG1655
ORGANISM Escherichia coli str. K-12 substr. MG1655
Bacteria; Pseudomonadati; Pseudomonadota; Gammaproteobacteria;
Enterobacterales; Enterobacteriaceae; Escherichia.
REFERENCE 1 (bases 1 to 4641652)
AUTHORS Riley,M., Abe,T., Arnaud,M.B., Berlyn,M.K., Blattner,F.R.,
Chaudhuri,R.R., Glasner,J.D., Horiuchi,T., Keseler,I.M., Kosuge,T.,
Mori,H., Perna,N.T., Plunkett,G. III, Rudd,K.E., Serres,M.H.,
Thomas,G.H., Thomson,N.R., Wishart,D. and Wanner,B.L.
TITLE Escherichia coli K-12: a cooperatively developed annotation
snapshot--2005
JOURNAL Nucleic Acids Res. 34 (1), 1-9 (2006)
PUBMED 16397293
REMARK Publication Status: Online-Only
REFERENCE 2 (bases 1 to 4641652)
AUTHORS Hayashi,K., Morooka,N., Yamamoto,Y., Fujita,K., Isono,K., Choi,S.,
Ohtsubo,E., Baba,T., Wanner,B.L., Mori,H. and Horiuchi,T.
TITLE Highly accurate genome sequences of Escherichia coli K-12 strains
MG1655 and W3110
JOURNAL Mol. Syst. Biol. 2, 2006 (2006)
PUBMED 16738553
REFERENCE 3 (bases 1 to 4641652)
AUTHORS Blattner,F.R., Plunkett,G. III, Bloch,C.A., Perna,N.T., Burland,V.,
Riley,M., Collado-Vides,J., Glasner,J.D., Rode,C.K., Mayhew,G.F.,
Gregor,J., Davis,N.W., Kirkpatrick,H.A., Goeden,M.A., Rose,D.J.,
Mau,B. and Shao,Y.
TITLE The complete genome sequence of Escherichia coli K-12
JOURNAL Science 277 (5331), 1453-1462 (1997)
PUBMED 9278503
REFERENCE 4 (bases 1 to 4641652)
AUTHORS Arnaud,M., Berlyn,M.K.B., Blattner,F.R., Galperin,M.Y.,
Glasner,J.D., Horiuchi,T., Kosuge,T., Mori,H., Perna,N.T.,
Plunkett,G. III, Riley,M., Rudd,K.E., Serres,M.H., Thomas,G.H. and
Wanner,B.L.
TITLE Workshop on Annotation of Escherichia coli K-12
JOURNAL Unpublished
REMARK Woods Hole, Mass., on 14-18 November 2003 (sequence corrections)
REFERENCE 5 (bases 1 to 4641652)
AUTHORS Glasner,J.D., Perna,N.T., Plunkett,G. III, Anderson,B.D.,
Bockhorst,J., Hu,J.C., Riley,M., Rudd,K.E. and Serres,M.H.
TITLE ASAP: Escherichia coli K-12 strain MG1655 version m56
JOURNAL Unpublished
REMARK ASAP download 10 June 2004 (annotation updates)
REFERENCE 6 (bases 1 to 4641652)
AUTHORS Hayashi,K., Morooka,N., Mori,H. and Horiuchi,T.
TITLE A more accurate sequence comparison between genomes of Escherichia
coli K12 W3110 and MG1655 strains
JOURNAL Unpublished
REMARK GenBank accessions AG613214 to AG613378 (sequence corrections)
REFERENCE 7 (bases 1 to 4641652)
AUTHORS Perna,N.T.
TITLE Escherichia coli K-12 MG1655 yqiK-rfaE intergenic region, genomic
sequence correction
JOURNAL Unpublished
REMARK GenBank accession AY605712 (sequence corrections)
REFERENCE 8 (bases 1 to 4641652)
AUTHORS Rudd,K.E.
TITLE A manual approach to accurate translation start site annotation: an
E. coli K-12 case study
JOURNAL Unpublished
REFERENCE 9 (bases 1 to 4641652)
CONSRTM NCBI Genome Project
TITLE Direct Submission
JOURNAL Submitted (08-MAR-2022) National Center for Biotechnology
Information, NIH, Bethesda, MD 20894, USA
REFERENCE 10 (bases 1 to 4641652)
AUTHORS Blattner,F.R. and Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (30-JUL-2014) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REMARK Protein update by submitter
REFERENCE 11 (bases 1 to 4641652)
AUTHORS Blattner,F.R. and Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (15-NOV-2013) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REMARK Protein update by submitter
REFERENCE 12 (bases 1 to 4641652)
AUTHORS Blattner,F.R. and Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (26-SEP-2013) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REMARK Sequence update by submitter
REFERENCE 13 (bases 1 to 4641652)
AUTHORS Rudd,K.E.
TITLE Direct Submission
JOURNAL Submitted (06-FEB-2013) Department of Biochemistry and Molecular
Biology, University of Miami Miller School of Medicine, 118 Gautier
Bldg., Miami, FL 33136, USA
REMARK Sequence update by submitter
REFERENCE 14 (bases 1 to 4641652)
AUTHORS Rudd,K.E.
TITLE Direct Submission
JOURNAL Submitted (24-APR-2007) Department of Biochemistry and Molecular
Biology, University of Miami Miller School of Medicine, 118 Gautier
Bldg., Miami, FL 33136, USA
REMARK Annotation update from ecogene.org as a multi-database collaboration
REFERENCE 15 (bases 1 to 4641652)
AUTHORS Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (07-FEB-2006) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REMARK Protein updates by submitter
REFERENCE 16 (bases 1 to 4641652)
AUTHORS Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (10-JUN-2004) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REMARK Sequence update by submitter
REFERENCE 17 (bases 1 to 4641652)
AUTHORS Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (13-OCT-1998) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REFERENCE 18 (bases 1 to 4641652)
AUTHORS Blattner,F.R. and Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (02-SEP-1997) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
REFERENCE 19 (bases 1 to 4641652)
AUTHORS Blattner,F.R. and Plunkett,G. III.
TITLE Direct Submission
JOURNAL Submitted (16-JAN-1997) Laboratory of Genetics, University of
Wisconsin, 425G Henry Mall, Madison, WI 53706-1580, USA
COMMENT PROVISIONAL REFSEQ: This record has not yet been subject to final
NCBI review. The reference sequence is identical to U00096.
On Nov 3, 2013 this sequence version replaced NC_000913.2.
Changes to proteins and annotation made on March 7, 2022. Current
U00096 annotation updates are derived from EcoCyc
https://ecocyc.org/. Suggestions for updates can be sent to
biocyc-support@ai.sri.com. These updates are being generated from a
collaboration that includes EcoCyc, the University of Wisconsin,
UniProtKB/Swiss-Prot, and the National Center for Biotechnology
Information (NCBI).
COMPLETENESS: full length.
FEATURES Location/Qualifiers
source 1..4641652
/organism="Escherichia coli str. K-12 substr. MG1655"
/mol_type="genomic DNA"
/strain="K-12"
/sub_strain="MG1655"
/db_xref="taxon:511145"
CONTIG join(U00096.3:1..4641652)
//
This source diff could not be displayed because it is too large. You can view the blob instead.
>seq1 first
>seq1 first
ATGCGA
>seq2 second
GGGCCC
>9CFS_1|Chains A, B|Long regulatory protein rop|Escherichia coli (562)
>9CFS_1|Chains A, B|Long regulatory protein rop|Escherichia coli (562)
MGHHHHHHGTPEEKQALQMAKQIKQQAQEIQKQTEELLKKVQELLKKLHQLGAPEMAKIA
EELHKHAEALKQAAEEFYKHAEELHKAAEARWG
>gene1
>gene1
ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG
++ "b/\345\275\225\346\222\255/3-\346\225\260\346\215\256\345\244\204\347\220\206/\347\211\271\345\276\201\345\267\245\347\250\213/__init__.py"
Unnamed
Unnamed
Chem3D Core 21.010272417003D
55 57 0 0 0 0 0 0 0 0999 V2000
-5.7857 1.9733 -1.0316 C 0 0 0 0 0 0 0 0 0 0 0 0
-6.0640 0.6117 -0.9700 C 0 0 0 0 0 0 0 0 0 0 0 0
-5.0178 -0.2959 -0.8280 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.6902 0.1696 -0.7480 C 0 0 0 0 0 0 0 0 0 0 0 0
-3.3983 1.5375 -0.8089 C 0 0 0 0 0 0 0 0 0 0 0 0
-4.4620 2.4205 -0.9508 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.5904 -0.6658 -0.6061 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3187 -0.2308 -0.5289 N 0 0 0 0 0 0 0 0 0 0 0 0
-1.1654 1.0983 -0.5987 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.1444 2.0067 -0.7352 N 0 0 0 0 0 0 0 0 0 0 0 0
-6.7957 2.8660 -1.1697 O 0 0 0 0 0 0 0 0 0 0 0 0
-7.3433 0.1721 -1.0475 O 0 0 0 0 0 0 0 0 0 0 0 0
0.0187 1.5409 -0.5293 N 0 0 0 0 0 0 0 0 0 0 0 0
1.1446 0.6077 -0.3792 C 0 0 0 0 0 0 0 0 0 0 0 0
2.4496 1.3907 -0.3210 C 0 0 0 0 0 0 0 0 0 0 0 0
3.6161 0.4239 -0.1656 C 0 0 0 0 0 0 0 0 0 0 0 0
4.8585 1.1694 -0.1101 N 0 0 0 0 0 0 0 0 0 0 0 0
6.0486 0.5070 0.0284 C 0 0 0 0 0 0 0 0 0 0 0 0
6.0674 -0.9989 0.1233 C 0 0 0 0 0 0 0 0 0 0 0 0
6.7041 -1.4265 1.4400 C 0 0 0 0 0 0 0 0 0 0 0 0
7.9392 -2.2142 0.9971 C 0 0 0 0 0 0 0 0 0 0 0 0
7.5117 -2.6464 -0.3974 C 0 0 0 0 0 0 0 0 0 0 0 0
6.8390 -1.5330 -0.9214 O 0 0 0 0 0 0 0 0 0 0 0 0
7.0837 1.1281 0.0746 O 0 0 0 0 0 0 0 0 0 0 0 0
-8.0339 2.2113 -1.2306 C 0 0 0 0 0 0 0 0 0 0 0 0
-7.3951 -1.2265 -0.9651 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.7961 -1.9135 -0.5456 N 0 0 0 0 0 0 0 0 0 0 0 0
0.2677 2.9880 -0.5986 C 0 0 0 0 0 0 0 0 0 0 0 0
-5.2273 -1.3746 -0.7784 H 0 0 0 0 0 0 0 0 0 0 0 0
-4.2580 3.5003 -1.0009 H 0 0 0 0 0 0 0 0 0 0 0 0
1.0200 0.0249 0.5607 H 0 0 0 0 0 0 0 0 0 0 0 0
1.1680 -0.0879 -1.2478 H 0 0 0 0 0 0 0 0 0 0 0 0
2.5742 1.9736 -1.2610 H 0 0 0 0 0 0 0 0 0 0 0 0
2.4262 2.0863 0.5476 H 0 0 0 0 0 0 0 0 0 0 0 0
3.4915 -0.1589 0.7744 H 0 0 0 0 0 0 0 0 0 0 0 0
3.6394 -0.2717 -1.0341 H 0 0 0 0 0 0 0 0 0 0 0 0
4.8459 2.1793 -0.1737 H 0 0 0 0 0 0 0 0 0 0 0 0
5.0195 -1.3686 0.0605 H 0 0 0 0 0 0 0 0 0 0 0 0
6.0110 -2.0701 2.0266 H 0 0 0 0 0 0 0 0 0 0 0 0
6.9512 -0.5671 2.1027 H 0 0 0 0 0 0 0 0 0 0 0 0
8.8466 -1.5705 0.9665 H 0 0 0 0 0 0 0 0 0 0 0 0
8.2213 -3.0511 1.6744 H 0 0 0 0 0 0 0 0 0 0 0 0
6.8325 -3.5265 -0.3448 H 0 0 0 0 0 0 0 0 0 0 0 0
8.3759 -2.9532 -1.0282 H 0 0 0 0 0 0 0 0 0 0 0 0
-8.8466 2.9634 -1.3438 H 0 0 0 0 0 0 0 0 0 0 0 0
-8.0449 1.5199 -2.1027 H 0 0 0 0 0 0 0 0 0 0 0 0
-8.1932 1.6314 -0.2941 H 0 0 0 0 0 0 0 0 0 0 0 0
-8.4538 -1.5637 -1.0309 H 0 0 0 0 0 0 0 0 0 0 0 0
-6.8126 -1.6689 -1.8040 H 0 0 0 0 0 0 0 0 0 0 0 0
-6.9602 -1.5572 0.0046 H 0 0 0 0 0 0 0 0 0 0 0 0
-3.7756 -2.2875 -0.6027 H 0 0 0 0 0 0 0 0 0 0 0 0
-1.9872 -2.5744 -0.4384 H 0 0 0 0 0 0 0 0 0 0 0 0
-0.6998 3.5265 -0.7112 H 0 0 0 0 0 0 0 0 0 0 0 0
0.7713 3.3225 0.3359 H 0 0 0 0 0 0 0 0 0 0 0 0
0.9199 3.2106 -1.4726 H 0 0 0 0 0 0 0 0 0 0 0 0
1 2 2 0
1 6 1 0
1 11 1 0
3 2 1 0
2 12 1 0
4 3 2 0
3 29 1 0
5 4 1 0
7 4 1 0
6 5 2 0
5 10 1 0
6 30 1 0
8 7 2 0
7 27 1 0
9 8 1 0
10 9 2 0
9 13 1 0
11 25 1 0
12 26 1 0
13 14 1 0
13 28 1 0
14 15 1 0
14 31 1 0
14 32 1 0
15 16 1 0
15 33 1 0
15 34 1 0
16 17 1 0
16 35 1 0
16 36 1 0
17 18 1 0
17 37 1 0
18 19 1 0
18 24 2 0
19 20 1 0
23 19 1 0
19 38 1 0
20 21 1 0
20 39 1 0
20 40 1 0
21 22 1 0
21 41 1 0
21 42 1 0
23 22 1 0
22 43 1 0
22 44 1 0
25 45 1 0
25 46 1 0
25 47 1 0
26 48 1 0
26 49 1 0
26 50 1 0
27 51 1 0
27 52 1 0
28 53 1 0
28 54 1 0
28 55 1 0
M END
$$$$
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
++ "b/\345\275\225\346\222\255/4-\346\234\272\345\231\250\345\255\246\344\271\240\347\273\217\345\205\270\346\250\241\345\236\213/4.2-\346\234\272\345\231\250\345\255\246\344\271\240\345\237\272\347\241\200\347\256\227\346\263\225\357\274\210\344\270\200\357\274\211/.gitkeep"
++ "b/\345\275\225\346\222\255/4-\346\234\272\345\231\250\345\255\246\344\271\240\347\273\217\345\205\270\346\250\241\345\236\213/4.3-\346\234\272\345\231\250\345\255\246\344\271\240\345\237\272\347\241\200\347\256\227\346\263\225\357\274\210\344\272\214\357\274\211/.gitkeep"
import math
import math
# 定义问题
def question(ipt):
return ipt ** 2 + math.sin(5 * ipt)
# 找导数/梯度
def grad_func(ipt):
return 2 * ipt + 5 * math.cos(5 * ipt)
# 移步函数
def dealer(ipt_x, gradient, learning_rate):
# 打印用
print(f'current input: {ipt_x}')
print(f'current gradient: {gradient}')
print(f'current learning rate: {learning_rate}')
# 功能
# 走一步
ipt_x -= learning_rate * gradient
# 这一步好不好
y = question(ipt_x)
return ipt_x, y
# 超参 hyperparameter
x = float(input('start point: \n'))
lr = float(input('learning rate: \n'))
iteration_number = int(input('number of iterations: \n'))
extra_move = int(input('extra move after finding the local minimum: \n'))
start_lr = lr
# 局部最优
local_x = x
local_y = question(x)
# 保存找到的x和y
x_record = []
y_record = []
gradient_record = []
i = 0
while i < iteration_number:
# 你的extra move 走太多了,有点停不下来
# if i > iteration_number * 1.1:
# break
# 记录xy
x_record.append(x)
y_record.append(question(x))
# 算梯度
gradient = grad_func(x)
gradient_record.append(gradient)
# 对于梯度为0,局部最优的强行调整
if math.fabs(gradient) < 0.005:
local_x = x
local_y = question(x)
iteration_number += extra_move
if gradient > 0:
gradient += 1
x -= 1
else:
gradient -= 1
x += 1
lr = start_lr
# 走一步
x, current_y = dealer(x, gradient, lr)
if current_y < local_y:
local_x = x
local_y = current_y
# 如果当前找到了更好的,就减小步长,走小一点
lr *= 0.97
else:
# 如果,当前没有更好,则周围可能也没有特别好
lr *= 1.03
# if i % 10 == 0:
# lr *= 0.99
i += 1
print(f' The minimum found is: {local_y}')
import matplotlib.pyplot as plt
plt.plot(x_record, y_record)
plt.show()
plt.plot(range(0, iteration_number), x_record)
plt.show()
plt.plot(range(0, iteration_number), y_record)
plt.show()
plt.plot(range(0, iteration_number), gradient_record)
plt.show()
This source diff could not be displayed because it is too large. You can view the blob instead.
++ "b/\345\275\225\346\222\255/5-\346\234\272\345\231\250\345\255\246\344\271\240\350\277\233\351\230\266\346\250\241\345\236\213/5.1-\346\234\272\345\231\250\345\255\246\344\271\240\350\277\233\351\230\266\347\256\227\346\263\225/.gitkeep"
This source diff could not be displayed because it is too large. You can view the blob instead.
iter RMSE
iter RMSE
0 0.5269122776
1 0.3037087073
2 0.1950262882
3 0.1455510767
4 0.1250769505
5 0.1131018732
6 0.107407016
7 0.09973660288
8 0.09381675834
9 0.09130733187
10 0.08712161792
11 0.0845612591
12 0.08242362115
13 0.08054774192
14 0.07924539543
15 0.07756089132
16 0.07629210431
17 0.07542179795
18 0.07471800468
19 0.07375636509
20 0.07290380495
21 0.0717506203
22 0.07101231401
23 0.07061380981
24 0.07027840804
25 0.06959717778
26 0.0691011102
27 0.06843501946
28 0.06800722655
29 0.06742215124
30 0.06707591325
31 0.0667961969
32 0.06645051743
33 0.06591859909
34 0.06564438428
35 0.06539152136
36 0.06526705862
37 0.06502670379
38 0.0648714568
39 0.06465262699
40 0.06449962938
41 0.06431653571
42 0.06407782476
43 0.06391899344
44 0.06377993283
45 0.0634754591
46 0.06334753464
47 0.06324904919
48 0.06309227506
49 0.06294237466
50 0.06282749898
51 0.06273724678
52 0.06264242906
53 0.06246892805
54 0.06230036777
55 0.06221875089
56 0.06213114052
57 0.06204178349
58 0.06194146334
59 0.06189366622
60 0.06179397898
61 0.06175446484
62 0.06171495602
63 0.06168203613
64 0.06158426406
65 0.06153452732
66 0.0614373661
67 0.06125360289
68 0.06119441923
69 0.06111311739
70 0.06105287058
71 0.06101021203
72 0.06094138161
73 0.06086101459
74 0.06078743495
75 0.06072683112
76 0.06068340477
77 0.06063666701
78 0.06056744388
79 0.06049029947
80 0.06044482426
81 0.06036706293
82 0.06034332482
83 0.06027642009
84 0.06024013534
85 0.06020996215
86 0.06018126408
87 0.06014775893
88 0.06008644695
89 0.06006612191
90 0.06004018082
91 0.05994077092
92 0.05986615298
93 0.05981122333
94 0.05975993054
95 0.05969969406
96 0.05966077669
97 0.05963464043
98 0.05961612809
99 0.05959124723
iter RMSE
iter RMSE
0 0.525777829
1 0.3031489461
2 0.1943740156
3 0.1451027326
4 0.124754842
5 0.1127568058
6 0.1070870071
7 0.09946765141
8 0.09369518881
9 0.09116366401
10 0.08696679278
11 0.08442736925
12 0.08227183575
13 0.08038498181
14 0.07906625049
15 0.07735884746
16 0.07604856904
17 0.07516784591
18 0.07447796969
19 0.07352059497
20 0.07256124988
21 0.07149698735
22 0.07078127541
23 0.07042581514
24 0.07017550977
25 0.06953861181
26 0.06903750345
27 0.0683600558
28 0.06781152575
29 0.06723442423
30 0.06690970312
31 0.06665566236
32 0.06632044243
33 0.06579636962
34 0.06547008844
35 0.06523416006
36 0.06510258494
37 0.06506131093
38 0.06492939845
39 0.06476523404
40 0.06469849177
41 0.06447174719
42 0.06425977452
43 0.06410415548
44 0.06400606451
45 0.06368556532
46 0.06356798348
47 0.06353423955
48 0.06338665852
49 0.06327588891
50 0.06321044203
51 0.06312656219
52 0.06304847317
53 0.06288660863
54 0.06271231668
55 0.0626248317
56 0.06255308017
57 0.06248920013
58 0.06243916361
59 0.06242407861
60 0.06236176526
61 0.06242602336
62 0.06242754191
63 0.06244294201
64 0.06238396375
65 0.06232877011
66 0.06224152835
67 0.06204813747
68 0.0619940843
69 0.06192356605
70 0.06190570257
71 0.06189010836
72 0.06187179568
73 0.06179820403
74 0.06173769877
75 0.0616804419
76 0.06165674379
77 0.06161895042
78 0.06158583977
79 0.06151679175
80 0.06149491359
81 0.06140550657
82 0.06133165855
83 0.06127112447
84 0.06125062773
85 0.06124531761
86 0.06119017059
87 0.06120948449
88 0.06114956501
89 0.06118688026
90 0.06118043528
91 0.06112092723
92 0.0610598282
93 0.06100625611
94 0.06093558641
95 0.06090506539
96 0.06091123096
97 0.06090183525
98 0.06091293917
99 0.06089793885
iter Passed Remaining
iter Passed Remaining
0 62 6170
1 120 5894
2 175 5666
3 236 5667
4 298 5672
5 355 5576
6 417 5547
7 477 5487
8 525 5312
9 576 5189
10 633 5127
11 693 5085
12 757 5068
13 813 4999
14 862 4886
15 931 4890
16 993 4849
17 1039 4736
18 1091 4653
19 1152 4611
20 1214 4569
21 1266 4488
22 1323 4430
23 1368 4333
24 1421 4263
25 1484 4225
26 1546 4182
27 1597 4106
28 1644 4026
29 1701 3970
30 1761 3920
31 1821 3871
32 1873 3803
33 1941 3769
34 1990 3696
35 2048 3641
36 2093 3564
37 2149 3507
38 2199 3440
39 2257 3386
40 2307 3320
41 2375 3281
42 2429 3220
43 2476 3151
44 2522 3082
45 2593 3044
46 2650 2989
47 2696 2921
48 2761 2874
49 2818 2818
50 2867 2755
51 2918 2694
52 2967 2631
53 3022 2574
54 3072 2514
55 3118 2450
56 3174 2394
57 3222 2333
58 3266 2269
59 3320 2213
60 3384 2164
61 3423 2098
62 3471 2038
63 3515 1977
64 3586 1931
65 3630 1870
66 3695 1820
67 3751 1765
68 3803 1708
69 3862 1655
70 3916 1599
71 3966 1542
72 4022 1487
73 4074 1431
74 4133 1377
75 4185 1321
76 4241 1266
77 4294 1211
78 4348 1155
79 4406 1101
80 4461 1046
81 4515 991
82 4562 934
83 4612 878
84 4660 822
85 4706 766
86 4754 710
87 4806 655
88 4865 601
89 4914 546
90 4962 490
91 5028 437
92 5090 383
93 5147 328
94 5201 273
95 5254 218
96 5311 164
97 5368 109
98 5415 54
99 5467 0
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
++ "b/\345\275\225\346\222\255/5-\346\234\272\345\231\250\345\255\246\344\271\240\350\277\233\351\230\266\346\250\241\345\236\213/5.2-\346\250\241\345\236\213\350\260\203\344\274\230\344\270\216\345\217\257\350\247\243\351\207\212\346\200\247\345\210\206\346\236\220/.gitkeep"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment