Only for Ubuntu, because I use Ubuntu on
- Install postgreSQL:
sudo apt install postgresql postgresql-contrib
| import numpy as np | |
| import pandas as pd | |
| import requests | |
| def get_market_data(ticker): | |
| """ | |
| Ticker in format quote/base, | |
| for example 'BTC/USD' | |
| return: pandas dataframe |
| import numpy as np | |
| import pandas as pd | |
| import requests | |
| "" | |
| LOAD DATA | |
| """ | |
| def get_market_data(ticker): | |
| """ | |
| Ticker in format quote/base, |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "metadata": {}, | |
| "source": [ | |
| "# Data preparation with pandas and numpy" | |
| ] | |
| }, | |
| { |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "metadata": {}, | |
| "source": [ | |
| "##Kaggle Competition | Titanic: Machine Learning from Disaster\n", | |
| "The competition's website is located on [Kaggle.com](https://www.kaggle.com/c/titanic)" | |
| ] | |
| }, |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "metadata": {}, | |
| "source": [ | |
| "# Example of Machine Learning classifications in Python" | |
| ] | |
| }, | |
| { |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "metadata": {}, | |
| "source": [ | |
| "This is an example of simple polynomial regression for single feature.\n", | |
| "As a dataset I'm using calibration data of high pressure densitometer.\n", | |
| "My goal was to make an equation, that's can decribe relationship between temperature and period of oscillation of densitometer's U-tube." | |
| ] |