Last week, Ark Investment Management, managing a suite of exchange-traded funds(ETFs) of the moment, released the latest Tesla research report, in which Ark estimates that Tesla’s share price could approach $3,000 in 2025, up from its current price of $611.
In the past few days, this report has become a trending topic on social media. I took an interest in the Monte Carlo model mentioned in it.
To arrive at this forecast, ARK used a Monte Carlo model with 34 inputs, the high and low forecasts incorporating 40,000 possible simulations.
The Monte Carlo method, or Monte Carlo simulation, is a…
When we use Python language to develop machine learning, deep learning, quantitative trading, web applications, we often need to process time: time transformation, time calculation, etc. This article will explain in detail the functions and tips related to time and date in the Python language.
A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second. — wikipedia
In computers, the files or database records contain timestamps that tell when the file or record was created or last modified.
…
As a programmer, I intend to share interesting technical trivia with you. If you are not a developer, I hope this trivia will make you interested in coding and let you understand these programmers from another side.
Last night, I was going to play the game Plants vs. Zombies 2(PvZ2) on my iPhone. After I pressed the game icon, it froze at the launch screen, a few moments later, the app just crashed. I suddenly remembered a trivia knowledge about iOS from one tweet. …
In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class.
— Design Patterns
In Python, you can use a function or class to implement decorators to modify the behavior of the function through a wrapper so we don’t have to actually modify the function.
The scenarios for using decorators include loggings, performance testing, transaction processing, caching, permission verification, etc. Decorators are an excellent design to solve such problems.
Through a simple example, to explain why we want to…
In 2020, although the COVID-19 pandemic has restricted people’s activities and hinders our development, in technology, people continue to move forward with difficulty and even achieve many amazing results.
As of 2021, with economic recovery and widely vaccinated, we still have to look forward to human science and technology. These four technology trends deserve our attention.
On June 11, 2020, OpenAI released an autoregressive language model -Generative Pre-trained Transformer 3(GPT-3). Even though this API is still a beta, there are lots of amazing applications using GPT-3.
You can click the link above to review these applications with GPT-3. We believe…
In a warm winter sun, you sit at a cafe by the lake, open a browser on your laptop, log in the “notebook” in the cloud, type in a deep learning model you designed, press Run All, and continue to enjoy the breath-taking natural beauty in front of you. After a while, finish your coffee, the training results are already stored in your cloud account. The cloud-based deep learning notebooks allow you to have powerful computing power anytime, anywhere.
In 2021, there are 3 proven platforms that can bring you the above experience. They are all cloud solutions based on…
When we finish writing a piece of Python code, it often does not run well normally. That’s when we need to debug the code. Although most IDEs provide support for code debugging, we will talk about 4 fundamental python debugging methods in this article.
The simplest and most common debugging method is to use print()
statements to print out the suspect variable in the terminal. Almost all programming languages can use print
statement to debug.
Please see the following code:
After the code runs, check the values of the variable printed out in the terminal to find out the…
Imagine that when you use a development tool to program, you only need to enter one or two letters, and the tool will auto-generate the following code for you. It sounds like a kind of magic. In recent years, with the development of deep learning, there is no longer a kind of science fiction, and some development tools have already the prototype of such.
From 2019 to 2020, two popular AI Code Autocomplete, TabNine and Kite, came to my attention. After a period of use, I decided to do a brief review of them to evaluate which one is more…
Disclaimer: This article is for education purposes only. I am only sharing my opinions with no guarantee of gains or losses. Your investments are solely your own responsibility. It is very important for you to conduct your own research or consult a financial adviser before you make any investment decisions.
As of this writing, Bitcoin price has crossed $19,000 and is expected to hit $20,000 in its 12-year history high by the end of 2020.
Software Engineer, Kaggle Competitions Expert