Skip to content

Instantly share code, notes, and snippets.

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="CHO??" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="53" text="CHO??" locationX="0.0" locationY="0.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="54" text="???????????" locationX="-54.0" locationY="-178.0" parentID="53" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="55" text="Ca2+?Pi" locationX="-277.0" locationY="-409.0" parentID="54" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="56" text="??????" locationX="6.0" locationY="-428.0" parentID="54" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="57" text="?????????????" locationX="263.0" locationY="-436.0" parentID="54" backgroundColor="-7089261" borderColor="-13336523" iconDrawable
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="????" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="123" text="????" locationX="1.0" locationY="-10.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="124" text="TG?????" locationX="-22.0" locationY="-157.0" parentID="123" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="125" text="??????" locationX="-310.0" locationY="-66.0" parentID="124" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="126" text="????????" locationX="265.0" locationY="-213.0" parentID="124" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="127" text="?????" locationX="232.0" locationY="125.0" parentID="123" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="??????" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="198" text="??????" locationX="0.0" locationY="0.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="199" text="???T-Tubule???" locationX="-335.0" locationY="-203.0" parentID="198" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="200" text="???????Ca2+??" locationX="114.0" locationY="-187.0" parentID="198" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="201" text="sarcoplasmic reticulum" locationX="350.0" locationY="-329.0" parentID="200" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="202" text="??" locationX="519.0" locationY="-61.0" parentID="200" backgroundColor="-7089261" borderColo
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="ATP??????" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="212" text="ATP??????" locationX="0.0" locationY="0.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="213" text="?????" locationX="-104.872925" locationY="336.33167" parentID="212" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="214" text="6mmol /kg" locationX="-304.7409" locationY="470.0708" parentID="213" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="215" text="75%VO2 max(200W)?15?" locationX="-638.9675" locationY="663.57043" parentID="214" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="216" text="140%VO2 max?6?" locationX="-684.2012" locationY="467.5578" parentID="214" backgr
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="??????" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="233" text="??????" locationX="0.0" locationY="0.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="234" text="???1" locationX="152.0" locationY="-161.0" parentID="233" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="235" text="???2" locationX="286.26065" locationY="127.08899" parentID="233" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="236" text="?????ATPase???" locationX="-354.88873" locationY="177.81671" parentID="233" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="237" text="?????stain" locationX="-721.5315" locationY="93.566864" parentID="236" backgroundColor="-7089261" borderC
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="?????" icon="ic_mm_lightbulb" surfaceColor="-1447447"> <node id="262" text="?????" locationX="0.0" locationY="0.0" parentID="-1" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="263" text="????" locationX="9.0" locationY="-143.0" parentID="262" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="264" text="Ca2+" locationX="-127.0" locationY="-260.0" parentID="263" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="265" text="???????" locationX="40.0" locationY="-288.0" parentID="263" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="266" text="AMPK" locationX="170.0" locationY="-412.0" parentID="265" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_li
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><tree name="ATP????" icon="ic_mm_accept" surfaceColor="-1447447"> <node id="25" text="Fuel" locationX="318.0" locationY="-313.0" parentID="-1" backgroundColor="-46004" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="26" text="ATP" locationX="171.0" locationY="-457.0" parentID="25" backgroundColor="-16744449" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="4" /> <node id="27" text="Substrate level" locationX="-35.0" locationY="-296.0" parentID="26" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="28" text="oxidative" locationX="394.0" locationY="-572.0" parentID="26" backgroundColor="-7089261" borderColor="-13336523" iconDrawable="ic_mm_lightbulb" showIcon="0" shape="1" /> <node id="29" text="fat" locationX="672.56177" locationY="-452.6936" parentID="28" backgroundColor="-7089261" borderColor="-13336523" iconDrawa
(global-set-key (kbd "C-t") 'convert-to-list)
(global-set-key (kbd "C-r") 'insert-from-osx)
(global-set-key (kbd "C-u") 'lines-to-list)
(global-set-key (kbd "C-o") 'nums-to-lists)
(defun nums-to-lists()
(interactive)
(save-excursion
(move-beginning-of-line 1)
@karino2
karino2 / 最頻値を求めたい
Created January 11, 2016 03:12
ゆる募: リストから最頻値を得る方法
"""
intのリストから最頻値を取り出したい。
たとえば
answers = [1, 2, 7, 3, 2, 5, 2, 1]
というリストがあったら、一番登場回数が多い2が答えとして欲しい。
使い道はrandomforestでの投票の結果を得たい。
以下は自分が書いた方法だが、もっとマシな解決策があるに違いない。
"""
@karino2
karino2 / RandomForest.ipynb
Last active January 13, 2016 15:05
RandomForestをIPython notebookで作っていった
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.