Skip to content

Commit 3f978cc

Browse files
hritik5102cclauss
andauthored
added ML algorithms | ReadMe.md | Contribution.md (#6)
* added ML algorithms | ReadMe.md | Contribution.md * Updated README.md * updated ... * Minor changes * Rename LICENSE.md/LICENSE.md to LICENSE/LICENSE.md * Rename LICENSE/LICENSE.md to LICENSE.md Co-authored-by: Christian Clauss <[email protected]>
1 parent 3f1bbc8 commit 3f978cc

21 files changed

+14535
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.history
2+
.dist

Contributing.md

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
11+
build.
12+
2. Update the README.md with details of changes to the interface, this includes new environment
13+
variables, exposed ports, useful file locations and container parameters.
14+
3. Increase the version numbers in any examples files and the README.md to the new version that this
15+
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
16+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
17+
do not have permission to do that, you may request the second reviewer to merge it for you.
18+
19+
## Code of Conduct
20+
21+
### Our Pledge
22+
23+
In the interest of fostering an open and welcoming environment, we as
24+
contributors and maintainers pledge to making participation in our project and
25+
our community a harassment-free experience for everyone, regardless of age, body
26+
size, disability, ethnicity, gender identity and expression, level of experience,
27+
nationality, personal appearance, race, religion, or sexual identity and
28+
orientation.
29+
30+
### Our Standards
31+
32+
Examples of behavior that contributes to creating a positive environment
33+
include:
34+
35+
* Using welcoming and inclusive language
36+
* Being respectful of differing viewpoints and experiences
37+
* Gracefully accepting constructive criticism
38+
* Focusing on what is best for the community
39+
* Showing empathy towards other community members
40+
41+
Examples of unacceptable behavior by participants include:
42+
43+
* The use of sexualized language or imagery and unwelcome sexual attention or
44+
advances
45+
* Trolling, insulting/derogatory comments, and personal or political attacks
46+
* Public or private harassment
47+
* Publishing others' private information, such as a physical or electronic
48+
address, without explicit permission
49+
* Other conduct which could reasonably be considered inappropriate in a
50+
professional setting
51+
52+
### Our Responsibilities
53+
54+
Project maintainers are responsible for clarifying the standards of acceptable
55+
behavior and are expected to take appropriate and fair corrective action in
56+
response to any instances of unacceptable behavior.
57+
58+
Project maintainers have the right and responsibility to remove, edit, or
59+
reject comments, commits, code, wiki edits, issues, and other contributions
60+
that are not aligned to this Code of Conduct, or to ban temporarily or
61+
permanently any contributor for other behaviors that they deem inappropriate,
62+
threatening, offensive, or harmful.
63+
64+
### Scope
65+
66+
This Code of Conduct applies both within project spaces and in public spaces
67+
when an individual is representing the project or its community. Examples of
68+
representing a project or community include using an official project e-mail
69+
address, posting via an official social media account, or acting as an appointed
70+
representative at an online or offline event. Representation of a project may be
71+
further defined and clarified by project maintainers.
72+
73+
### Enforcement
74+
75+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
76+
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
77+
complaints will be reviewed and investigated and will result in a response that
78+
is deemed necessary and appropriate to the circumstances. The project team is
79+
obligated to maintain confidentiality with regard to the reporter of an incident.
80+
Further details of specific enforcement policies may be posted separately.
81+
82+
Project maintainers who do not follow or enforce the Code of Conduct in good
83+
faith may face temporary or permanent repercussions as determined by other
84+
members of the project's leadership.
File renamed without changes.

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Jupyter ![](https://img.shields.io/github/forks/TheAlgorithms/Jupyter?style=social) ![](https://img.shields.io/github/stars/TheAlgorithms/Jupyter?style=social) ![](https://img.shields.io/github/watchers/TheAlgorithms/Jupyter?style=social) <br>
2+
3+
![](https://img.shields.io/github/repo-size/TheAlgorithms/Jupyter) ![](https://img.shields.io/github/downloads/TheAlgorithms/Jupyter/total)<br>
4+
![](https://img.shields.io/github/issues/TheAlgorithms/Jupyter?color=green) ![](https://img.shields.io/github/issues-pr/TheAlgorithms/Jupyter?color=green) ![](https://img.shields.io/github/last-commit/TheAlgorithms/Jupyter) ![](https://img.shields.io/github/contributors/TheAlgorithms/Jupyter)
5+
6+
## Clone git repository
7+
8+
```sh
9+
$ git clone "https://github.com/TheAlgorithms/Jupyter.git"
10+
```
11+
12+
You can run and edit the algorithms or contribute to them using [Gitpod.io](https://www.gitpod.io/), a free online development environment, with a single click.
13+
14+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](http://gitpod.io/#https://github.com/TheAlgorithms/Jupyter)
15+
16+
## Contributing
17+
18+
Please read [Contributing.md](Contributing.md) for information on how to contribute to Jupyter.
19+
20+
## License
21+
22+
Licensed under the [MIT License](./LICENSE.md/LICENSE.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"tensorflow.ipynb","version":"0.3.2","provenance":[],"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"},"accelerator":"GPU"},"cells":[{"cell_type":"code","metadata":{"id":"0axZpLoAXxSP","colab_type":"code","outputId":"94b779ea-e33a-48ff-e346-4fc1c916c8dd","executionInfo":{"status":"ok","timestamp":1567082837757,"user_tz":-330,"elapsed":392639,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":97}},"source":["!python - version"],"execution_count":0,"outputs":[{"output_type":"stream","text":["Python 3.6.8 (default, Jan 14 2019, 11:02:34) \n","[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux\n","Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n",">>> "],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"TTTgibnBZruj","colab_type":"code","outputId":"4dd5cbb2-20d7-4c92-9669-e04f63fa7ba9","executionInfo":{"status":"ok","timestamp":1567082843830,"user_tz":-330,"elapsed":3813,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":34}},"source":["ls"],"execution_count":0,"outputs":[{"output_type":"stream","text":["\u001b[0m\u001b[01;34msample_data\u001b[0m/\n"],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"7hkoI7kBac2s","colab_type":"code","outputId":"01762a3b-2a00-4215-fc1e-4e33dbaf8921","executionInfo":{"status":"ok","timestamp":1567082849376,"user_tz":-330,"elapsed":1246,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":34}},"source":["cd .."],"execution_count":0,"outputs":[{"output_type":"stream","text":["/\n"],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"jjwm9mcjaxeE","colab_type":"code","outputId":"8640a166-2238-4390-95ac-bb2a2df03b93","executionInfo":{"status":"ok","timestamp":1567082890219,"user_tz":-330,"elapsed":3583,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":68}},"source":["! ls"],"execution_count":0,"outputs":[{"output_type":"stream","text":["bin\t datalab home\t lib64\topt run swift\t\t tmp\t var\n","boot\t dev\t lib\t media\tproc sbin sys\t\t\t tools\n","content etc\t lib32 mnt\troot srv tensorflow-2.0.0-rc0 usr\n"],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"Jxr886c-eS0A","colab_type":"code","outputId":"3d01a15f-9c48-40a6-cf55-0518ca46131e","executionInfo":{"status":"ok","timestamp":1567084219513,"user_tz":-330,"elapsed":1221,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":119}},"source":["num = list(range(5))\n","print(num)\n","print(num[2:4])\n","print(num[2:])\n","print(num[:])\n","print(num[:-2])\n","num[2:4] = [8,9]\n","print(num)"],"execution_count":0,"outputs":[{"output_type":"stream","text":["[0, 1, 2, 3, 4]\n","[2, 3]\n","[2, 3, 4]\n","[0, 1, 2, 3, 4]\n","[0, 1, 2]\n","[0, 1, 8, 9, 4]\n"],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"G0o0yt2cglp-","colab_type":"code","outputId":"06f20671-c9f3-451b-c387-4aefd39d054a","executionInfo":{"status":"ok","timestamp":1567084568994,"user_tz":-330,"elapsed":1243,"user":{"displayName":"HRITIK JAISWAL","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAIoT5asTvy-RaZPvDKRvz2bMxFBhU-1QvQZ2E4=s64","userId":"10596177819840519504"}},"colab":{"base_uri":"https://localhost:8080/","height":119}},"source":["d = {'cat' : 'cute' , 'dog' : 'furry'}\n","print(d['cat'])\n","\n","print('cat' in d)\n","d['fish'] = 'wet'\n","print(d['fish'])\n","\n","print(d.get('monkey', 'N/A'))\n","print(d.get('fish', 'N/A'))\n","\n","del d['fish']\n","print(d.get('fish', 'N/A'))\n"],"execution_count":0,"outputs":[{"output_type":"stream","text":["cute\n","True\n","wet\n","N/A\n","wet\n","N/A\n"],"name":"stdout"}]},{"cell_type":"code","metadata":{"id":"vMI0_eyMh7Bg","colab_type":"code","outputId":"dd4fac16-cd92-4f65-da57-3561125ea190","executionInfo":{"status":"error","timestamp":1567665182564,"user_tz":-330,"elapsed":1680,"user":{"displayName":"SHAMILEE PERUVALUDHI","photoUrl":"","userId":"08081684504145098128"}},"colab":{"base_uri":"https://localhost:8080/","height":130}},"source":["class dog(object):\n"," def __init__(self,name):\n"," self.name = name\n"," \n"," def greet(self , loud = False):\n"," if loud:\n"," print(\"hii {}\".format(str(self.name.upper()))\n"," else:\n"," print(\"hello {}\".format(str(self.name()))\n"," \n"," \n","g = dog('simely')\n","g.greet();\n","g.greet(loud=True)\n"," "],"execution_count":2,"outputs":[{"output_type":"error","ename":"SyntaxError","evalue":"ignored","traceback":["\u001b[0;36m File \u001b[0;32m\"<ipython-input-2-f7211a6fd04a>\"\u001b[0;36m, line \u001b[0;32m8\u001b[0m\n\u001b[0;31m else:\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n"]}]}]}

0 commit comments

Comments
 (0)