1+ <!DOCTYPE html>
2+ < html class ="writer-html5 " lang ="en " >
3+ < head >
4+ < meta charset ="utf-8 " /> < meta name ="generator " content ="Docutils 0.17.1: http://docutils.sourceforge.net/ " />
5+
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7+ < title > Installation — MEDfl 0.1.0 documentation</ title >
8+ < link rel ="stylesheet " href ="_static/pygments.css " type ="text/css " />
9+ < link rel ="stylesheet " href ="_static/css/theme.css " type ="text/css " />
10+ < link rel ="stylesheet " href ="_static/custom.css " type ="text/css " />
11+ < link rel ="stylesheet " href ="_static/css/custom.css " type ="text/css " />
12+ < link rel ="stylesheet " href ="_static/dark_mode_css/general.css " type ="text/css " />
13+ < link rel ="stylesheet " href ="_static/dark_mode_css/dark.css " type ="text/css " />
14+ <!--[if lt IE 9]>
15+ <script src="_static/js/html5shiv.min.js"></script>
16+ <![endif]-->
17+
18+ < script data-url_root ="./ " id ="documentation_options " src ="_static/documentation_options.js "> </ script >
19+ < script src ="_static/jquery.js "> </ script >
20+ < script src ="_static/underscore.js "> </ script >
21+ < script src ="_static/_sphinx_javascript_frameworks_compat.js "> </ script >
22+ < script src ="_static/doctools.js "> </ script >
23+ < script src ="_static/sphinx_highlight.js "> </ script >
24+ < script src ="_static/dark_mode_js/default_light.js "> </ script >
25+ < script src ="_static/dark_mode_js/theme_switcher.js "> </ script >
26+ < script src ="_static/js/theme.js "> </ script >
27+ < link rel ="index " title ="Index " href ="genindex.html " />
28+ < link rel ="search " title ="Search " href ="search.html " />
29+ < link rel ="next " title ="Documentation " href ="Documentation.html " />
30+ < link rel ="prev " title ="Welcome to the MEDfl documentation! " href ="index.html " />
31+ </ head >
32+
33+ < body class ="wy-body-for-nav ">
34+ < div class ="wy-grid-for-nav ">
35+ < nav data-toggle ="wy-nav-shift " class ="wy-nav-side ">
36+ < div class ="wy-side-scroll ">
37+ < div class ="wy-side-nav-search " >
38+
39+
40+
41+ < a href ="index.html ">
42+
43+ < img src ="_static/MEDomics.png " class ="logo " alt ="Logo "/>
44+ </ a >
45+ < div role ="search ">
46+ < form id ="rtd-search-form " class ="wy-form " action ="search.html " method ="get ">
47+ < input type ="text " name ="q " placeholder ="Search docs " aria-label ="Search docs " />
48+ < input type ="hidden " name ="check_keywords " value ="yes " />
49+ < input type ="hidden " name ="area " value ="default " />
50+ </ form >
51+ </ div >
52+ </ div > < div class ="wy-menu wy-menu-vertical " data-spy ="affix " role ="navigation " aria-label ="Navigation menu ">
53+ < p class ="caption " role ="heading "> < span class ="caption-text "> Getting started</ span > </ p >
54+ < ul class ="current ">
55+ < li class ="toctree-l1 current "> < a class ="current reference internal " href ="# "> Installation</ a > < ul >
56+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#python-installation "> Python installation</ a > </ li >
57+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#package-installation "> Package Installation</ a > </ li >
58+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#mysql-db-configuration "> MySQL DB Configuration</ a > </ li >
59+ </ ul >
60+ </ li >
61+ < li class ="toctree-l1 "> < a class ="reference internal " href ="Documentation.html "> Documentation</ a > </ li >
62+ < li class ="toctree-l1 "> < a class ="reference internal " href ="configuration_file.html "> Configuration File</ a > </ li >
63+ </ ul >
64+ < p class ="caption " role ="heading "> < span class ="caption-text "> Tutorials</ span > </ p >
65+ < ul >
66+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html "> Introduction</ a > </ li >
67+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#database-management "> Database management</ a > </ li >
68+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#netmanager "> NetManager</ a > </ li >
69+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#transfer-learning "> Transfer Learning</ a > </ li >
70+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#learning-manager "> Learning Manager</ a > </ li >
71+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#learning-results "> Learning Results</ a > </ li >
72+ < li class ="toctree-l1 "> < a class ="reference internal " href ="tutorials.html#model-choice "> Model choice</ a > </ li >
73+ </ ul >
74+ < p class ="caption " role ="heading "> < span class ="caption-text "> Contents:</ span > </ p >
75+ < ul >
76+ < li class ="toctree-l1 "> < a class ="reference internal " href ="modules.html "> MEDfl</ a > </ li >
77+ </ ul >
78+
79+ </ div >
80+ </ div >
81+ </ nav >
82+
83+ < section data-toggle ="wy-nav-shift " class ="wy-nav-content-wrap "> < nav class ="wy-nav-top " aria-label ="Mobile navigation menu " >
84+ < i data-toggle ="wy-nav-top " class ="fa fa-bars "> </ i >
85+ < a href ="index.html "> MEDfl</ a >
86+ </ nav >
87+
88+ < div class ="wy-nav-content ">
89+ < div class ="rst-content ">
90+ < div role ="navigation " aria-label ="Page navigation ">
91+ < ul class ="wy-breadcrumbs ">
92+ < li > < a href ="index.html " class ="icon icon-home " aria-label ="Home "> </ a > </ li >
93+ < li class ="breadcrumb-item active "> Installation</ li >
94+ < li class ="wy-breadcrumbs-aside ">
95+ < a href ="_sources/Installation.rst.txt " rel ="nofollow "> View page source</ a >
96+ </ li >
97+ </ ul >
98+ < hr />
99+ </ div >
100+ < div role ="main " class ="document " itemscope ="itemscope " itemtype ="http://schema.org/Article ">
101+ < div itemprop ="articleBody ">
102+
103+ < section id ="installation ">
104+ < h1 > Installation< a class ="headerlink " href ="#installation " title ="Permalink to this heading "> </ a > </ h1 >
105+ < section id ="python-installation ">
106+ < h2 > Python installation< a class ="headerlink " href ="#python-installation " title ="Permalink to this heading "> </ a > </ h2 >
107+ < p > The MEDfl package requires < code class ="docutils literal notranslate "> < span class ="pre "> python</ span > < span class ="pre "> 3.9</ span > </ code > or more to be run. If you don’t have it installed on your machine, check out the following link < a class ="reference external " href ="https://www.python.org/downloads/ "> Python</ a >
108+ It also requires MySQL database</ p >
109+ </ section >
110+ < section id ="package-installation ">
111+ < h2 > Package Installation< a class ="headerlink " href ="#package-installation " title ="Permalink to this heading "> </ a > </ h2 >
112+ < p > For now, you can install the < code class ="docutils literal notranslate "> < span class ="pre "> MEDfl</ span > </ code > package as follows:</ p >
113+ < div class ="highlight-bash notranslate "> < div class ="highlight "> < pre > < span > </ span > git< span class ="w "> </ span > clone< span class ="w "> </ span > https://github.com/MEDomics-UdeS/MEDfl.git
114+ < span class ="nb "> cd</ span > < span class ="w "> </ span > MEDfl
115+ pip< span class ="w "> </ span > install< span class ="w "> </ span > -e< span class ="w "> </ span > .
116+ </ pre > </ div >
117+ </ div >
118+ </ section >
119+ < section id ="mysql-db-configuration ">
120+ < h2 > MySQL DB Configuration< a class ="headerlink " href ="#mysql-db-configuration " title ="Permalink to this heading "> </ a > </ h2 >
121+ < p > MEDfl requires a MySQL DB connection, and this is in order to allow users to work with their own tabular datasets. We have created a bash script to install and configure a MySQL DB with phpMyAdmin monitoring system. Run the following command, then change your credentials in the MEDfl/scripts/base.py file:</ p >
122+ < div class ="highlight-bash notranslate "> < div class ="highlight "> < pre > < span > </ span > sudo< span class ="w "> </ span > bash< span class ="w "> </ span > MEDfl/scripts/setup_mysql.sh
123+ </ pre > </ div >
124+ </ div >
125+ </ section >
126+ </ section >
127+
128+
129+ </ div >
130+ </ div >
131+ < footer > < div class ="rst-footer-buttons " role ="navigation " aria-label ="Footer ">
132+ < a href ="index.html " class ="btn btn-neutral float-left " title ="Welcome to the MEDfl documentation! " accesskey ="p " rel ="prev "> < span class ="fa fa-arrow-circle-left " aria-hidden ="true "> </ span > Previous</ a >
133+ < a href ="Documentation.html " class ="btn btn-neutral float-right " title ="Documentation " accesskey ="n " rel ="next "> Next < span class ="fa fa-arrow-circle-right " aria-hidden ="true "> </ span > </ a >
134+ </ div >
135+
136+ < hr />
137+
138+ < div role ="contentinfo ">
139+ < p > © Copyright 2023, MEDomics consortium.</ p >
140+ </ div >
141+
142+ Built with < a href ="https://www.sphinx-doc.org/ "> Sphinx</ a > using a
143+ < a href ="https://github.com/readthedocs/sphinx_rtd_theme "> theme</ a >
144+ provided by < a href ="https://readthedocs.org "> Read the Docs</ a > .
145+
146+
147+ </ footer >
148+ </ div >
149+ </ div >
150+ </ section >
151+ </ div >
152+ < script >
153+ jQuery ( function ( ) {
154+ SphinxRtdTheme . Navigation . enable ( true ) ;
155+ } ) ;
156+ </ script >
157+
158+ </ body >
159+ </ html >
0 commit comments