Topsis-Nandini-102017101


NameTopsis-Nandini-102017101 JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryThis is a Python Package implementing TOPSIS used for multi-criteria decision analysis method
upload_time2023-01-21 07:37:35
maintainer
docs_urlNone
authorNandini Goel
requires_python
licenseMIT
keywords topsis mcda ucs654 tiet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 class="code-line" data-line-start=0 data-line-end=1 ><a id="Project_Description_0"></a>Project Description</h1>
<h2 class="code-line" data-line-start=1 data-line-end=2 ><a id="TopsisNandini102017101_1"></a>Topsis-Nandini-102017101</h2>
<p class="has-line-data" data-line-start="2" data-line-end="4">Topsis-Nandini-102017101 is a Python Package implementing Topsis method used for multi-criteria decision analysis. Topsis stands for ‘Technique for Order of Preference by Similarity to Ideal Solution’.<br>
Topsis-Nandini-102017101 intends to make the process of TOPSIS simple in python.</p>
<p class="has-line-data" data-line-start="5" data-line-end="6">Key features of the package are -</p>
<ul>
<li class="has-line-data" data-line-start="6" data-line-end="7">Easy to use</li>
<li class="has-line-data" data-line-start="7" data-line-end="8">Numpy Based</li>
<li class="has-line-data" data-line-start="8" data-line-end="10">Ideal for Students</li>
</ul>
<h2 class="code-line" data-line-start=10 data-line-end=11 ><a id="Installation_10"></a>Installation</h2>
<p class="has-line-data" data-line-start="12" data-line-end="13">Use the package manager pip to install Topsis-Nandini-102017101</p>
<h2 class="code-line" data-line-start=14 data-line-end=15 ><a id="Syntax_14"></a>Syntax</h2>
<p class="has-line-data" data-line-start="15" data-line-end="16">Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-) and output file name with .csv extension</p>
<pre><code class="has-line-data" data-line-start="17" data-line-end="19" class="language-sh">topsis &lt;InputDataFile&gt; &lt;Weights&gt; &lt;Impacts&gt; &lt;ResultFileName&gt;
</code></pre>
<p class="has-line-data" data-line-start="19" data-line-end="20">Example:</p>
<pre><code class="has-line-data" data-line-start="21" data-line-end="23" class="language-sh">topsis inputfile.csv “<span class="hljs-number">1</span>,<span class="hljs-number">1</span>,<span class="hljs-number">1</span>,<span class="hljs-number">2</span>” “+,+,-,+” result.csv
</code></pre>
<p class="has-line-data" data-line-start="23" data-line-end="24">or vectors can be entered without &quot; &quot;</p>
<pre><code class="has-line-data" data-line-start="25" data-line-end="27" class="language-sh">topsis inputfile.csv <span class="hljs-number">1</span>,<span class="hljs-number">1</span>,<span class="hljs-number">1</span>,<span class="hljs-number">2</span> +,+,-,+ result.csv
</code></pre>
<p class="has-line-data" data-line-start="27" data-line-end="28">But the second representation does not provide for inadvertent spaces between vector values. So, if the input string contains spaces, make sure to enclose it between double quotes (&quot; &quot;).</p>
<h1 class="code-line" data-line-start=29 data-line-end=30 ><a id="Example_29"></a>Example</h1>
<h3 class="code-line" data-line-start=31 data-line-end=32 ><a id="Sample_input_data_31"></a>Sample input data</h3>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Fund Name</th>
<th>P1</th>
<th>P2</th>
<th>P3</th>
<th>P4</th>
<th>P5</th>
</tr>
</thead>
<tbody>
<tr>
<td>M1</td>
<td>0.65</td>
<td>0.42</td>
<td>5.3</td>
<td>43.8</td>
<td>12.54</td>
</tr>
<tr>
<td>M2</td>
<td>0.94</td>
<td>0.88</td>
<td>4</td>
<td>61.5</td>
<td>16.83</td>
</tr>
<tr>
<td>M3</td>
<td>0.72</td>
<td>0.52</td>
<td>3.2</td>
<td>69.7</td>
<td>18.54</td>
</tr>
<tr>
<td>M4</td>
<td>0.89</td>
<td>0.79</td>
<td>5.4</td>
<td>49</td>
<td>14.02</td>
</tr>
<tr>
<td>M5</td>
<td>0.75</td>
<td>0.56</td>
<td>6.9</td>
<td>49.4</td>
<td>14.4</td>
</tr>
<tr>
<td>M6</td>
<td>0.6</td>
<td>0.36</td>
<td>4.2</td>
<td>68.3</td>
<td>18.37</td>
</tr>
<tr>
<td>M7</td>
<td>0.89</td>
<td>0.79</td>
<td>6.7</td>
<td>44.6</td>
<td>13.25</td>
</tr>
<tr>
<td>M8</td>
<td>0.79</td>
<td>0.62</td>
<td>3.8</td>
<td>51.7</td>
<td>14.23</td>
</tr>
</tbody>
</table>
<p class="has-line-data" data-line-start="44" data-line-end="45">weights vector = [ 1 , 1 , 1 , 1 , 1 ]</p>
<p class="has-line-data" data-line-start="46" data-line-end="47">impacts vector = [ + , + , + , + , + ]</p>
<h3 class="code-line" data-line-start=48 data-line-end=49 ><a id="Sample_output_data_48"></a>Sample output data</h3>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Fund Name</th>
<th>P1</th>
<th>P2</th>
<th>P3</th>
<th>P4</th>
<th>P5</th>
<th>Topsis Score</th>
<th>Rank</th>
</tr>
</thead>
<tbody>
<tr>
<td>M1</td>
<td>0.65</td>
<td>0.42</td>
<td>5.3</td>
<td>43.8</td>
<td>12.54</td>
<td>0.287855029</td>
<td>8</td>
</tr>
<tr>
<td>M2</td>
<td>0.94</td>
<td>0.88</td>
<td>4</td>
<td>61.5</td>
<td>16.83</td>
<td>0.631106388</td>
<td>2</td>
</tr>
<tr>
<td>M3</td>
<td>0.72</td>
<td>0.52</td>
<td>3.2</td>
<td>69.7</td>
<td>18.54</td>
<td>0.412672373</td>
<td>5</td>
</tr>
<tr>
<td>M4</td>
<td>0.89</td>
<td>0.79</td>
<td>5.4</td>
<td>49</td>
<td>14.02</td>
<td>0.605503106</td>
<td>3</td>
</tr>
<tr>
<td>M5</td>
<td>0.75</td>
<td>0.56</td>
<td>6.9</td>
<td>49.4</td>
<td>14.4</td>
<td>0.536194294</td>
<td>4</td>
</tr>
<tr>
<td>M6</td>
<td>0.6</td>
<td>0.36</td>
<td>4.2</td>
<td>68.3</td>
<td>18.37</td>
<td>0.36630047</td>
<td>7</td>
</tr>
<tr>
<td>M7</td>
<td>0.89</td>
<td>0.79</td>
<td>6.7</td>
<td>44.6</td>
<td>13.25</td>
<td>0.635938379</td>
<td>1</td>
</tr>
<tr>
<td>M8</td>
<td>0.79</td>
<td>0.62</td>
<td>3.8</td>
<td>51.7</td>
<td>14.23</td>
<td>0.373853804</td>
<td>6</td>
</tr>
</tbody>
</table>
<h3 class="code-line" data-line-start=61 data-line-end=62 ><a id="Please_Note_61"></a>Please Note:</h3>
<ul>
<li class="has-line-data" data-line-start="62" data-line-end="63">Categorical values are not handled</li>
<li class="has-line-data" data-line-start="63" data-line-end="67">Enter the path for your input csv file<br>
-Enter the weights vector with each weight separated by commas<br>
-Enter the impact vector with each impact separated by commas<br>
-Enter the name of csv file in which you want to store output dataframe.</li>
</ul>
<h2 class="code-line" data-line-start=70 data-line-end=71 ><a id="License_70"></a>License</h2>
<p class="has-line-data" data-line-start="72" data-line-end="73">MIT</p>
<p class="has-line-data" data-line-start="74" data-line-end="75"><strong>Free Software, Hell Yeah!</strong></p>

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "Topsis-Nandini-102017101",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "topsis,mcda,UCS654,TIET",
    "author": "Nandini Goel",
    "author_email": "nandinigoel09@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e8/39/1742baeb78afbf108f2d0b9f2907fa345f480958e52f974ac3791e605828/Topsis-Nandini-102017101-0.0.3.tar.gz",
    "platform": null,
    "description": "<h1 class=\"code-line\" data-line-start=0 data-line-end=1 ><a id=\"Project_Description_0\"></a>Project Description</h1>\r\n<h2 class=\"code-line\" data-line-start=1 data-line-end=2 ><a id=\"TopsisNandini102017101_1\"></a>Topsis-Nandini-102017101</h2>\r\n<p class=\"has-line-data\" data-line-start=\"2\" data-line-end=\"4\">Topsis-Nandini-102017101 is a Python Package implementing Topsis method used for multi-criteria decision analysis. Topsis stands for \u2018Technique for Order of Preference by Similarity to Ideal Solution\u2019.<br>\r\nTopsis-Nandini-102017101 intends to make the process of TOPSIS simple in python.</p>\r\n<p class=\"has-line-data\" data-line-start=\"5\" data-line-end=\"6\">Key features of the package are -</p>\r\n<ul>\r\n<li class=\"has-line-data\" data-line-start=\"6\" data-line-end=\"7\">Easy to use</li>\r\n<li class=\"has-line-data\" data-line-start=\"7\" data-line-end=\"8\">Numpy Based</li>\r\n<li class=\"has-line-data\" data-line-start=\"8\" data-line-end=\"10\">Ideal for Students</li>\r\n</ul>\r\n<h2 class=\"code-line\" data-line-start=10 data-line-end=11 ><a id=\"Installation_10\"></a>Installation</h2>\r\n<p class=\"has-line-data\" data-line-start=\"12\" data-line-end=\"13\">Use the package manager pip to install Topsis-Nandini-102017101</p>\r\n<h2 class=\"code-line\" data-line-start=14 data-line-end=15 ><a id=\"Syntax_14\"></a>Syntax</h2>\r\n<p class=\"has-line-data\" data-line-start=\"15\" data-line-end=\"16\">Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-) and output file name with .csv extension</p>\r\n<pre><code class=\"has-line-data\" data-line-start=\"17\" data-line-end=\"19\" class=\"language-sh\">topsis &lt;InputDataFile&gt; &lt;Weights&gt; &lt;Impacts&gt; &lt;ResultFileName&gt;\r\n</code></pre>\r\n<p class=\"has-line-data\" data-line-start=\"19\" data-line-end=\"20\">Example:</p>\r\n<pre><code class=\"has-line-data\" data-line-start=\"21\" data-line-end=\"23\" class=\"language-sh\">topsis inputfile.csv \u201c<span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">2</span>\u201d \u201c+,+,-,+\u201d result.csv\r\n</code></pre>\r\n<p class=\"has-line-data\" data-line-start=\"23\" data-line-end=\"24\">or vectors can be entered without &quot; &quot;</p>\r\n<pre><code class=\"has-line-data\" data-line-start=\"25\" data-line-end=\"27\" class=\"language-sh\">topsis inputfile.csv <span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">1</span>,<span class=\"hljs-number\">2</span> +,+,-,+ result.csv\r\n</code></pre>\r\n<p class=\"has-line-data\" data-line-start=\"27\" data-line-end=\"28\">But the second representation does not provide for inadvertent spaces between vector values. So, if the input string contains spaces, make sure to enclose it between double quotes (&quot; &quot;).</p>\r\n<h1 class=\"code-line\" data-line-start=29 data-line-end=30 ><a id=\"Example_29\"></a>Example</h1>\r\n<h3 class=\"code-line\" data-line-start=31 data-line-end=32 ><a id=\"Sample_input_data_31\"></a>Sample input data</h3>\r\n<table class=\"table table-striped table-bordered\">\r\n<thead>\r\n<tr>\r\n<th>Fund Name</th>\r\n<th>P1</th>\r\n<th>P2</th>\r\n<th>P3</th>\r\n<th>P4</th>\r\n<th>P5</th>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n<tr>\r\n<td>M1</td>\r\n<td>0.65</td>\r\n<td>0.42</td>\r\n<td>5.3</td>\r\n<td>43.8</td>\r\n<td>12.54</td>\r\n</tr>\r\n<tr>\r\n<td>M2</td>\r\n<td>0.94</td>\r\n<td>0.88</td>\r\n<td>4</td>\r\n<td>61.5</td>\r\n<td>16.83</td>\r\n</tr>\r\n<tr>\r\n<td>M3</td>\r\n<td>0.72</td>\r\n<td>0.52</td>\r\n<td>3.2</td>\r\n<td>69.7</td>\r\n<td>18.54</td>\r\n</tr>\r\n<tr>\r\n<td>M4</td>\r\n<td>0.89</td>\r\n<td>0.79</td>\r\n<td>5.4</td>\r\n<td>49</td>\r\n<td>14.02</td>\r\n</tr>\r\n<tr>\r\n<td>M5</td>\r\n<td>0.75</td>\r\n<td>0.56</td>\r\n<td>6.9</td>\r\n<td>49.4</td>\r\n<td>14.4</td>\r\n</tr>\r\n<tr>\r\n<td>M6</td>\r\n<td>0.6</td>\r\n<td>0.36</td>\r\n<td>4.2</td>\r\n<td>68.3</td>\r\n<td>18.37</td>\r\n</tr>\r\n<tr>\r\n<td>M7</td>\r\n<td>0.89</td>\r\n<td>0.79</td>\r\n<td>6.7</td>\r\n<td>44.6</td>\r\n<td>13.25</td>\r\n</tr>\r\n<tr>\r\n<td>M8</td>\r\n<td>0.79</td>\r\n<td>0.62</td>\r\n<td>3.8</td>\r\n<td>51.7</td>\r\n<td>14.23</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p class=\"has-line-data\" data-line-start=\"44\" data-line-end=\"45\">weights vector = [ 1 , 1 , 1 , 1 , 1 ]</p>\r\n<p class=\"has-line-data\" data-line-start=\"46\" data-line-end=\"47\">impacts vector = [ + , + , + , + , + ]</p>\r\n<h3 class=\"code-line\" data-line-start=48 data-line-end=49 ><a id=\"Sample_output_data_48\"></a>Sample output data</h3>\r\n<table class=\"table table-striped table-bordered\">\r\n<thead>\r\n<tr>\r\n<th>Fund Name</th>\r\n<th>P1</th>\r\n<th>P2</th>\r\n<th>P3</th>\r\n<th>P4</th>\r\n<th>P5</th>\r\n<th>Topsis Score</th>\r\n<th>Rank</th>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n<tr>\r\n<td>M1</td>\r\n<td>0.65</td>\r\n<td>0.42</td>\r\n<td>5.3</td>\r\n<td>43.8</td>\r\n<td>12.54</td>\r\n<td>0.287855029</td>\r\n<td>8</td>\r\n</tr>\r\n<tr>\r\n<td>M2</td>\r\n<td>0.94</td>\r\n<td>0.88</td>\r\n<td>4</td>\r\n<td>61.5</td>\r\n<td>16.83</td>\r\n<td>0.631106388</td>\r\n<td>2</td>\r\n</tr>\r\n<tr>\r\n<td>M3</td>\r\n<td>0.72</td>\r\n<td>0.52</td>\r\n<td>3.2</td>\r\n<td>69.7</td>\r\n<td>18.54</td>\r\n<td>0.412672373</td>\r\n<td>5</td>\r\n</tr>\r\n<tr>\r\n<td>M4</td>\r\n<td>0.89</td>\r\n<td>0.79</td>\r\n<td>5.4</td>\r\n<td>49</td>\r\n<td>14.02</td>\r\n<td>0.605503106</td>\r\n<td>3</td>\r\n</tr>\r\n<tr>\r\n<td>M5</td>\r\n<td>0.75</td>\r\n<td>0.56</td>\r\n<td>6.9</td>\r\n<td>49.4</td>\r\n<td>14.4</td>\r\n<td>0.536194294</td>\r\n<td>4</td>\r\n</tr>\r\n<tr>\r\n<td>M6</td>\r\n<td>0.6</td>\r\n<td>0.36</td>\r\n<td>4.2</td>\r\n<td>68.3</td>\r\n<td>18.37</td>\r\n<td>0.36630047</td>\r\n<td>7</td>\r\n</tr>\r\n<tr>\r\n<td>M7</td>\r\n<td>0.89</td>\r\n<td>0.79</td>\r\n<td>6.7</td>\r\n<td>44.6</td>\r\n<td>13.25</td>\r\n<td>0.635938379</td>\r\n<td>1</td>\r\n</tr>\r\n<tr>\r\n<td>M8</td>\r\n<td>0.79</td>\r\n<td>0.62</td>\r\n<td>3.8</td>\r\n<td>51.7</td>\r\n<td>14.23</td>\r\n<td>0.373853804</td>\r\n<td>6</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<h3 class=\"code-line\" data-line-start=61 data-line-end=62 ><a id=\"Please_Note_61\"></a>Please Note:</h3>\r\n<ul>\r\n<li class=\"has-line-data\" data-line-start=\"62\" data-line-end=\"63\">Categorical values are not handled</li>\r\n<li class=\"has-line-data\" data-line-start=\"63\" data-line-end=\"67\">Enter the path for your input csv file<br>\r\n-Enter the weights vector with each weight separated by commas<br>\r\n-Enter the impact vector with each impact separated by commas<br>\r\n-Enter the name of csv file in which you want to store output dataframe.</li>\r\n</ul>\r\n<h2 class=\"code-line\" data-line-start=70 data-line-end=71 ><a id=\"License_70\"></a>License</h2>\r\n<p class=\"has-line-data\" data-line-start=\"72\" data-line-end=\"73\">MIT</p>\r\n<p class=\"has-line-data\" data-line-start=\"74\" data-line-end=\"75\"><strong>Free Software, Hell Yeah!</strong></p>\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This is a Python Package implementing TOPSIS used for multi-criteria decision analysis method",
    "version": "0.0.3",
    "split_keywords": [
        "topsis",
        "mcda",
        "ucs654",
        "tiet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8391742baeb78afbf108f2d0b9f2907fa345f480958e52f974ac3791e605828",
                "md5": "2dc4185132107e677a0b22af646da3a0",
                "sha256": "423e84b1d032d3718d424955092650334bed1eb42d0c16a13d692886e902fd9b"
            },
            "downloads": -1,
            "filename": "Topsis-Nandini-102017101-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "2dc4185132107e677a0b22af646da3a0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5260,
            "upload_time": "2023-01-21T07:37:35",
            "upload_time_iso_8601": "2023-01-21T07:37:35.003924Z",
            "url": "https://files.pythonhosted.org/packages/e8/39/1742baeb78afbf108f2d0b9f2907fa345f480958e52f974ac3791e605828/Topsis-Nandini-102017101-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-21 07:37:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "topsis-nandini-102017101"
}
        
Elapsed time: 0.03502s