cryptory | Retrieve historical crpytocurrency data | Cryptography library
kandi X-RAY | cryptory Summary
kandi X-RAY | cryptory Summary
Retrieve historical cryptocurrency and other related data.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get exchange rates
- Merge data with fill gaps
- Get Google trends
- Extract a metric from subreddit
- Extract Bitinfocharts for a given coin
- Get stock prices for a given market
- Retrieve metal prices
- Returns a pandas dataframe containing alloil prices
- Extract coins from coinmarket
cryptory Key Features
cryptory Examples and Code Snippets
Community Discussions
Trending Discussions on cryptory
QUESTION
I'm working on some Artificial Intelligence project and I want to predict the bitcoin trend but while using the model.predict function from Keras with my test_set, the prediction is always equal to 1 and the line in my diagram is therefor always straight.
...ANSWER
Answered 2019-Apr-17 at 15:53You're trying to predict a price value, that is, you're aiming at solving a regression problem and not a classification problem.
However, in your last layer of the network (model.add(Dense(units=1, activation="softmax"))
), you have a single neuron (which would be adequate for a regression problem), but you've chosen to use a softmax activation function. The softmax function is used in multi-class classification problems, to normalize the outputs into a probability distribution. If you have a single output neuron and you apply softmax, the final result will always 1.0, as it is the only parameter of the probability distribution.
In summary, for regression problems you do not use an activation function, as the network is intended to already output the predicted value.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cryptory
You can use cryptory like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page