-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
I request access to the files so I can contribute to the project! #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Perceptron - one neuron
Front variable is added so that dequeue can be done any number of times.Without front,it displays only self.entries[0] as dequeued.
Neural Network - Perceptron
Added front to indicate the starting of the Queue
* Create singly_LinkedList.py * Update singly_LinkedList.py * Update singly_LinkedList.py * Update singly_LinkedList.py * Update singly_LinkedList.py * Update singly_LinkedList.py
Maximum_subaray_problem
* Started Trie implementation. * Basic definition of Trie in comments at the top of the file * Defined Trie class and method signatures. * * Renamed method signatures to match formal definitions * Finished Simple Trie implementation and added test functions * Finished function to insert a word into Trie * Finished function to find a word in the Trie * Added Test functions with Assertions * Updated test function to read from the Dictionary.txt file in repository * * No longer using $ to mark end of word * No longer reading from file but instead provided simple sample input for easier testing * Deleting empty __init__.py file
add neuralnetwork_bp3.py
stephen_branch
Merged Graphs into data_structure/graph
increased user interactivity and more powerful usage of modules.
There are three methods that find approximately the roots of a non-linear function
Bisection,Newton,Intersection
Three methods to find the roots of non-linear functions
a class with simple cipher algorithm that uses bitwise XOR
XOR cipher algorithm
ciphers/XOR_cipher.py
Outdated
if (self.__key == 0): | ||
key = 1 | ||
else: | ||
key = self.__key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key = key or self.__key or 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your proposals
ciphers/XOR_cipher.py
Outdated
|
||
# This will be returned | ||
ans = [] | ||
resultNumber = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resultNumber is assigned to but not used.
return ans | ||
|
||
|
||
def encrypt_string(self,content, key = 0): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return ''.join(self.encrypt(content, key))
ciphers/XOR_cipher.py
Outdated
assert (isinstance(file,str) and isinstance(key,int)) | ||
|
||
try: | ||
fin = open(file,"r") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use with open() to avoid the need to close() manually and also to close() even if an exception is thrown.
ciphers/XOR_cipher.py
Outdated
fin.close() | ||
fout.close() | ||
|
||
except: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See PEP8 for reasons to avoid bare exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your proposals.I'm glad If I get some feedback.
greetings from Saarland
Christian
I improve my code
I comment out some code lines in the test-section
improvement XOR_cipher.py
path-1 forwarding ports with meterpreter API using namespaces with gui supported C# program. look at open ai.lnk file to see more.
Modernize Python 2 code to get ready for Python 3
Add automated flake8 testing of pull requests
typo fix
2. Corrected Logic {AVL.py, 104-107} 3. Removed unnecessary semicolons {BellmanFord.py, Dijkstra.py}
Without these changes, Python syntax errors are raised. flake8 should be run by this repo's .travis.yml file but it is currently turned off.
Pass flake8 tests
Changing for Python 3 using exception handling for robust code
Update cyclesort.py
Removing requirement of math library to make code faster
fixed failure function and cleaned up code in kmp + added rabin-karp
Update NeutonMethod.py
Added Tarjan's algorithm for finding strongly connected components
No description provided.