Commit 6a251d41 authored by Dr.李's avatar Dr.李

fixed conflict

parents 619c8a8f bbb2ef19
...@@ -1031,5 +1031,5 @@ class IndexMarket(Base): ...@@ -1031,5 +1031,5 @@ class IndexMarket(Base):
if __name__ == '__main__': if __name__ == '__main__':
from sqlalchemy import create_engine from sqlalchemy import create_engine
engine = create_engine('postgresql+psycopg2://postgres:we083826@101.132.104.118/alpha') engine = create_engine('postgresql+psycopg2://alpha:alpha@180.166.26.82:8890/alpha')
Base.metadata.create_all(engine) Base.metadata.create_all(engine)
...@@ -237,9 +237,25 @@ ...@@ -237,9 +237,25 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 27,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Optimization finished ......\n",
"Training cost = 0.06224982067942619, W = [[ 0.6762214 ]\n",
" [ 0.40109447]\n",
" [-0.4262993 ]\n",
" [ 0.28896013]], b = 0.014891502447426319\n",
"\n",
"Sklearn Regression Testing IC: 0.9434\n",
"Tensorflow Regression Testing IC: 0.9242\n",
"Wall time: 3min 26s\n"
]
}
],
"source": [ "source": [
"%%time \n", "%%time \n",
"\n", "\n",
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.8" "version": "3.7.3"
}, },
"varInspector": { "varInspector": {
"cols": { "cols": {
......
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.8" "version": "3.7.3"
}, },
"varInspector": { "varInspector": {
"cols": { "cols": {
......
...@@ -292,7 +292,7 @@ ...@@ -292,7 +292,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.8" "version": "3.7.3"
}, },
"varInspector": { "varInspector": {
"cols": { "cols": {
......
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.8" "version": "3.7.3"
}, },
"varInspector": { "varInspector": {
"cols": { "cols": {
......
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.8" "version": "3.7.3"
}, },
"varInspector": { "varInspector": {
"cols": { "cols": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment