yshshrm / data-structures-and-algorithms-hacktoberfest18 Goto Github PK
View Code? Open in Web Editor NEWList of data structures and algorithms. Feel free to contribute under Hacktoberfest '18!
List of data structures and algorithms. Feel free to contribute under Hacktoberfest '18!
Adding insertion sort algorithm in C.
Hello~
Thank you very much for sharing the code!
I try to use my own data set ( with the same shape as mnist) in code. After some iterations, it is found that the training loss became NAN. After carefully checking the code, I found that the following code may trigger NAN in loss:
In /python/algorithms/Classification Algorithms/MNIST Digit cassification using CNN.py: line 245
cross_entropy = tf.reduce_mean(-tf.reduce_sum(y_ * tf.log(y), reduction_indices=[1]))
If y contains 0 (output of softmax ), the result of tf.log(y) is inf because log(0) is illegal . And this may cause the result of loss to become NAN.
It could be fixed by making the following changes:
cross_entropy = tf.reduce_mean(-tf.reduce_sum(y_ * tf.log(y + 1e-8), reduction_indices=[1]))
or
cross_entropy = tf.reduce_mean(-tf.reduce_sum(y_ * tf.log(tf.clip_by_value(y,1e-8,1.0)), reduction_indices=[1]))
The same problem was also found at line 645:
cross_entropy = tf.reduce_mean(-tf.reduce_sum(y_ * tf.log(y_CNN), reduction_indices=[1]))
Hope to hear from you ~
Thanks in advance! : )
Currently the files are in the form language/filename
.
Change this to language/algorithms/filename
for algorithms or language/ds/filename
for data structures.
[Edit] Limit your changes to one or two languages.
There's a './idea' in the repo. Please remove it.
Contributing Guidelines
algo_name.language_extention
i.e. the overall path should be language/algo_name.language_extention
How to make PR
I want to add this Linked list program in python !! do please assign me !!
We can create sub-folders in each language. It will make this task less confusing.
For starters, we can separate the codes into 'algorithms' and 'data structures'.
Hi there,
Thank you for your interest in Hacktoberfest and in helping others make their first contributions to open source.
While we agree that it's important to help others, this repository does not do this in a way that is in line with the Hacktoberfest values. Please read the part that talks about high-quality contributions to understand why we are reaching out and taking action. Due to this, we've added this repository to the list of excluded repositories which means pull requests here will not count toward Hacktoberfest 2020.
This is not a DigitalOcean decision, it's one that is inspired by the community of maintainers and contributors who all agree that quality is more important than quantity when it comes to engagement in the Open Source community. The values remind us to shift the focus from contributions to repositories that encourage folks to quickly create and gain a pull request to contributions that will help people level-up their skills and contribute to open-source projects that are in need of help.
If you feel that this repository is an effective learning resource, we encourage you to keep running it since a core part of the aim for Hacktoberfest is to encourage new folks to get involved with open-source.
However, if you are interested in having contributions to this repo count toward Hacktoberfest we encourage you to take a look at this list of Hacktoberfest issues for inspiration and make the necessary changes to focus on enabling people to make meaningful contributions to open source projects.
If you have any questions about this or participating in Hacktoberfest, please contact our team via email [email protected] or join our community Discord server.
Happy Hacking,
The Hacktoberfest Team
Hacktoberfest is presented by DigitalOcean, Intel and DEV.
It's about time for hacktoberfest to start, is the repo accepting pull requests now ?
I made a C Implementation of a AVL : Self Balancing Tree
Contributing Guidelines
How to make PR
I did a pull request but it did not count toward Hacktoberfest 2020
algo_name.language_extention
i.e. the overall path should be language/algo_name.language_extention
Contributing Guidelines
algo_name.language_extention
i.e. the overall path should be language/algo_name.language_extention
How to make PR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.