{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Assignment. 산학지형 기상 정보 대비 Burned Area에 대한 EDA 및 Regression를 활용한 예측\n",
"- 데이터 집합 소스\n",
" - 설명: https://archive.ics.uci.edu/ml/datasets/Forest+Fires\n",
" - Features\n",
" - 1: X - x-axis spatial coordinate within the Montesinho park map: 1 to 9 \n",
" - 2: Y - y-axis spatial coordinate within the Montesinho park map: 2 to 9 \n",
" - 3: month - month of the year: 'jan' to 'dec' \n",
" - 4: day - day of the week: 'mon' to 'sun' \n",
" - 5: FFMC - FFMC index from the FWI system: 18.7 to 96.20 \n",
" - 6: DMC - DMC index from the FWI system: 1.1 to 291.3 \n",
" - 7: DC - DC index from the FWI system: 7.9 to 860.6 \n",
" - 8: ISI - ISI index from the FWI system: 0.0 to 56.10 \n",
" - 9: temp - temperature in Celsius degrees: 2.2 to 33.30 \n",
" - 10: RH - relative humidity in %: 15.0 to 100 \n",
" - 11: wind - wind speed in km/h: 0.40 to 9.40 \n",
" - 12: rain - outside rain in mm/m2 : 0.0 to 6.4 \n",
" - Target \n",
" - area - the burned area of the forest (in ha): 0.00 to 1090.84\n",
" - 관련 논문 및 자료\n",
" - P. Cortez and A. Morais. A Data Mining Approach to Predict Forest Fires using Meteorological Data. In J. Neves, M. F. Santos and J. Machado Eds., New Trends in Artificial Intelligence, Proceedings of the 13th EPIA 2007 - Portuguese Conference on Artificial Intelligence, December, Guimarães, Portugal, pp. 512-523, 2007. APPIA, ISBN-13 978-989-95618-0-9. http://www3.dsi.uminho.pt/pcortez/fires.pdf\n",
" - 논문 발췌 중요 그림\n",
" ![attributes](./figures/fire.png)\n",
" ![map](./figures/fire_map.png)\n",
" - Fire Weather Index\n",
" - https://www.frames.gov/files/6014/1576/1411/FWI-history.pdf\n",
" - 데이터: https://archive.ics.uci.edu/ml/machine-learning-databases/forest-fires/forestfires.csv"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import urllib2\n",
"from scipy import stats\n",
"from pandas import Series, DataFrame\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"%matplotlib inline\n",
"\n",
"path = 'https://archive.ics.uci.edu/ml/machine-learning-databases/forest-fires/forestfires.csv'\n",
"raw_csv = urllib2.urlopen(path)\n",
"feature_names = ('X', 'Y', 'month', 'day', \"FFMC\", \"DMC\", 'DC', 'ISI', 'temp', 'RH', 'wind', 'rain')\n",
"target_name = 'area'\n",
"all_names = feature_names + (target_name,)\n",
"df = pd.read_csv(raw_csv)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"
\n",
" \n",
" \n",
" | \n",
" X | \n",
" Y | \n",
" month | \n",
" day | \n",
" FFMC | \n",
" DMC | \n",
" DC | \n",
" ISI | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 7 | \n",
" 5 | \n",
" mar | \n",
" fri | \n",
" 86.2 | \n",
" 26.2 | \n",
" 94.3 | \n",
" 5.1 | \n",
" 8.2 | \n",
" 51 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 1 | \n",
" 7 | \n",
" 4 | \n",
" oct | \n",
" tue | \n",
" 90.6 | \n",
" 35.4 | \n",
" 669.1 | \n",
" 6.7 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 2 | \n",
" 7 | \n",
" 4 | \n",
" oct | \n",
" sat | \n",
" 90.6 | \n",
" 43.7 | \n",
" 686.9 | \n",
" 6.7 | \n",
" 14.6 | \n",
" 33 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 3 | \n",
" 8 | \n",
" 6 | \n",
" mar | \n",
" fri | \n",
" 91.7 | \n",
" 33.3 | \n",
" 77.5 | \n",
" 9.0 | \n",
" 8.3 | \n",
" 97 | \n",
" 4.0 | \n",
" 0.2 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" 8 | \n",
" 6 | \n",
" mar | \n",
" sun | \n",
" 89.3 | \n",
" 51.3 | \n",
" 102.2 | \n",
" 9.6 | \n",
" 11.4 | \n",
" 99 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 5 | \n",
" 8 | \n",
" 6 | \n",
" aug | \n",
" sun | \n",
" 92.3 | \n",
" 85.3 | \n",
" 488.0 | \n",
" 14.7 | \n",
" 22.2 | \n",
" 29 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 6 | \n",
" 8 | \n",
" 6 | \n",
" aug | \n",
" mon | \n",
" 92.3 | \n",
" 88.9 | \n",
" 495.6 | \n",
" 8.5 | \n",
" 24.1 | \n",
" 27 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 7 | \n",
" 8 | \n",
" 6 | \n",
" aug | \n",
" mon | \n",
" 91.5 | \n",
" 145.4 | \n",
" 608.2 | \n",
" 10.7 | \n",
" 8.0 | \n",
" 86 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 8 | \n",
" 8 | \n",
" 6 | \n",
" sep | \n",
" tue | \n",
" 91.0 | \n",
" 129.5 | \n",
" 692.6 | \n",
" 7.0 | \n",
" 13.1 | \n",
" 63 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 9 | \n",
" 7 | \n",
" 5 | \n",
" sep | \n",
" sat | \n",
" 92.5 | \n",
" 88.0 | \n",
" 698.6 | \n",
" 7.1 | \n",
" 22.8 | \n",
" 40 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 10 | \n",
" 7 | \n",
" 5 | \n",
" sep | \n",
" sat | \n",
" 92.5 | \n",
" 88.0 | \n",
" 698.6 | \n",
" 7.1 | \n",
" 17.8 | \n",
" 51 | \n",
" 7.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 11 | \n",
" 7 | \n",
" 5 | \n",
" sep | \n",
" sat | \n",
" 92.8 | \n",
" 73.2 | \n",
" 713.0 | \n",
" 22.6 | \n",
" 19.3 | \n",
" 38 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 12 | \n",
" 6 | \n",
" 5 | \n",
" aug | \n",
" fri | \n",
" 63.5 | \n",
" 70.8 | \n",
" 665.3 | \n",
" 0.8 | \n",
" 17.0 | \n",
" 72 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 13 | \n",
" 6 | \n",
" 5 | \n",
" sep | \n",
" mon | \n",
" 90.9 | \n",
" 126.5 | \n",
" 686.5 | \n",
" 7.0 | \n",
" 21.3 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 14 | \n",
" 6 | \n",
" 5 | \n",
" sep | \n",
" wed | \n",
" 92.9 | \n",
" 133.3 | \n",
" 699.6 | \n",
" 9.2 | \n",
" 26.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 15 | \n",
" 6 | \n",
" 5 | \n",
" sep | \n",
" fri | \n",
" 93.3 | \n",
" 141.2 | \n",
" 713.9 | \n",
" 13.9 | \n",
" 22.9 | \n",
" 44 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 16 | \n",
" 5 | \n",
" 5 | \n",
" mar | \n",
" sat | \n",
" 91.7 | \n",
" 35.8 | \n",
" 80.8 | \n",
" 7.8 | \n",
" 15.1 | \n",
" 27 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 17 | \n",
" 8 | \n",
" 5 | \n",
" oct | \n",
" mon | \n",
" 84.9 | \n",
" 32.8 | \n",
" 664.2 | \n",
" 3.0 | \n",
" 16.7 | \n",
" 47 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 18 | \n",
" 6 | \n",
" 4 | \n",
" mar | \n",
" wed | \n",
" 89.2 | \n",
" 27.9 | \n",
" 70.8 | \n",
" 6.3 | \n",
" 15.9 | \n",
" 35 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 19 | \n",
" 6 | \n",
" 4 | \n",
" apr | \n",
" sat | \n",
" 86.3 | \n",
" 27.4 | \n",
" 97.1 | \n",
" 5.1 | \n",
" 9.3 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 20 | \n",
" 6 | \n",
" 4 | \n",
" sep | \n",
" tue | \n",
" 91.0 | \n",
" 129.5 | \n",
" 692.6 | \n",
" 7.0 | \n",
" 18.3 | \n",
" 40 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 21 | \n",
" 5 | \n",
" 4 | \n",
" sep | \n",
" mon | \n",
" 91.8 | \n",
" 78.5 | \n",
" 724.3 | \n",
" 9.2 | \n",
" 19.1 | \n",
" 38 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 22 | \n",
" 7 | \n",
" 4 | \n",
" jun | \n",
" sun | \n",
" 94.3 | \n",
" 96.3 | \n",
" 200.0 | \n",
" 56.1 | \n",
" 21.0 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 23 | \n",
" 7 | \n",
" 4 | \n",
" aug | \n",
" sat | \n",
" 90.2 | \n",
" 110.9 | \n",
" 537.4 | \n",
" 6.2 | \n",
" 19.5 | \n",
" 43 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 24 | \n",
" 7 | \n",
" 4 | \n",
" aug | \n",
" sat | \n",
" 93.5 | \n",
" 139.4 | \n",
" 594.2 | \n",
" 20.3 | \n",
" 23.7 | \n",
" 32 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 25 | \n",
" 7 | \n",
" 4 | \n",
" aug | \n",
" sun | \n",
" 91.4 | \n",
" 142.4 | \n",
" 601.4 | \n",
" 10.6 | \n",
" 16.3 | \n",
" 60 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 26 | \n",
" 7 | \n",
" 4 | \n",
" sep | \n",
" fri | \n",
" 92.4 | \n",
" 117.9 | \n",
" 668.0 | \n",
" 12.2 | \n",
" 19.0 | \n",
" 34 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 27 | \n",
" 7 | \n",
" 4 | \n",
" sep | \n",
" mon | \n",
" 90.9 | \n",
" 126.5 | \n",
" 686.5 | \n",
" 7.0 | \n",
" 19.4 | \n",
" 48 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 28 | \n",
" 6 | \n",
" 3 | \n",
" sep | \n",
" sat | \n",
" 93.4 | \n",
" 145.4 | \n",
" 721.4 | \n",
" 8.1 | \n",
" 30.2 | \n",
" 24 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 29 | \n",
" 6 | \n",
" 3 | \n",
" sep | \n",
" sun | \n",
" 93.5 | \n",
" 149.3 | \n",
" 728.6 | \n",
" 8.1 | \n",
" 22.8 | \n",
" 39 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 5 | \n",
" 4 | \n",
" aug | \n",
" tue | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 26.4 | \n",
" 34 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 16.40 | \n",
"
\n",
" \n",
" 488 | \n",
" 4 | \n",
" 4 | \n",
" aug | \n",
" tue | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 19.4 | \n",
" 71 | \n",
" 7.6 | \n",
" 0.0 | \n",
" 46.70 | \n",
"
\n",
" \n",
" 489 | \n",
" 4 | \n",
" 4 | \n",
" aug | \n",
" wed | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 20.6 | \n",
" 58 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 490 | \n",
" 4 | \n",
" 4 | \n",
" aug | \n",
" wed | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 28.7 | \n",
" 33 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 491 | \n",
" 4 | \n",
" 4 | \n",
" aug | \n",
" thu | \n",
" 95.8 | \n",
" 152.0 | \n",
" 624.1 | \n",
" 13.8 | \n",
" 32.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 492 | \n",
" 1 | \n",
" 3 | \n",
" aug | \n",
" fri | \n",
" 95.9 | \n",
" 158.0 | \n",
" 633.6 | \n",
" 11.3 | \n",
" 32.4 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 493 | \n",
" 1 | \n",
" 3 | \n",
" aug | \n",
" fri | \n",
" 95.9 | \n",
" 158.0 | \n",
" 633.6 | \n",
" 11.3 | \n",
" 27.5 | \n",
" 29 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 43.32 | \n",
"
\n",
" \n",
" 494 | \n",
" 6 | \n",
" 6 | \n",
" aug | \n",
" sat | \n",
" 96.0 | \n",
" 164.0 | \n",
" 643.0 | \n",
" 14.0 | \n",
" 30.8 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 8.59 | \n",
"
\n",
" \n",
" 495 | \n",
" 6 | \n",
" 6 | \n",
" aug | \n",
" mon | \n",
" 96.2 | \n",
" 175.5 | \n",
" 661.8 | \n",
" 16.8 | \n",
" 23.9 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 496 | \n",
" 4 | \n",
" 5 | \n",
" aug | \n",
" mon | \n",
" 96.2 | \n",
" 175.5 | \n",
" 661.8 | \n",
" 16.8 | \n",
" 32.6 | \n",
" 26 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 2.77 | \n",
"
\n",
" \n",
" 497 | \n",
" 3 | \n",
" 4 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 14.68 | \n",
"
\n",
" \n",
" 498 | \n",
" 6 | \n",
" 5 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 33.3 | \n",
" 26 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 40.54 | \n",
"
\n",
" \n",
" 499 | \n",
" 7 | \n",
" 5 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 27.3 | \n",
" 63 | \n",
" 4.9 | \n",
" 6.4 | \n",
" 10.82 | \n",
"
\n",
" \n",
" 500 | \n",
" 8 | \n",
" 6 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 501 | \n",
" 7 | \n",
" 5 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 502 | \n",
" 4 | \n",
" 4 | \n",
" aug | \n",
" tue | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 20.7 | \n",
" 69 | \n",
" 4.9 | \n",
" 0.4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 503 | \n",
" 2 | \n",
" 4 | \n",
" aug | \n",
" wed | \n",
" 94.5 | \n",
" 139.4 | \n",
" 689.1 | \n",
" 20.0 | \n",
" 29.2 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 1.95 | \n",
"
\n",
" \n",
" 504 | \n",
" 4 | \n",
" 3 | \n",
" aug | \n",
" wed | \n",
" 94.5 | \n",
" 139.4 | \n",
" 689.1 | \n",
" 20.0 | \n",
" 28.9 | \n",
" 29 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 49.59 | \n",
"
\n",
" \n",
" 505 | \n",
" 1 | \n",
" 2 | \n",
" aug | \n",
" thu | \n",
" 91.0 | \n",
" 163.2 | \n",
" 744.4 | \n",
" 10.1 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 5.80 | \n",
"
\n",
" \n",
" 506 | \n",
" 1 | \n",
" 2 | \n",
" aug | \n",
" fri | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 18.5 | \n",
" 73 | \n",
" 8.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 507 | \n",
" 2 | \n",
" 4 | \n",
" aug | \n",
" fri | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 508 | \n",
" 1 | \n",
" 2 | \n",
" aug | \n",
" fri | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 509 | \n",
" 5 | \n",
" 4 | \n",
" aug | \n",
" fri | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 21.1 | \n",
" 71 | \n",
" 7.6 | \n",
" 1.4 | \n",
" 2.17 | \n",
"
\n",
" \n",
" 510 | \n",
" 6 | \n",
" 5 | \n",
" aug | \n",
" fri | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 18.2 | \n",
" 62 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.43 | \n",
"
\n",
" \n",
" 511 | \n",
" 8 | \n",
" 6 | \n",
" aug | \n",
" sun | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 27.8 | \n",
" 35 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 512 | \n",
" 4 | \n",
" 3 | \n",
" aug | \n",
" sun | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 6.44 | \n",
"
\n",
" \n",
" 513 | \n",
" 2 | \n",
" 4 | \n",
" aug | \n",
" sun | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 21.9 | \n",
" 71 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 54.29 | \n",
"
\n",
" \n",
" 514 | \n",
" 7 | \n",
" 4 | \n",
" aug | \n",
" sun | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 21.2 | \n",
" 70 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 11.16 | \n",
"
\n",
" \n",
" 515 | \n",
" 1 | \n",
" 4 | \n",
" aug | \n",
" sat | \n",
" 94.4 | \n",
" 146.0 | \n",
" 614.7 | \n",
" 11.3 | \n",
" 25.6 | \n",
" 42 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 516 | \n",
" 6 | \n",
" 3 | \n",
" nov | \n",
" tue | \n",
" 79.5 | \n",
" 3.0 | \n",
" 106.7 | \n",
" 1.1 | \n",
" 11.8 | \n",
" 31 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 13 columns
\n",
"
"
],
"text/plain": [
" X Y month day FFMC DMC DC ISI temp RH wind rain area\n",
"0 7 5 mar fri 86.2 26.2 94.3 5.1 8.2 51 6.7 0.0 0.00\n",
"1 7 4 oct tue 90.6 35.4 669.1 6.7 18.0 33 0.9 0.0 0.00\n",
"2 7 4 oct sat 90.6 43.7 686.9 6.7 14.6 33 1.3 0.0 0.00\n",
"3 8 6 mar fri 91.7 33.3 77.5 9.0 8.3 97 4.0 0.2 0.00\n",
"4 8 6 mar sun 89.3 51.3 102.2 9.6 11.4 99 1.8 0.0 0.00\n",
"5 8 6 aug sun 92.3 85.3 488.0 14.7 22.2 29 5.4 0.0 0.00\n",
"6 8 6 aug mon 92.3 88.9 495.6 8.5 24.1 27 3.1 0.0 0.00\n",
"7 8 6 aug mon 91.5 145.4 608.2 10.7 8.0 86 2.2 0.0 0.00\n",
"8 8 6 sep tue 91.0 129.5 692.6 7.0 13.1 63 5.4 0.0 0.00\n",
"9 7 5 sep sat 92.5 88.0 698.6 7.1 22.8 40 4.0 0.0 0.00\n",
"10 7 5 sep sat 92.5 88.0 698.6 7.1 17.8 51 7.2 0.0 0.00\n",
"11 7 5 sep sat 92.8 73.2 713.0 22.6 19.3 38 4.0 0.0 0.00\n",
"12 6 5 aug fri 63.5 70.8 665.3 0.8 17.0 72 6.7 0.0 0.00\n",
"13 6 5 sep mon 90.9 126.5 686.5 7.0 21.3 42 2.2 0.0 0.00\n",
"14 6 5 sep wed 92.9 133.3 699.6 9.2 26.4 21 4.5 0.0 0.00\n",
"15 6 5 sep fri 93.3 141.2 713.9 13.9 22.9 44 5.4 0.0 0.00\n",
"16 5 5 mar sat 91.7 35.8 80.8 7.8 15.1 27 5.4 0.0 0.00\n",
"17 8 5 oct mon 84.9 32.8 664.2 3.0 16.7 47 4.9 0.0 0.00\n",
"18 6 4 mar wed 89.2 27.9 70.8 6.3 15.9 35 4.0 0.0 0.00\n",
"19 6 4 apr sat 86.3 27.4 97.1 5.1 9.3 44 4.5 0.0 0.00\n",
"20 6 4 sep tue 91.0 129.5 692.6 7.0 18.3 40 2.7 0.0 0.00\n",
"21 5 4 sep mon 91.8 78.5 724.3 9.2 19.1 38 2.7 0.0 0.00\n",
"22 7 4 jun sun 94.3 96.3 200.0 56.1 21.0 44 4.5 0.0 0.00\n",
"23 7 4 aug sat 90.2 110.9 537.4 6.2 19.5 43 5.8 0.0 0.00\n",
"24 7 4 aug sat 93.5 139.4 594.2 20.3 23.7 32 5.8 0.0 0.00\n",
"25 7 4 aug sun 91.4 142.4 601.4 10.6 16.3 60 5.4 0.0 0.00\n",
"26 7 4 sep fri 92.4 117.9 668.0 12.2 19.0 34 5.8 0.0 0.00\n",
"27 7 4 sep mon 90.9 126.5 686.5 7.0 19.4 48 1.3 0.0 0.00\n",
"28 6 3 sep sat 93.4 145.4 721.4 8.1 30.2 24 2.7 0.0 0.00\n",
"29 6 3 sep sun 93.5 149.3 728.6 8.1 22.8 39 3.6 0.0 0.00\n",
".. .. .. ... ... ... ... ... ... ... .. ... ... ...\n",
"487 5 4 aug tue 95.1 141.3 605.8 17.7 26.4 34 3.6 0.0 16.40\n",
"488 4 4 aug tue 95.1 141.3 605.8 17.7 19.4 71 7.6 0.0 46.70\n",
"489 4 4 aug wed 95.1 141.3 605.8 17.7 20.6 58 1.3 0.0 0.00\n",
"490 4 4 aug wed 95.1 141.3 605.8 17.7 28.7 33 4.0 0.0 0.00\n",
"491 4 4 aug thu 95.8 152.0 624.1 13.8 32.4 21 4.5 0.0 0.00\n",
"492 1 3 aug fri 95.9 158.0 633.6 11.3 32.4 27 2.2 0.0 0.00\n",
"493 1 3 aug fri 95.9 158.0 633.6 11.3 27.5 29 4.5 0.0 43.32\n",
"494 6 6 aug sat 96.0 164.0 643.0 14.0 30.8 30 4.9 0.0 8.59\n",
"495 6 6 aug mon 96.2 175.5 661.8 16.8 23.9 42 2.2 0.0 0.00\n",
"496 4 5 aug mon 96.2 175.5 661.8 16.8 32.6 26 3.1 0.0 2.77\n",
"497 3 4 aug tue 96.1 181.1 671.2 14.3 32.3 27 2.2 0.0 14.68\n",
"498 6 5 aug tue 96.1 181.1 671.2 14.3 33.3 26 2.7 0.0 40.54\n",
"499 7 5 aug tue 96.1 181.1 671.2 14.3 27.3 63 4.9 6.4 10.82\n",
"500 8 6 aug tue 96.1 181.1 671.2 14.3 21.6 65 4.9 0.8 0.00\n",
"501 7 5 aug tue 96.1 181.1 671.2 14.3 21.6 65 4.9 0.8 0.00\n",
"502 4 4 aug tue 96.1 181.1 671.2 14.3 20.7 69 4.9 0.4 0.00\n",
"503 2 4 aug wed 94.5 139.4 689.1 20.0 29.2 30 4.9 0.0 1.95\n",
"504 4 3 aug wed 94.5 139.4 689.1 20.0 28.9 29 4.9 0.0 49.59\n",
"505 1 2 aug thu 91.0 163.2 744.4 10.1 26.7 35 1.8 0.0 5.80\n",
"506 1 2 aug fri 91.0 166.9 752.6 7.1 18.5 73 8.5 0.0 0.00\n",
"507 2 4 aug fri 91.0 166.9 752.6 7.1 25.9 41 3.6 0.0 0.00\n",
"508 1 2 aug fri 91.0 166.9 752.6 7.1 25.9 41 3.6 0.0 0.00\n",
"509 5 4 aug fri 91.0 166.9 752.6 7.1 21.1 71 7.6 1.4 2.17\n",
"510 6 5 aug fri 91.0 166.9 752.6 7.1 18.2 62 5.4 0.0 0.43\n",
"511 8 6 aug sun 81.6 56.7 665.6 1.9 27.8 35 2.7 0.0 0.00\n",
"512 4 3 aug sun 81.6 56.7 665.6 1.9 27.8 32 2.7 0.0 6.44\n",
"513 2 4 aug sun 81.6 56.7 665.6 1.9 21.9 71 5.8 0.0 54.29\n",
"514 7 4 aug sun 81.6 56.7 665.6 1.9 21.2 70 6.7 0.0 11.16\n",
"515 1 4 aug sat 94.4 146.0 614.7 11.3 25.6 42 4.0 0.0 0.00\n",
"516 6 3 nov tue 79.5 3.0 106.7 1.1 11.8 31 4.5 0.0 0.00\n",
"\n",
"[517 rows x 13 columns]"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 1] 불이 가장 많이 발생한 지역 좌표 (X, Y) 상위 5개를 제시하시오.\n",
"- numpy 및 pandas에서 제공되는 gropyby, sum, stack, sort 등의 메소드 활용 필요 "
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" X | \n",
" Y | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 7 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 1 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 2 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 3 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 5 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 6 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 7 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 8 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 9 | \n",
" 7 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 10 | \n",
" 7 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 11 | \n",
" 7 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 12 | \n",
" 6 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 13 | \n",
" 6 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 14 | \n",
" 6 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 15 | \n",
" 6 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 16 | \n",
" 5 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 17 | \n",
" 8 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 18 | \n",
" 6 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 19 | \n",
" 6 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 20 | \n",
" 6 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 21 | \n",
" 5 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 22 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 23 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 24 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 25 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 26 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 27 | \n",
" 7 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 28 | \n",
" 6 | \n",
" 3 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 29 | \n",
" 6 | \n",
" 3 | \n",
" 0.00 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 5 | \n",
" 4 | \n",
" 16.40 | \n",
"
\n",
" \n",
" 488 | \n",
" 4 | \n",
" 4 | \n",
" 46.70 | \n",
"
\n",
" \n",
" 489 | \n",
" 4 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 490 | \n",
" 4 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 491 | \n",
" 4 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 492 | \n",
" 1 | \n",
" 3 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 493 | \n",
" 1 | \n",
" 3 | \n",
" 43.32 | \n",
"
\n",
" \n",
" 494 | \n",
" 6 | \n",
" 6 | \n",
" 8.59 | \n",
"
\n",
" \n",
" 495 | \n",
" 6 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 496 | \n",
" 4 | \n",
" 5 | \n",
" 2.77 | \n",
"
\n",
" \n",
" 497 | \n",
" 3 | \n",
" 4 | \n",
" 14.68 | \n",
"
\n",
" \n",
" 498 | \n",
" 6 | \n",
" 5 | \n",
" 40.54 | \n",
"
\n",
" \n",
" 499 | \n",
" 7 | \n",
" 5 | \n",
" 10.82 | \n",
"
\n",
" \n",
" 500 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 501 | \n",
" 7 | \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 502 | \n",
" 4 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 503 | \n",
" 2 | \n",
" 4 | \n",
" 1.95 | \n",
"
\n",
" \n",
" 504 | \n",
" 4 | \n",
" 3 | \n",
" 49.59 | \n",
"
\n",
" \n",
" 505 | \n",
" 1 | \n",
" 2 | \n",
" 5.80 | \n",
"
\n",
" \n",
" 506 | \n",
" 1 | \n",
" 2 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 507 | \n",
" 2 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 508 | \n",
" 1 | \n",
" 2 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 509 | \n",
" 5 | \n",
" 4 | \n",
" 2.17 | \n",
"
\n",
" \n",
" 510 | \n",
" 6 | \n",
" 5 | \n",
" 0.43 | \n",
"
\n",
" \n",
" 511 | \n",
" 8 | \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 512 | \n",
" 4 | \n",
" 3 | \n",
" 6.44 | \n",
"
\n",
" \n",
" 513 | \n",
" 2 | \n",
" 4 | \n",
" 54.29 | \n",
"
\n",
" \n",
" 514 | \n",
" 7 | \n",
" 4 | \n",
" 11.16 | \n",
"
\n",
" \n",
" 515 | \n",
" 1 | \n",
" 4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 516 | \n",
" 6 | \n",
" 3 | \n",
" 0.00 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 3 columns
\n",
"
"
],
"text/plain": [
" X Y area\n",
"0 7 5 0.00\n",
"1 7 4 0.00\n",
"2 7 4 0.00\n",
"3 8 6 0.00\n",
"4 8 6 0.00\n",
"5 8 6 0.00\n",
"6 8 6 0.00\n",
"7 8 6 0.00\n",
"8 8 6 0.00\n",
"9 7 5 0.00\n",
"10 7 5 0.00\n",
"11 7 5 0.00\n",
"12 6 5 0.00\n",
"13 6 5 0.00\n",
"14 6 5 0.00\n",
"15 6 5 0.00\n",
"16 5 5 0.00\n",
"17 8 5 0.00\n",
"18 6 4 0.00\n",
"19 6 4 0.00\n",
"20 6 4 0.00\n",
"21 5 4 0.00\n",
"22 7 4 0.00\n",
"23 7 4 0.00\n",
"24 7 4 0.00\n",
"25 7 4 0.00\n",
"26 7 4 0.00\n",
"27 7 4 0.00\n",
"28 6 3 0.00\n",
"29 6 3 0.00\n",
".. .. .. ...\n",
"487 5 4 16.40\n",
"488 4 4 46.70\n",
"489 4 4 0.00\n",
"490 4 4 0.00\n",
"491 4 4 0.00\n",
"492 1 3 0.00\n",
"493 1 3 43.32\n",
"494 6 6 8.59\n",
"495 6 6 0.00\n",
"496 4 5 2.77\n",
"497 3 4 14.68\n",
"498 6 5 40.54\n",
"499 7 5 10.82\n",
"500 8 6 0.00\n",
"501 7 5 0.00\n",
"502 4 4 0.00\n",
"503 2 4 1.95\n",
"504 4 3 49.59\n",
"505 1 2 5.80\n",
"506 1 2 0.00\n",
"507 2 4 0.00\n",
"508 1 2 0.00\n",
"509 5 4 2.17\n",
"510 6 5 0.43\n",
"511 8 6 0.00\n",
"512 4 3 6.44\n",
"513 2 4 54.29\n",
"514 7 4 11.16\n",
"515 1 4 0.00\n",
"516 6 3 0.00\n",
"\n",
"[517 rows x 3 columns]"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['X', 'Y', 'area']]\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"gsdf = sdf.groupby(['X','Y'])"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" | \n",
" area | \n",
"
\n",
" \n",
" X | \n",
" Y | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" 1 | \n",
" 2 | \n",
" 219.94 | \n",
"
\n",
" \n",
" 3 | \n",
" 157.14 | \n",
"
\n",
" \n",
" 4 | \n",
" 150.28 | \n",
"
\n",
" \n",
" 5 | \n",
" 115.47 | \n",
"
\n",
" \n",
" 2 | \n",
" 2 | \n",
" 462.65 | \n",
"
\n",
" \n",
" 3 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" 143.37 | \n",
"
\n",
" \n",
" 5 | \n",
" 92.63 | \n",
"
\n",
" \n",
" 3 | \n",
" 3 | \n",
" 6.58 | \n",
"
\n",
" \n",
" 4 | \n",
" 126.35 | \n",
"
\n",
" \n",
" 5 | \n",
" 2.18 | \n",
"
\n",
" \n",
" 6 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" 3 | \n",
" 172.88 | \n",
"
\n",
" \n",
" 4 | \n",
" 397.43 | \n",
"
\n",
" \n",
" 5 | \n",
" 287.01 | \n",
"
\n",
" \n",
" 6 | \n",
" 87.73 | \n",
"
\n",
" \n",
" 5 | \n",
" 4 | \n",
" 73.75 | \n",
"
\n",
" \n",
" 5 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 6 | \n",
" 17.62 | \n",
"
\n",
" \n",
" 6 | \n",
" 3 | \n",
" 192.78 | \n",
"
\n",
" \n",
" 4 | \n",
" 144.47 | \n",
"
\n",
" \n",
" 5 | \n",
" 1384.05 | \n",
"
\n",
" \n",
" 6 | \n",
" 8.59 | \n",
"
\n",
" \n",
" 7 | \n",
" 3 | \n",
" 27.35 | \n",
"
\n",
" \n",
" 4 | \n",
" 474.37 | \n",
"
\n",
" \n",
" 5 | \n",
" 77.39 | \n",
"
\n",
" \n",
" 6 | \n",
" 86.45 | \n",
"
\n",
" \n",
" 8 | \n",
" 3 | \n",
" 26.31 | \n",
"
\n",
" \n",
" 4 | \n",
" 12.18 | \n",
"
\n",
" \n",
" 5 | \n",
" 2.93 | \n",
"
\n",
" \n",
" 6 | \n",
" 1265.30 | \n",
"
\n",
" \n",
" 8 | \n",
" 185.76 | \n",
"
\n",
" \n",
" 9 | \n",
" 4 | \n",
" 185.61 | \n",
"
\n",
" \n",
" 5 | \n",
" 8.16 | \n",
"
\n",
" \n",
" 6 | \n",
" 42.87 | \n",
"
\n",
" \n",
" 9 | \n",
" 4.47 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" area\n",
"X Y \n",
"1 2 219.94\n",
" 3 157.14\n",
" 4 150.28\n",
" 5 115.47\n",
"2 2 462.65\n",
" 3 0.00\n",
" 4 143.37\n",
" 5 92.63\n",
"3 3 6.58\n",
" 4 126.35\n",
" 5 2.18\n",
" 6 0.00\n",
"4 3 172.88\n",
" 4 397.43\n",
" 5 287.01\n",
" 6 87.73\n",
"5 4 73.75\n",
" 5 0.00\n",
" 6 17.62\n",
"6 3 192.78\n",
" 4 144.47\n",
" 5 1384.05\n",
" 6 8.59\n",
"7 3 27.35\n",
" 4 474.37\n",
" 5 77.39\n",
" 6 86.45\n",
"8 3 26.31\n",
" 4 12.18\n",
" 5 2.93\n",
" 6 1265.30\n",
" 8 185.76\n",
"9 4 185.61\n",
" 5 8.16\n",
" 6 42.87\n",
" 9 4.47"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"gsdf_sum = gsdf.sum()\n",
"gsdf_sum"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:2: FutureWarning: sort is deprecated, use sort_values(inplace=True) for INPLACE sorting\n",
" from ipykernel import kernelapp as app\n"
]
},
{
"data": {
"text/plain": [
"X Y \n",
"6 5 area 1384.05\n",
"8 6 area 1265.30\n",
"7 4 area 474.37\n",
"2 2 area 462.65\n",
"4 4 area 397.43\n",
" 5 area 287.01\n",
"1 2 area 219.94\n",
"6 3 area 192.78\n",
"8 8 area 185.76\n",
"9 4 area 185.61\n",
"4 3 area 172.88\n",
"1 3 area 157.14\n",
" 4 area 150.28\n",
"6 4 area 144.47\n",
"2 4 area 143.37\n",
"3 4 area 126.35\n",
"1 5 area 115.47\n",
"2 5 area 92.63\n",
"4 6 area 87.73\n",
"7 6 area 86.45\n",
" 5 area 77.39\n",
"5 4 area 73.75\n",
"9 6 area 42.87\n",
"7 3 area 27.35\n",
"8 3 area 26.31\n",
"5 6 area 17.62\n",
"8 4 area 12.18\n",
"6 6 area 8.59\n",
"9 5 area 8.16\n",
"3 3 area 6.58\n",
"9 9 area 4.47\n",
"8 5 area 2.93\n",
"3 5 area 2.18\n",
"2 3 area 0.00\n",
"3 6 area 0.00\n",
"5 5 area 0.00\n",
"dtype: float64"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"gsdf_sum_stack = gsdf_sum.stack()\n",
"gsdf_sum_stack.sort(ascending=False)\n",
"gsdf_sum_stack"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"X Y \n",
"6 5 area 1384.05\n",
"8 6 area 1265.30\n",
"7 4 area 474.37\n",
"2 2 area 462.65\n",
"4 4 area 397.43\n",
"dtype: float64"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"gsdf_sum_stack[0:5]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 2] 불이 가장 많이 발생한 월 (month) 상위 2개 및 가장 많이 발생한 날 (day) 상위 2개를 제시하시오.\n",
"- numpy 및 pandas에서 제공되는 gropyby, sum, stack, sort 등의 메소드 활용 필요"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" month | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" mar | \n",
" 0.00 | \n",
"
\n",
" \n",
" 1 | \n",
" oct | \n",
" 0.00 | \n",
"
\n",
" \n",
" 2 | \n",
" oct | \n",
" 0.00 | \n",
"
\n",
" \n",
" 3 | \n",
" mar | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" mar | \n",
" 0.00 | \n",
"
\n",
" \n",
" 5 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 6 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 7 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 8 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 9 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 10 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 11 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 12 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 13 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 14 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 15 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 16 | \n",
" mar | \n",
" 0.00 | \n",
"
\n",
" \n",
" 17 | \n",
" oct | \n",
" 0.00 | \n",
"
\n",
" \n",
" 18 | \n",
" mar | \n",
" 0.00 | \n",
"
\n",
" \n",
" 19 | \n",
" apr | \n",
" 0.00 | \n",
"
\n",
" \n",
" 20 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 21 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 22 | \n",
" jun | \n",
" 0.00 | \n",
"
\n",
" \n",
" 23 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 24 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 25 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 26 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 27 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 28 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" 29 | \n",
" sep | \n",
" 0.00 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" aug | \n",
" 16.40 | \n",
"
\n",
" \n",
" 488 | \n",
" aug | \n",
" 46.70 | \n",
"
\n",
" \n",
" 489 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 490 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 491 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 492 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 493 | \n",
" aug | \n",
" 43.32 | \n",
"
\n",
" \n",
" 494 | \n",
" aug | \n",
" 8.59 | \n",
"
\n",
" \n",
" 495 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 496 | \n",
" aug | \n",
" 2.77 | \n",
"
\n",
" \n",
" 497 | \n",
" aug | \n",
" 14.68 | \n",
"
\n",
" \n",
" 498 | \n",
" aug | \n",
" 40.54 | \n",
"
\n",
" \n",
" 499 | \n",
" aug | \n",
" 10.82 | \n",
"
\n",
" \n",
" 500 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 501 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 502 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 503 | \n",
" aug | \n",
" 1.95 | \n",
"
\n",
" \n",
" 504 | \n",
" aug | \n",
" 49.59 | \n",
"
\n",
" \n",
" 505 | \n",
" aug | \n",
" 5.80 | \n",
"
\n",
" \n",
" 506 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 507 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 508 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 509 | \n",
" aug | \n",
" 2.17 | \n",
"
\n",
" \n",
" 510 | \n",
" aug | \n",
" 0.43 | \n",
"
\n",
" \n",
" 511 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 512 | \n",
" aug | \n",
" 6.44 | \n",
"
\n",
" \n",
" 513 | \n",
" aug | \n",
" 54.29 | \n",
"
\n",
" \n",
" 514 | \n",
" aug | \n",
" 11.16 | \n",
"
\n",
" \n",
" 515 | \n",
" aug | \n",
" 0.00 | \n",
"
\n",
" \n",
" 516 | \n",
" nov | \n",
" 0.00 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 2 columns
\n",
"
"
],
"text/plain": [
" month area\n",
"0 mar 0.00\n",
"1 oct 0.00\n",
"2 oct 0.00\n",
"3 mar 0.00\n",
"4 mar 0.00\n",
"5 aug 0.00\n",
"6 aug 0.00\n",
"7 aug 0.00\n",
"8 sep 0.00\n",
"9 sep 0.00\n",
"10 sep 0.00\n",
"11 sep 0.00\n",
"12 aug 0.00\n",
"13 sep 0.00\n",
"14 sep 0.00\n",
"15 sep 0.00\n",
"16 mar 0.00\n",
"17 oct 0.00\n",
"18 mar 0.00\n",
"19 apr 0.00\n",
"20 sep 0.00\n",
"21 sep 0.00\n",
"22 jun 0.00\n",
"23 aug 0.00\n",
"24 aug 0.00\n",
"25 aug 0.00\n",
"26 sep 0.00\n",
"27 sep 0.00\n",
"28 sep 0.00\n",
"29 sep 0.00\n",
".. ... ...\n",
"487 aug 16.40\n",
"488 aug 46.70\n",
"489 aug 0.00\n",
"490 aug 0.00\n",
"491 aug 0.00\n",
"492 aug 0.00\n",
"493 aug 43.32\n",
"494 aug 8.59\n",
"495 aug 0.00\n",
"496 aug 2.77\n",
"497 aug 14.68\n",
"498 aug 40.54\n",
"499 aug 10.82\n",
"500 aug 0.00\n",
"501 aug 0.00\n",
"502 aug 0.00\n",
"503 aug 1.95\n",
"504 aug 49.59\n",
"505 aug 5.80\n",
"506 aug 0.00\n",
"507 aug 0.00\n",
"508 aug 0.00\n",
"509 aug 2.17\n",
"510 aug 0.43\n",
"511 aug 0.00\n",
"512 aug 6.44\n",
"513 aug 54.29\n",
"514 aug 11.16\n",
"515 aug 0.00\n",
"516 nov 0.00\n",
"\n",
"[517 rows x 2 columns]"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['month', 'area']]\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" area | \n",
"
\n",
" \n",
" month | \n",
" | \n",
"
\n",
" \n",
" \n",
" \n",
" apr | \n",
" 80.02 | \n",
"
\n",
" \n",
" aug | \n",
" 2297.99 | \n",
"
\n",
" \n",
" dec | \n",
" 119.97 | \n",
"
\n",
" \n",
" feb | \n",
" 125.50 | \n",
"
\n",
" \n",
" jan | \n",
" 0.00 | \n",
"
\n",
" \n",
" jul | \n",
" 459.83 | \n",
"
\n",
" \n",
" jun | \n",
" 99.30 | \n",
"
\n",
" \n",
" mar | \n",
" 235.26 | \n",
"
\n",
" \n",
" may | \n",
" 38.48 | \n",
"
\n",
" \n",
" nov | \n",
" 0.00 | \n",
"
\n",
" \n",
" oct | \n",
" 99.57 | \n",
"
\n",
" \n",
" sep | \n",
" 3086.13 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" area\n",
"month \n",
"apr 80.02\n",
"aug 2297.99\n",
"dec 119.97\n",
"feb 125.50\n",
"jan 0.00\n",
"jul 459.83\n",
"jun 99.30\n",
"mar 235.26\n",
"may 38.48\n",
"nov 0.00\n",
"oct 99.57\n",
"sep 3086.13"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"gsdf_sum = sdf.groupby('month').sum()\n",
"gsdf_sum"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:2: FutureWarning: sort is deprecated, use sort_values(inplace=True) for INPLACE sorting\n",
" from ipykernel import kernelapp as app\n"
]
},
{
"data": {
"text/plain": [
"month \n",
"sep area 3086.13\n",
"aug area 2297.99\n",
"dtype: float64"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"gsdf_sum_stack = gsdf_sum.stack()\n",
"gsdf_sum_stack.sort(ascending=False)\n",
"gsdf_sum_stack[0:2]"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:4: FutureWarning: sort is deprecated, use sort_values(inplace=True) for INPLACE sorting\n"
]
},
{
"data": {
"text/plain": [
"day \n",
"sat area 2144.86\n",
"thu area 997.10\n",
"dtype: float64"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['day', 'area']]\n",
"gsdf_sum = sdf.groupby('day').sum()\n",
"gsdf_sum_stack = gsdf_sum.stack()\n",
"gsdf_sum_stack.sort(ascending=False)\n",
"gsdf_sum_stack[0:2]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 3] 4대 주 요인 (temp, RH, wind, rain) 속성별 기본 통계치 및 Box Plot 산출\n",
"- numpy 및 pandas에서 제공되는 describe() 및 boxplot() 사용\n",
"- describe()가 제공하는 통계치 및 boxplot을 보면서 나름대로의 해석을 반드시 3가지이상 제시하시오.\n",
"- area와의 관계는 고려하지 말고 4가지 속성만 분석하시오."
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 8.2 | \n",
" 51 | \n",
" 6.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 1 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.9 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 2 | \n",
" 14.6 | \n",
" 33 | \n",
" 1.3 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 3 | \n",
" 8.3 | \n",
" 97 | \n",
" 4.0 | \n",
" 0.2 | \n",
"
\n",
" \n",
" 4 | \n",
" 11.4 | \n",
" 99 | \n",
" 1.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 5 | \n",
" 22.2 | \n",
" 29 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 6 | \n",
" 24.1 | \n",
" 27 | \n",
" 3.1 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 7 | \n",
" 8.0 | \n",
" 86 | \n",
" 2.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 8 | \n",
" 13.1 | \n",
" 63 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 9 | \n",
" 22.8 | \n",
" 40 | \n",
" 4.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 10 | \n",
" 17.8 | \n",
" 51 | \n",
" 7.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 11 | \n",
" 19.3 | \n",
" 38 | \n",
" 4.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 12 | \n",
" 17.0 | \n",
" 72 | \n",
" 6.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 13 | \n",
" 21.3 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 14 | \n",
" 26.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 15 | \n",
" 22.9 | \n",
" 44 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 16 | \n",
" 15.1 | \n",
" 27 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 17 | \n",
" 16.7 | \n",
" 47 | \n",
" 4.9 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 18 | \n",
" 15.9 | \n",
" 35 | \n",
" 4.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 19 | \n",
" 9.3 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 20 | \n",
" 18.3 | \n",
" 40 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 21 | \n",
" 19.1 | \n",
" 38 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 22 | \n",
" 21.0 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 23 | \n",
" 19.5 | \n",
" 43 | \n",
" 5.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 24 | \n",
" 23.7 | \n",
" 32 | \n",
" 5.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 25 | \n",
" 16.3 | \n",
" 60 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 26 | \n",
" 19.0 | \n",
" 34 | \n",
" 5.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 27 | \n",
" 19.4 | \n",
" 48 | \n",
" 1.3 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 28 | \n",
" 30.2 | \n",
" 24 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 29 | \n",
" 22.8 | \n",
" 39 | \n",
" 3.6 | \n",
" 0.0 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 26.4 | \n",
" 34 | \n",
" 3.6 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 488 | \n",
" 19.4 | \n",
" 71 | \n",
" 7.6 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 489 | \n",
" 20.6 | \n",
" 58 | \n",
" 1.3 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 490 | \n",
" 28.7 | \n",
" 33 | \n",
" 4.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 491 | \n",
" 32.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 492 | \n",
" 32.4 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 493 | \n",
" 27.5 | \n",
" 29 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 494 | \n",
" 30.8 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 495 | \n",
" 23.9 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 496 | \n",
" 32.6 | \n",
" 26 | \n",
" 3.1 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 497 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 498 | \n",
" 33.3 | \n",
" 26 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 499 | \n",
" 27.3 | \n",
" 63 | \n",
" 4.9 | \n",
" 6.4 | \n",
"
\n",
" \n",
" 500 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
"
\n",
" \n",
" 501 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
"
\n",
" \n",
" 502 | \n",
" 20.7 | \n",
" 69 | \n",
" 4.9 | \n",
" 0.4 | \n",
"
\n",
" \n",
" 503 | \n",
" 29.2 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 504 | \n",
" 28.9 | \n",
" 29 | \n",
" 4.9 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 505 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 506 | \n",
" 18.5 | \n",
" 73 | \n",
" 8.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 507 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 508 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 509 | \n",
" 21.1 | \n",
" 71 | \n",
" 7.6 | \n",
" 1.4 | \n",
"
\n",
" \n",
" 510 | \n",
" 18.2 | \n",
" 62 | \n",
" 5.4 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 511 | \n",
" 27.8 | \n",
" 35 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 512 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 513 | \n",
" 21.9 | \n",
" 71 | \n",
" 5.8 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 514 | \n",
" 21.2 | \n",
" 70 | \n",
" 6.7 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 515 | \n",
" 25.6 | \n",
" 42 | \n",
" 4.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 516 | \n",
" 11.8 | \n",
" 31 | \n",
" 4.5 | \n",
" 0.0 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 4 columns
\n",
"
"
],
"text/plain": [
" temp RH wind rain\n",
"0 8.2 51 6.7 0.0\n",
"1 18.0 33 0.9 0.0\n",
"2 14.6 33 1.3 0.0\n",
"3 8.3 97 4.0 0.2\n",
"4 11.4 99 1.8 0.0\n",
"5 22.2 29 5.4 0.0\n",
"6 24.1 27 3.1 0.0\n",
"7 8.0 86 2.2 0.0\n",
"8 13.1 63 5.4 0.0\n",
"9 22.8 40 4.0 0.0\n",
"10 17.8 51 7.2 0.0\n",
"11 19.3 38 4.0 0.0\n",
"12 17.0 72 6.7 0.0\n",
"13 21.3 42 2.2 0.0\n",
"14 26.4 21 4.5 0.0\n",
"15 22.9 44 5.4 0.0\n",
"16 15.1 27 5.4 0.0\n",
"17 16.7 47 4.9 0.0\n",
"18 15.9 35 4.0 0.0\n",
"19 9.3 44 4.5 0.0\n",
"20 18.3 40 2.7 0.0\n",
"21 19.1 38 2.7 0.0\n",
"22 21.0 44 4.5 0.0\n",
"23 19.5 43 5.8 0.0\n",
"24 23.7 32 5.8 0.0\n",
"25 16.3 60 5.4 0.0\n",
"26 19.0 34 5.8 0.0\n",
"27 19.4 48 1.3 0.0\n",
"28 30.2 24 2.7 0.0\n",
"29 22.8 39 3.6 0.0\n",
".. ... .. ... ...\n",
"487 26.4 34 3.6 0.0\n",
"488 19.4 71 7.6 0.0\n",
"489 20.6 58 1.3 0.0\n",
"490 28.7 33 4.0 0.0\n",
"491 32.4 21 4.5 0.0\n",
"492 32.4 27 2.2 0.0\n",
"493 27.5 29 4.5 0.0\n",
"494 30.8 30 4.9 0.0\n",
"495 23.9 42 2.2 0.0\n",
"496 32.6 26 3.1 0.0\n",
"497 32.3 27 2.2 0.0\n",
"498 33.3 26 2.7 0.0\n",
"499 27.3 63 4.9 6.4\n",
"500 21.6 65 4.9 0.8\n",
"501 21.6 65 4.9 0.8\n",
"502 20.7 69 4.9 0.4\n",
"503 29.2 30 4.9 0.0\n",
"504 28.9 29 4.9 0.0\n",
"505 26.7 35 1.8 0.0\n",
"506 18.5 73 8.5 0.0\n",
"507 25.9 41 3.6 0.0\n",
"508 25.9 41 3.6 0.0\n",
"509 21.1 71 7.6 1.4\n",
"510 18.2 62 5.4 0.0\n",
"511 27.8 35 2.7 0.0\n",
"512 27.8 32 2.7 0.0\n",
"513 21.9 71 5.8 0.0\n",
"514 21.2 70 6.7 0.0\n",
"515 25.6 42 4.0 0.0\n",
"516 11.8 31 4.5 0.0\n",
"\n",
"[517 rows x 4 columns]"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['temp', 'RH', 'wind', 'rain']]\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
"
\n",
" \n",
" \n",
" \n",
" count | \n",
" 517.000000 | \n",
" 517.000000 | \n",
" 517.000000 | \n",
" 517.000000 | \n",
"
\n",
" \n",
" mean | \n",
" 18.889168 | \n",
" 44.288201 | \n",
" 4.017602 | \n",
" 0.021663 | \n",
"
\n",
" \n",
" std | \n",
" 5.806625 | \n",
" 16.317469 | \n",
" 1.791653 | \n",
" 0.295959 | \n",
"
\n",
" \n",
" min | \n",
" 2.200000 | \n",
" 15.000000 | \n",
" 0.400000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 25% | \n",
" 15.500000 | \n",
" 33.000000 | \n",
" 2.700000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 50% | \n",
" 19.300000 | \n",
" 42.000000 | \n",
" 4.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 75% | \n",
" 22.800000 | \n",
" 53.000000 | \n",
" 4.900000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" max | \n",
" 33.300000 | \n",
" 100.000000 | \n",
" 9.400000 | \n",
" 6.400000 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" temp RH wind rain\n",
"count 517.000000 517.000000 517.000000 517.000000\n",
"mean 18.889168 44.288201 4.017602 0.021663\n",
"std 5.806625 16.317469 1.791653 0.295959\n",
"min 2.200000 15.000000 0.400000 0.000000\n",
"25% 15.500000 33.000000 2.700000 0.000000\n",
"50% 19.300000 42.000000 4.000000 0.000000\n",
"75% 22.800000 53.000000 4.900000 0.000000\n",
"max 33.300000 100.000000 9.400000 6.400000"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf.describe()"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:3: FutureWarning: \n",
"The default value for 'return_type' will change to 'axes' in a future release.\n",
" To use the future behavior now, set return_type='axes'.\n",
" To keep the previous behavior and silence this warning, set return_type='dict'.\n",
" app.launch_new_instance()\n"
]
},
{
"data": {
"image/png": "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\nmuRd+e7h+RVpAAAAD8HCzqMGAADA9izqqI8MTFVdXlX/rO84YDeqqm9X1ceq6u6qeltVPWZ2+xOr\n6u4HPfZIVb2sn0hh+Krq987l0EN8/PfkGfBAVfW6qrq27zi4OAq1vWN/kl/sOwjYpf6stfb01tqP\nJDmT5CUb7tO2ABehtfa3W2v/52KftpBgYGRqzmFYW2v/uLX2qUsdD90o1PaOVyf5q7Nv/W+tql+u\nqg9X1WpVHUnOfyv5yap6Y1V9uqp+q6qeV1Xvm61/dPa4I1X1G1X1gdnt/6jXPxkMywfjvJEw12z7\n89LZ9ddU1e/Prj93tt35fFVdMdsm3TPbE/C/quqdVfWXZo99xmz79fE88IsR2FNmefKpqjox27P8\nhqq6a9bhcWTD4+6oqqfPrn+tqv7tLIc+UFWP6+0PwJYUanvHLUk+11p7epJ3J/nh1tozkzwtyY9W\n1U/NHvdDSf5Da+2aJNdm/WidP5XkXyT5Vxte70eSTJL8RJJ/XVUHLs0fAwapkvNHvH1ekrdvuO/q\n2RckH5v9UvlP+ggQBuS9SZ49u/6MJI+c5c6zk9yZB+4duzrJf26tPSXJfUn+zuz2/5rkJa21p12a\nkGHQrk7y2llXx8tbaz+W5KlJJlX1lE0e/8gkH2itHcx6Pr740oXKxVCo7U0vSPI3q+pjST6W5Jok\nPzy77/OttXtm1/8wye/Prt+d5IkbXuNtrbU/b619Ncl7kjxz8WHDYD1ilk9/kuTKJP9jw32fnbVF\nPn32S+V/6SVCGI6PJnlGVT06yTezvhf6x7JeqL03sy8+Zj7fWrt7w/OWquryJJe31t4/u/03L03Y\nMFj3ttbuml3/e1X10SQfT/Lk2eXBvtlae8fs+keTLC0+RLZDobY3VZJXn/vFsbX211prb5zd980N\nj/vOhvV38sDTOWz8xrNiPoC97f/O9lb/5aznw0t7jgcGq7V2f5K1JMtJ3p/14uy5SX5okxmajduk\nb+e726FN53Bgj/qzJKmqpSQvT/Lc1tpTk7wjyfdt8vhvbbi+Ma8YGIXa3vG1JI+eXb89yU1V9cgk\nqaof2NCf/FA3ftdV1V+sqscmeU6Suy70BNjFKklaa99IcnOSl1fVwzbeBzzAe5P8cpI/SPK+JP80\n6x0eD/Y9+dNauy/Jmar6idlNP7+oIGEkzuXJY5J8PcnXquqqJD9zgcczcAq1PaK1djrJ+6vqE0me\nn+R3knxwtn5Lkkede+jGp23xkp9IMk3ygST/prV2cseDhvE4nyuttdUk/zPJzz34PuC89yY5kOSD\nrbWvJPl/s9uSh7YduinJr81ajmGva0nSWvtEktUkn0zyW1n/EuQBj9nkOgPmhNdctNlRhL7WWvtP\nfccCAAC7kT1qAAAAA2OPGgAAwMDYowYAADAwCjUAAICBUagBAAAMjEINAABgYBRqAAAAA6NQAwAA\nGJj/D1i4UGi3VPmLAAAAAElFTkSuQmCC\n",
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots()\n",
"fig.set_size_inches(15, 4)\n",
"sdf.boxplot(ax=ax)\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 4] 4대요인 및 area를 포함하여 dataframe을 얻어오고 area를 두 가지 부류로 나누어 각 4가지 속성을 비교 분석하기 \n",
"- area의 값의 편차가 너무 심하기 때문에 그러한 편차를 줄이기 위하여 numpy.log1p (자연로그) 사용\n",
" - Calculates log(1 + x)\n",
" - http://docs.scipy.org/doc/numpy/reference/generated/numpy.log1p.html#numpy.log1p\n",
"- 두 가지 부류로 나누는 기준은 log(1 + area) 값이 50% percentile 이상인 것과 50% percentile 이하인 것으로 정함\n",
" - 각각을 sdf_1과 sdf_2라고 명명\n",
"- sdf_1 및 sdf_2에 대하여 4대 주 요인 (temp, RH, wind, rain) 속성별 기본 통계치 및 Box Plot 산출\n",
" - describe()가 제공하는 통계치 및 boxplot을 보면서 나름대로의 해석을 반드시 3가지이상 제시하시오."
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 8.2 | \n",
" 51 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 1 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 2 | \n",
" 14.6 | \n",
" 33 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 3 | \n",
" 8.3 | \n",
" 97 | \n",
" 4.0 | \n",
" 0.2 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 4 | \n",
" 11.4 | \n",
" 99 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 5 | \n",
" 22.2 | \n",
" 29 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 6 | \n",
" 24.1 | \n",
" 27 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 7 | \n",
" 8.0 | \n",
" 86 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 8 | \n",
" 13.1 | \n",
" 63 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 9 | \n",
" 22.8 | \n",
" 40 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 10 | \n",
" 17.8 | \n",
" 51 | \n",
" 7.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 11 | \n",
" 19.3 | \n",
" 38 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 12 | \n",
" 17.0 | \n",
" 72 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 13 | \n",
" 21.3 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 14 | \n",
" 26.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 15 | \n",
" 22.9 | \n",
" 44 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 16 | \n",
" 15.1 | \n",
" 27 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 17 | \n",
" 16.7 | \n",
" 47 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 18 | \n",
" 15.9 | \n",
" 35 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 19 | \n",
" 9.3 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 20 | \n",
" 18.3 | \n",
" 40 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 21 | \n",
" 19.1 | \n",
" 38 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 22 | \n",
" 21.0 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 23 | \n",
" 19.5 | \n",
" 43 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 24 | \n",
" 23.7 | \n",
" 32 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 25 | \n",
" 16.3 | \n",
" 60 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 26 | \n",
" 19.0 | \n",
" 34 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 27 | \n",
" 19.4 | \n",
" 48 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 28 | \n",
" 30.2 | \n",
" 24 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 29 | \n",
" 22.8 | \n",
" 39 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 26.4 | \n",
" 34 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 16.40 | \n",
"
\n",
" \n",
" 488 | \n",
" 19.4 | \n",
" 71 | \n",
" 7.6 | \n",
" 0.0 | \n",
" 46.70 | \n",
"
\n",
" \n",
" 489 | \n",
" 20.6 | \n",
" 58 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 490 | \n",
" 28.7 | \n",
" 33 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 491 | \n",
" 32.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 492 | \n",
" 32.4 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 493 | \n",
" 27.5 | \n",
" 29 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 43.32 | \n",
"
\n",
" \n",
" 494 | \n",
" 30.8 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 8.59 | \n",
"
\n",
" \n",
" 495 | \n",
" 23.9 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 496 | \n",
" 32.6 | \n",
" 26 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 2.77 | \n",
"
\n",
" \n",
" 497 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 14.68 | \n",
"
\n",
" \n",
" 498 | \n",
" 33.3 | \n",
" 26 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 40.54 | \n",
"
\n",
" \n",
" 499 | \n",
" 27.3 | \n",
" 63 | \n",
" 4.9 | \n",
" 6.4 | \n",
" 10.82 | \n",
"
\n",
" \n",
" 500 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 501 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 502 | \n",
" 20.7 | \n",
" 69 | \n",
" 4.9 | \n",
" 0.4 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 503 | \n",
" 29.2 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 1.95 | \n",
"
\n",
" \n",
" 504 | \n",
" 28.9 | \n",
" 29 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 49.59 | \n",
"
\n",
" \n",
" 505 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 5.80 | \n",
"
\n",
" \n",
" 506 | \n",
" 18.5 | \n",
" 73 | \n",
" 8.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 507 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 508 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 509 | \n",
" 21.1 | \n",
" 71 | \n",
" 7.6 | \n",
" 1.4 | \n",
" 2.17 | \n",
"
\n",
" \n",
" 510 | \n",
" 18.2 | \n",
" 62 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.43 | \n",
"
\n",
" \n",
" 511 | \n",
" 27.8 | \n",
" 35 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 512 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 6.44 | \n",
"
\n",
" \n",
" 513 | \n",
" 21.9 | \n",
" 71 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 54.29 | \n",
"
\n",
" \n",
" 514 | \n",
" 21.2 | \n",
" 70 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 11.16 | \n",
"
\n",
" \n",
" 515 | \n",
" 25.6 | \n",
" 42 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
" 516 | \n",
" 11.8 | \n",
" 31 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 5 columns
\n",
"
"
],
"text/plain": [
" temp RH wind rain area\n",
"0 8.2 51 6.7 0.0 0.00\n",
"1 18.0 33 0.9 0.0 0.00\n",
"2 14.6 33 1.3 0.0 0.00\n",
"3 8.3 97 4.0 0.2 0.00\n",
"4 11.4 99 1.8 0.0 0.00\n",
"5 22.2 29 5.4 0.0 0.00\n",
"6 24.1 27 3.1 0.0 0.00\n",
"7 8.0 86 2.2 0.0 0.00\n",
"8 13.1 63 5.4 0.0 0.00\n",
"9 22.8 40 4.0 0.0 0.00\n",
"10 17.8 51 7.2 0.0 0.00\n",
"11 19.3 38 4.0 0.0 0.00\n",
"12 17.0 72 6.7 0.0 0.00\n",
"13 21.3 42 2.2 0.0 0.00\n",
"14 26.4 21 4.5 0.0 0.00\n",
"15 22.9 44 5.4 0.0 0.00\n",
"16 15.1 27 5.4 0.0 0.00\n",
"17 16.7 47 4.9 0.0 0.00\n",
"18 15.9 35 4.0 0.0 0.00\n",
"19 9.3 44 4.5 0.0 0.00\n",
"20 18.3 40 2.7 0.0 0.00\n",
"21 19.1 38 2.7 0.0 0.00\n",
"22 21.0 44 4.5 0.0 0.00\n",
"23 19.5 43 5.8 0.0 0.00\n",
"24 23.7 32 5.8 0.0 0.00\n",
"25 16.3 60 5.4 0.0 0.00\n",
"26 19.0 34 5.8 0.0 0.00\n",
"27 19.4 48 1.3 0.0 0.00\n",
"28 30.2 24 2.7 0.0 0.00\n",
"29 22.8 39 3.6 0.0 0.00\n",
".. ... .. ... ... ...\n",
"487 26.4 34 3.6 0.0 16.40\n",
"488 19.4 71 7.6 0.0 46.70\n",
"489 20.6 58 1.3 0.0 0.00\n",
"490 28.7 33 4.0 0.0 0.00\n",
"491 32.4 21 4.5 0.0 0.00\n",
"492 32.4 27 2.2 0.0 0.00\n",
"493 27.5 29 4.5 0.0 43.32\n",
"494 30.8 30 4.9 0.0 8.59\n",
"495 23.9 42 2.2 0.0 0.00\n",
"496 32.6 26 3.1 0.0 2.77\n",
"497 32.3 27 2.2 0.0 14.68\n",
"498 33.3 26 2.7 0.0 40.54\n",
"499 27.3 63 4.9 6.4 10.82\n",
"500 21.6 65 4.9 0.8 0.00\n",
"501 21.6 65 4.9 0.8 0.00\n",
"502 20.7 69 4.9 0.4 0.00\n",
"503 29.2 30 4.9 0.0 1.95\n",
"504 28.9 29 4.9 0.0 49.59\n",
"505 26.7 35 1.8 0.0 5.80\n",
"506 18.5 73 8.5 0.0 0.00\n",
"507 25.9 41 3.6 0.0 0.00\n",
"508 25.9 41 3.6 0.0 0.00\n",
"509 21.1 71 7.6 1.4 2.17\n",
"510 18.2 62 5.4 0.0 0.43\n",
"511 27.8 35 2.7 0.0 0.00\n",
"512 27.8 32 2.7 0.0 6.44\n",
"513 21.9 71 5.8 0.0 54.29\n",
"514 21.2 70 6.7 0.0 11.16\n",
"515 25.6 42 4.0 0.0 0.00\n",
"516 11.8 31 4.5 0.0 0.00\n",
"\n",
"[517 rows x 5 columns]"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['temp', 'RH', 'wind', 'rain', 'area']]\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" area | \n",
" fire | \n",
" predicted_fire | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 8.2 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 14.6 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 3 | \n",
" 8.3 | \n",
" 97 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 4 | \n",
" 11.4 | \n",
" 99 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 5 | \n",
" 22.2 | \n",
" 29 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 6 | \n",
" 24.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 7 | \n",
" 8.0 | \n",
" 86 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 8 | \n",
" 13.1 | \n",
" 63 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 9 | \n",
" 22.8 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 10 | \n",
" 17.8 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 11 | \n",
" 19.3 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 12 | \n",
" 17.0 | \n",
" 72 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 13 | \n",
" 21.3 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 14 | \n",
" 26.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 15 | \n",
" 22.9 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 16 | \n",
" 15.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 17 | \n",
" 16.7 | \n",
" 47 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 18 | \n",
" 15.9 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 19 | \n",
" 9.3 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 20 | \n",
" 18.3 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 21 | \n",
" 19.1 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 22 | \n",
" 21.0 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 23 | \n",
" 19.5 | \n",
" 43 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 24 | \n",
" 23.7 | \n",
" 32 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 25 | \n",
" 16.3 | \n",
" 60 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 26 | \n",
" 19.0 | \n",
" 34 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 27 | \n",
" 19.4 | \n",
" 48 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 28 | \n",
" 30.2 | \n",
" 24 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 29 | \n",
" 22.8 | \n",
" 39 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 26.4 | \n",
" 34 | \n",
" 1.349752 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 488 | \n",
" 19.4 | \n",
" 71 | \n",
" 1.582053 | \n",
" 1 | \n",
" 0 | \n",
"
\n",
" \n",
" 489 | \n",
" 20.6 | \n",
" 58 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 490 | \n",
" 28.7 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 491 | \n",
" 32.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 492 | \n",
" 32.4 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 493 | \n",
" 27.5 | \n",
" 29 | \n",
" 1.566830 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 494 | \n",
" 30.8 | \n",
" 30 | \n",
" 1.181948 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 495 | \n",
" 23.9 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 496 | \n",
" 32.6 | \n",
" 26 | \n",
" 0.844612 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 497 | \n",
" 32.3 | \n",
" 27 | \n",
" 1.322392 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 498 | \n",
" 33.3 | \n",
" 26 | \n",
" 1.553218 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 499 | \n",
" 27.3 | \n",
" 63 | \n",
" 1.244095 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 500 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 501 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 502 | \n",
" 20.7 | \n",
" 69 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 503 | \n",
" 29.2 | \n",
" 30 | \n",
" 0.733235 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 504 | \n",
" 28.9 | \n",
" 29 | \n",
" 1.594071 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 505 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.070529 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 506 | \n",
" 18.5 | \n",
" 73 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 507 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 508 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 509 | \n",
" 21.1 | \n",
" 71 | \n",
" 0.767202 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 510 | \n",
" 18.2 | \n",
" 62 | \n",
" 0.305773 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 511 | \n",
" 27.8 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 512 | \n",
" 27.8 | \n",
" 32 | \n",
" 1.100900 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 513 | \n",
" 21.9 | \n",
" 71 | \n",
" 1.611953 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 514 | \n",
" 21.2 | \n",
" 70 | \n",
" 1.252235 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 515 | \n",
" 25.6 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 516 | \n",
" 11.8 | \n",
" 31 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 5 columns
\n",
"
"
],
"text/plain": [
" temp RH area fire predicted_fire\n",
"0 8.2 51 0.000000 0 0\n",
"1 18.0 33 0.000000 0 1\n",
"2 14.6 33 0.000000 0 0\n",
"3 8.3 97 0.000000 0 0\n",
"4 11.4 99 0.000000 0 0\n",
"5 22.2 29 0.000000 0 1\n",
"6 24.1 27 0.000000 0 1\n",
"7 8.0 86 0.000000 0 0\n",
"8 13.1 63 0.000000 0 0\n",
"9 22.8 40 0.000000 0 1\n",
"10 17.8 51 0.000000 0 0\n",
"11 19.3 38 0.000000 0 1\n",
"12 17.0 72 0.000000 0 0\n",
"13 21.3 42 0.000000 0 1\n",
"14 26.4 21 0.000000 0 1\n",
"15 22.9 44 0.000000 0 1\n",
"16 15.1 27 0.000000 0 0\n",
"17 16.7 47 0.000000 0 0\n",
"18 15.9 35 0.000000 0 0\n",
"19 9.3 44 0.000000 0 0\n",
"20 18.3 40 0.000000 0 1\n",
"21 19.1 38 0.000000 0 1\n",
"22 21.0 44 0.000000 0 1\n",
"23 19.5 43 0.000000 0 1\n",
"24 23.7 32 0.000000 0 1\n",
"25 16.3 60 0.000000 0 0\n",
"26 19.0 34 0.000000 0 1\n",
"27 19.4 48 0.000000 0 1\n",
"28 30.2 24 0.000000 0 1\n",
"29 22.8 39 0.000000 0 1\n",
".. ... .. ... ... ...\n",
"487 26.4 34 1.349752 1 1\n",
"488 19.4 71 1.582053 1 0\n",
"489 20.6 58 0.000000 0 1\n",
"490 28.7 33 0.000000 0 1\n",
"491 32.4 21 0.000000 0 1\n",
"492 32.4 27 0.000000 0 1\n",
"493 27.5 29 1.566830 1 1\n",
"494 30.8 30 1.181948 1 1\n",
"495 23.9 42 0.000000 0 1\n",
"496 32.6 26 0.844612 1 1\n",
"497 32.3 27 1.322392 1 1\n",
"498 33.3 26 1.553218 1 1\n",
"499 27.3 63 1.244095 1 1\n",
"500 21.6 65 0.000000 0 1\n",
"501 21.6 65 0.000000 0 1\n",
"502 20.7 69 0.000000 0 1\n",
"503 29.2 30 0.733235 1 1\n",
"504 28.9 29 1.594071 1 1\n",
"505 26.7 35 1.070529 1 1\n",
"506 18.5 73 0.000000 0 0\n",
"507 25.9 41 0.000000 0 1\n",
"508 25.9 41 0.000000 0 1\n",
"509 21.1 71 0.767202 1 1\n",
"510 18.2 62 0.305773 0 0\n",
"511 27.8 35 0.000000 0 1\n",
"512 27.8 32 1.100900 1 1\n",
"513 21.9 71 1.611953 1 1\n",
"514 21.2 70 1.252235 1 1\n",
"515 25.6 42 0.000000 0 1\n",
"516 11.8 31 0.000000 0 0\n",
"\n",
"[517 rows x 5 columns]"
]
},
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"log1p_val = np.log1p(sdf['area'])\n",
"sdf.loc[:, 'area'] = log1p_val\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" count | \n",
" 517.000000 | \n",
" 517.000000 | \n",
" 517.000000 | \n",
" 517.000000 | \n",
" 517.000000 | \n",
"
\n",
" \n",
" mean | \n",
" 18.889168 | \n",
" 44.288201 | \n",
" 4.017602 | \n",
" 0.021663 | \n",
" 1.111026 | \n",
"
\n",
" \n",
" std | \n",
" 5.806625 | \n",
" 16.317469 | \n",
" 1.791653 | \n",
" 0.295959 | \n",
" 1.398436 | \n",
"
\n",
" \n",
" min | \n",
" 2.200000 | \n",
" 15.000000 | \n",
" 0.400000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 25% | \n",
" 15.500000 | \n",
" 33.000000 | \n",
" 2.700000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 50% | \n",
" 19.300000 | \n",
" 42.000000 | \n",
" 4.000000 | \n",
" 0.000000 | \n",
" 0.418710 | \n",
"
\n",
" \n",
" 75% | \n",
" 22.800000 | \n",
" 53.000000 | \n",
" 4.900000 | \n",
" 0.000000 | \n",
" 2.024193 | \n",
"
\n",
" \n",
" max | \n",
" 33.300000 | \n",
" 100.000000 | \n",
" 9.400000 | \n",
" 6.400000 | \n",
" 6.995620 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" temp RH wind rain area\n",
"count 517.000000 517.000000 517.000000 517.000000 517.000000\n",
"mean 18.889168 44.288201 4.017602 0.021663 1.111026\n",
"std 5.806625 16.317469 1.791653 0.295959 1.398436\n",
"min 2.200000 15.000000 0.400000 0.000000 0.000000\n",
"25% 15.500000 33.000000 2.700000 0.000000 0.000000\n",
"50% 19.300000 42.000000 4.000000 0.000000 0.418710\n",
"75% 22.800000 53.000000 4.900000 0.000000 2.024193\n",
"max 33.300000 100.000000 9.400000 6.400000 6.995620"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf.describe()"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"sdf_1 = sdf[sdf['area'] >= 0.41871]\n",
"sdf_2 = sdf[sdf['area'] < 0.41871]"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" count | \n",
" 260.000000 | \n",
" 260.000000 | \n",
" 260.000000 | \n",
" 260.000000 | \n",
" 260.000000 | \n",
"
\n",
" \n",
" mean | \n",
" 19.256923 | \n",
" 43.696154 | \n",
" 4.133462 | \n",
" 0.030000 | \n",
" 2.198902 | \n",
"
\n",
" \n",
" std | \n",
" 6.269451 | \n",
" 15.275462 | \n",
" 1.899338 | \n",
" 0.405969 | \n",
" 1.226033 | \n",
"
\n",
" \n",
" min | \n",
" 2.200000 | \n",
" 15.000000 | \n",
" 0.400000 | \n",
" 0.000000 | \n",
" 0.418710 | \n",
"
\n",
" \n",
" 25% | \n",
" 15.900000 | \n",
" 32.750000 | \n",
" 2.700000 | \n",
" 0.000000 | \n",
" 1.228844 | \n",
"
\n",
" \n",
" 50% | \n",
" 20.100000 | \n",
" 41.000000 | \n",
" 4.000000 | \n",
" 0.000000 | \n",
" 2.022208 | \n",
"
\n",
" \n",
" 75% | \n",
" 23.400000 | \n",
" 53.000000 | \n",
" 4.900000 | \n",
" 0.000000 | \n",
" 2.838020 | \n",
"
\n",
" \n",
" max | \n",
" 33.300000 | \n",
" 96.000000 | \n",
" 9.400000 | \n",
" 6.400000 | \n",
" 6.995620 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" temp RH wind rain area\n",
"count 260.000000 260.000000 260.000000 260.000000 260.000000\n",
"mean 19.256923 43.696154 4.133462 0.030000 2.198902\n",
"std 6.269451 15.275462 1.899338 0.405969 1.226033\n",
"min 2.200000 15.000000 0.400000 0.000000 0.418710\n",
"25% 15.900000 32.750000 2.700000 0.000000 1.228844\n",
"50% 20.100000 41.000000 4.000000 0.000000 2.022208\n",
"75% 23.400000 53.000000 4.900000 0.000000 2.838020\n",
"max 33.300000 96.000000 9.400000 6.400000 6.995620"
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf_1.describe()"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" count | \n",
" 257.000000 | \n",
" 257.00000 | \n",
" 257.000000 | \n",
" 257.000000 | \n",
" 257.000000 | \n",
"
\n",
" \n",
" mean | \n",
" 18.517121 | \n",
" 44.88716 | \n",
" 3.900389 | \n",
" 0.013230 | \n",
" 0.010450 | \n",
"
\n",
" \n",
" std | \n",
" 5.283718 | \n",
" 17.31732 | \n",
" 1.671229 | \n",
" 0.098326 | \n",
" 0.055369 | \n",
"
\n",
" \n",
" min | \n",
" 4.200000 | \n",
" 15.00000 | \n",
" 0.900000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 25% | \n",
" 15.400000 | \n",
" 33.00000 | \n",
" 2.700000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 50% | \n",
" 18.700000 | \n",
" 42.00000 | \n",
" 3.600000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" 75% | \n",
" 21.700000 | \n",
" 54.00000 | \n",
" 5.400000 | \n",
" 0.000000 | \n",
" 0.000000 | \n",
"
\n",
" \n",
" max | \n",
" 32.400000 | \n",
" 100.00000 | \n",
" 8.500000 | \n",
" 1.000000 | \n",
" 0.385262 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" temp RH wind rain area\n",
"count 257.000000 257.00000 257.000000 257.000000 257.000000\n",
"mean 18.517121 44.88716 3.900389 0.013230 0.010450\n",
"std 5.283718 17.31732 1.671229 0.098326 0.055369\n",
"min 4.200000 15.00000 0.900000 0.000000 0.000000\n",
"25% 15.400000 33.00000 2.700000 0.000000 0.000000\n",
"50% 18.700000 42.00000 3.600000 0.000000 0.000000\n",
"75% 21.700000 54.00000 5.400000 0.000000 0.000000\n",
"max 32.400000 100.00000 8.500000 1.000000 0.385262"
]
},
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf_2.describe()"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:3: FutureWarning: \n",
"The default value for 'return_type' will change to 'axes' in a future release.\n",
" To use the future behavior now, set return_type='axes'.\n",
" To keep the previous behavior and silence this warning, set return_type='dict'.\n",
" app.launch_new_instance()\n"
]
},
{
"data": {
"image/png": "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\n/ri1dn+SVNUvJnlBEoXanHz84x8fOgSY6swZ11mhZ/KTXsnNdbUcB9XO5Hu/d+gYLm4VWsbnVah9\nTpI/2bX+0+wUb8zJ4cOHhw4BAIB9WIajaYkTHC2Kk4kAc7W9vT10CKyImtPHzFXHZv49zWCzf9tD\nB8CKsO9cXnM5mUhVPTvJZmvt6ybrO5O03ScUqSo/CQAAYK3tdTKReRVqVyf5QHZOJvIXSd6R5Fta\na/fN/MUAAABWzFxaH1trD1fVS5K8IY+cnl+RBgAAcAnmdh01AAAArsxVQwfAY1XVNVX1L4eOAy5H\nVT1cVe+qqpNV9dqq+ozJ9hur6uSjHnu0ql42TKSss6r61XO5eYmPf0z+wqJU1U9W1VOHjgMYhkKt\nT4eSvHjoIOAy/XVr7dbW2tOTnE7y3bu+5tA9XWit/ePW2l9d7tPmEgxM1B6n5Wut/bPWmmvQ0o2q\nUjsskDe7T69K8vcmRyfuqqrvq6p3VNVWVR1Nzn/Ke19V3VNVH6iqn6uq51XVWybrL5487mhV/UxV\nvW2y/TsH/ZuxLn43O9dThIWa7C9fMrn/I1X1W5P7XznZT36wqq6d7EPfNzli8QdV9RtV9Xcnj33m\nZH/77lz4gQPMxCT/3l9VJyZHbH+qqt456Ug4uutx91bVrZP7H62qfzvJzbdV1WcN9hdgZVXV/9iV\ni9852fbRqvpPk33is6vq1qoaTx7361V1/eRx3zn5ffXdVfWaqvrUQf8yK0Ch1qc7k/zv1tqtSd6Y\n5PNba89K8kVJvriqvnzyuM9L8h9bazcneWp2zqz55Un+VZLv3/X9np5klORLk/xgVd2wmL8Ga6aS\n82d9fV6S1+362lMmHzy8a7Kj/+dDBMhaeHOSr5jcf2aSJ0xy8iuS/HYuPDr2lCQ/1lp7WpKPJPmm\nyfb/luS7W2tftJiQWVNPSfLjky6El7fWviTJM5KMquppUx7/hCRva60dyU6ef9fiQmWNfPskF78k\nyR1VdW12cu93J/vEdyT5sSTfNHncPUn+/eS5v9Jae9bkce9P8h2LD3+1KNT69zVJ/mFVvSvJu5Lc\nnOTzJ1/7YGvtfZP7f5jktyb3Tya5cdf3eG1r7W9bax9O8qYkz5p/2KyhT5vk6V8kuS7Jb+762v+a\ntEXeOtmB/5dBImQd/H6SZ1bVk5L8TXaO7n5Jdgq1N2fygcLEB1trJ3c973BVXZPkmtbaWyfbf3Yx\nYbOG7m+tvXNy/59U1e8neXeSL5jcHu1vWmu/Nrn/+0kOzz9E1tBLq2oryduTPDk7v3OeTfLfJ1+/\nOcnTkvzm5IPX70/y2ZOv/f2q+p2qem+Sb03yhQuNfAXN5fT8zFQleVVr7b9esLHqxuz8EnLOJ3et\nP5kLf7a7P0GumLdgPv5va+3WSavD65O8JDufusHCtNbOVtV2ko0kb03y3iRfmeTzWmvvf9Qo0O59\n6MNJzrXpTJ0Xghn76ySpqsNJXp7kma21v6qqe/JILu72iV33H47f4Zixqnpukq9K8g9aa39TVfdm\nJxc/3h45TXwl+YPW2pdN+Rb3JHl+a+0Pqur2JM9dSOArzBG1Pn00yZMm91+f5EVV9YQkqarP3tWX\nfqm/TLygqv5OVX1mdv7RvPPxngBXoJKktfbxJHckefmuoWO/+LJIb07yfUl+J8lbkvyL7HQkPNpj\n8rK19pEkp6vqSyebvm1eQbL2zuXfZyT5WJKPTmZ9vv5xHg/zck2S05Mi7alJnj3Zvjv3PpDks6rq\n2UlSVQeq6twR4CcmeaCqPiX2nTOhUOtQa+2hJG+dHDr+6iS/kOR3J+vXZOcfQnLhkbGLHSV7b5Jx\nkrcl+TettQdmHjTsysHW2laS9yT5lkd/DRbgzUluyM5MxYNJ/t9kW3Jp+80XJfmJSSsvzEtLktba\ne5NsJbkvyc9l58OFCx4z5T7Mw28k+ZSq+sPszJ29bbJ99//fP5Hkm5PcNWmRfHeS50y+/IPZmWF7\nc3bymX1ywesVNzl71Edbaz88dCwAAMClcUQNAACgM46oAQAAdMYRNQAAgM4o1AAAADqjUAMAAOiM\nQg0AAKAzCjUAAIDOKNQAAAA68/8B+5FyiqID6NIAAAAASUVORK5CYII=\n",
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots()\n",
"fig.set_size_inches(15, 4)\n",
"sdf_1.boxplot(ax=ax)\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/ipykernel/__main__.py:3: FutureWarning: \n",
"The default value for 'return_type' will change to 'axes' in a future release.\n",
" To use the future behavior now, set return_type='axes'.\n",
" To keep the previous behavior and silence this warning, set return_type='dict'.\n",
" app.launch_new_instance()\n"
]
},
{
"data": {
"image/png": "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\nD15/OMnnjW/7iqr6jap6f5JvT/Jlc418Cc3k9PxMVSV5TWvtdRddWXVtdv4IOe/Tu9afzsU/292f\nIFfMWzAb/6e1dsO41eHOJC/LzqduMDettU9W1XaSjSTvSvL+JN+Y5Itaax96xCjQ7n3op5Kcb9OZ\nOC8EU/bXSVJVR5O8MskzWmt/WVW35uFc3O0Tuy5/Kv6GY8qq6tlJnpPk77bWHqqqM9nJxQfbw6eJ\nryS/31r7uglPcWuSF7TWfr+qTiR59lwCX2KOqPXp40meOL58Z5KXVtUTkqSqPm9XX/ql/jHxwqr6\nG1X1pOz80vzOYz0ArkAlSWvtwSQvT/LKXUPH/vBlnt6Z5AeT/EaS30zyT7PTkfBIj8rL1toDSe6v\nqq8dX/UdswqSlXc+/z43yV8l+fh41udbHuP+MCtXJbl/XKQ9Pcmzxtfvzr0PJ3lyVT0rSarqUFWd\nPwL8OUnurarPjH3nVCjUOtRauy/Ju8aHjr8pyS8k+a3x+k3Z+UVILj4ytt9RsvcnGSV5d5J/2Vq7\nd+pBw64cbK1tJfnvSV7yyNtgDt6Z5JrszFR8NMn/HV+XXNp+86VJfnLcyguz0pKktfb+JFtJPpjk\n57Lz4cJF95lwGWbhrUk+s6r+IDtzZ+8eX7/7v++fSPLiJLeMWyTfl+Rrxjf/SHZm2N6ZnXzmgHzh\n9ZIbnz3q4621/zB0LAAAwKVxRA0AAKAzjqgBAAB0xhE1AACAzijUAAAAOqNQAwAA6IxCDQAAoDMK\nNQAAgM4o1AAAADrz/wFkI5bfqpw0ngAAAABJRU5ErkJggg==\n",
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"fig, ax = plt.subplots()\n",
"fig.set_size_inches(15, 4)\n",
"sdf_2.boxplot(ax=ax)\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 5] 단일변수 선형 회귀분석을 통하여 가장 영향이 높은 속성 선발\n",
"- 다음 요인들 중 area와 가장 연관성이 높은 주요 요인을 선정\n",
" - FFMC\n",
" - DMC\n",
" - DC\n",
" - ISI\n",
" - temp\n",
" - RH\n",
" - wind\n",
" - rain"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" FFMC | \n",
" DMC | \n",
" DC | \n",
" ISI | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 86.2 | \n",
" 26.2 | \n",
" 94.3 | \n",
" 5.1 | \n",
" 8.2 | \n",
" 51 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 1 | \n",
" 90.6 | \n",
" 35.4 | \n",
" 669.1 | \n",
" 6.7 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.9 | \n",
" 0.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 2 | \n",
" 90.6 | \n",
" 43.7 | \n",
" 686.9 | \n",
" 6.7 | \n",
" 14.6 | \n",
" 33 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 3 | \n",
" 91.7 | \n",
" 33.3 | \n",
" 77.5 | \n",
" 9.0 | \n",
" 8.3 | \n",
" 97 | \n",
" 4.0 | \n",
" 0.2 | \n",
" 0.0 | \n",
"
\n",
" \n",
" 4 | \n",
" 89.3 | \n",
" 51.3 | \n",
" 102.2 | \n",
" 9.6 | \n",
" 11.4 | \n",
" 99 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 0.0 | \n",
"
\n",
" \n",
"
\n",
"
"
],
"text/plain": [
" FFMC DMC DC ISI temp RH wind rain area\n",
"0 86.2 26.2 94.3 5.1 8.2 51 6.7 0.0 0.0\n",
"1 90.6 35.4 669.1 6.7 18.0 33 0.9 0.0 0.0\n",
"2 90.6 43.7 686.9 6.7 14.6 33 1.3 0.0 0.0\n",
"3 91.7 33.3 77.5 9.0 8.3 97 4.0 0.2 0.0\n",
"4 89.3 51.3 102.2 9.6 11.4 99 1.8 0.0 0.0"
]
},
"execution_count": 39,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['FFMC', 'DMC', 'DC', 'ISI', 'temp', 'RH', 'wind', 'rain', 'area']]\n",
"log1p_val = np.log1p(sdf['area'])\n",
"sdf.loc[:, 'area'] = log1p_val\n",
"sdf.head()"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'DMC': 0.067152739815040802, 'temp': 0.053486548992797062, 'DC': 0.066359755967180495, 'ISI': -0.01034687868230952, 'FFMC': 0.046798563676477382, 'RH': -0.053662158282934122, 'wind': 0.066973489251589718}\n"
]
}
],
"source": [
"predicator_names = ('FFMC', 'DMC', 'DC', 'ISI', 'temp', 'RH', 'wind', 'rain')\n",
"predicator_analysis = {}\n",
"for i in range(0, 7):\n",
" predicator_analysis[predicator_names[i]] = np.corrcoef(sdf[predicator_names[i]], sdf['area'])[0][1]\n",
"print predicator_analysis "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 6] 가장 영향이 높은 요인 두 개로 다변수 선형 회귀분석 수행"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Coefficients: [ 0.8810733 -0.12925007]\n",
"Intercept: 1.92880310331\n"
]
}
],
"source": [
"from sklearn import linear_model\n",
"regr = linear_model.LinearRegression()\n",
"X = zip(sdf['temp'], sdf['RH'])\n",
"Y = sdf['area'].values\n",
"regr = regr.fit(X, Y)\n",
"\n",
"print 'Coefficients:', regr.coef_\n",
"print 'Intercept:', regr.intercept_"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"- 선형 회귀식\n",
" - $y = 1.928 + 0.881 * temp - 0.129 * RH$"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py:288: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
"See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
" self.obj[key] = _infer_fill_value(value)\n"
]
},
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" FFMC | \n",
" DMC | \n",
" DC | \n",
" ISI | \n",
" temp | \n",
" RH | \n",
" wind | \n",
" rain | \n",
" area | \n",
" predicted_area | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 86.2 | \n",
" 26.2 | \n",
" 94.3 | \n",
" 5.1 | \n",
" 8.2 | \n",
" 51 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 2.561851 | \n",
"
\n",
" \n",
" 1 | \n",
" 90.6 | \n",
" 35.4 | \n",
" 669.1 | \n",
" 6.7 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 13.522870 | \n",
"
\n",
" \n",
" 2 | \n",
" 90.6 | \n",
" 43.7 | \n",
" 686.9 | \n",
" 6.7 | \n",
" 14.6 | \n",
" 33 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 10.527221 | \n",
"
\n",
" \n",
" 3 | \n",
" 91.7 | \n",
" 33.3 | \n",
" 77.5 | \n",
" 9.0 | \n",
" 8.3 | \n",
" 97 | \n",
" 4.0 | \n",
" 0.2 | \n",
" 0.00 | \n",
" -3.295545 | \n",
"
\n",
" \n",
" 4 | \n",
" 89.3 | \n",
" 51.3 | \n",
" 102.2 | \n",
" 9.6 | \n",
" 11.4 | \n",
" 99 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
" -0.822718 | \n",
"
\n",
" \n",
" 5 | \n",
" 92.3 | \n",
" 85.3 | \n",
" 488.0 | \n",
" 14.7 | \n",
" 22.2 | \n",
" 29 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 17.740379 | \n",
"
\n",
" \n",
" 6 | \n",
" 92.3 | \n",
" 88.9 | \n",
" 495.6 | \n",
" 8.5 | \n",
" 24.1 | \n",
" 27 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 19.672918 | \n",
"
\n",
" \n",
" 7 | \n",
" 91.5 | \n",
" 145.4 | \n",
" 608.2 | \n",
" 10.7 | \n",
" 8.0 | \n",
" 86 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
" -2.138116 | \n",
"
\n",
" \n",
" 8 | \n",
" 91.0 | \n",
" 129.5 | \n",
" 692.6 | \n",
" 7.0 | \n",
" 13.1 | \n",
" 63 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 5.328109 | \n",
"
\n",
" \n",
" 9 | \n",
" 92.5 | \n",
" 88.0 | \n",
" 698.6 | \n",
" 7.1 | \n",
" 22.8 | \n",
" 40 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 16.847272 | \n",
"
\n",
" \n",
" 10 | \n",
" 92.5 | \n",
" 88.0 | \n",
" 698.6 | \n",
" 7.1 | \n",
" 17.8 | \n",
" 51 | \n",
" 7.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 11.020155 | \n",
"
\n",
" \n",
" 11 | \n",
" 92.8 | \n",
" 73.2 | \n",
" 713.0 | \n",
" 22.6 | \n",
" 19.3 | \n",
" 38 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 14.022015 | \n",
"
\n",
" \n",
" 12 | \n",
" 63.5 | \n",
" 70.8 | \n",
" 665.3 | \n",
" 0.8 | \n",
" 17.0 | \n",
" 72 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 7.601044 | \n",
"
\n",
" \n",
" 13 | \n",
" 90.9 | \n",
" 126.5 | \n",
" 686.5 | \n",
" 7.0 | \n",
" 21.3 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 15.267162 | \n",
"
\n",
" \n",
" 14 | \n",
" 92.9 | \n",
" 133.3 | \n",
" 699.6 | \n",
" 9.2 | \n",
" 26.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 22.474887 | \n",
"
\n",
" \n",
" 15 | \n",
" 93.3 | \n",
" 141.2 | \n",
" 713.9 | \n",
" 13.9 | \n",
" 22.9 | \n",
" 44 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 16.418379 | \n",
"
\n",
" \n",
" 16 | \n",
" 91.7 | \n",
" 35.8 | \n",
" 80.8 | \n",
" 7.8 | \n",
" 15.1 | \n",
" 27 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 11.743258 | \n",
"
\n",
" \n",
" 17 | \n",
" 84.9 | \n",
" 32.8 | \n",
" 664.2 | \n",
" 3.0 | \n",
" 16.7 | \n",
" 47 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 10.567974 | \n",
"
\n",
" \n",
" 18 | \n",
" 89.2 | \n",
" 27.9 | \n",
" 70.8 | \n",
" 6.3 | \n",
" 15.9 | \n",
" 35 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 11.414116 | \n",
"
\n",
" \n",
" 19 | \n",
" 86.3 | \n",
" 27.4 | \n",
" 97.1 | \n",
" 5.1 | \n",
" 9.3 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 4.435782 | \n",
"
\n",
" \n",
" 20 | \n",
" 91.0 | \n",
" 129.5 | \n",
" 692.6 | \n",
" 7.0 | \n",
" 18.3 | \n",
" 40 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 12.882442 | \n",
"
\n",
" \n",
" 21 | \n",
" 91.8 | \n",
" 78.5 | \n",
" 724.3 | \n",
" 9.2 | \n",
" 19.1 | \n",
" 38 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 13.845801 | \n",
"
\n",
" \n",
" 22 | \n",
" 94.3 | \n",
" 96.3 | \n",
" 200.0 | \n",
" 56.1 | \n",
" 21.0 | \n",
" 44 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 14.744340 | \n",
"
\n",
" \n",
" 23 | \n",
" 90.2 | \n",
" 110.9 | \n",
" 537.4 | \n",
" 6.2 | \n",
" 19.5 | \n",
" 43 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 13.551980 | \n",
"
\n",
" \n",
" 24 | \n",
" 93.5 | \n",
" 139.4 | \n",
" 594.2 | \n",
" 20.3 | \n",
" 23.7 | \n",
" 32 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 18.674238 | \n",
"
\n",
" \n",
" 25 | \n",
" 91.4 | \n",
" 142.4 | \n",
" 601.4 | \n",
" 10.6 | \n",
" 16.3 | \n",
" 60 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 8.535294 | \n",
"
\n",
" \n",
" 26 | \n",
" 92.4 | \n",
" 117.9 | \n",
" 668.0 | \n",
" 12.2 | \n",
" 19.0 | \n",
" 34 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 14.274694 | \n",
"
\n",
" \n",
" 27 | \n",
" 90.9 | \n",
" 126.5 | \n",
" 686.5 | \n",
" 7.0 | \n",
" 19.4 | \n",
" 48 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 12.817622 | \n",
"
\n",
" \n",
" 28 | \n",
" 93.4 | \n",
" 145.4 | \n",
" 721.4 | \n",
" 8.1 | \n",
" 30.2 | \n",
" 24 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 25.435215 | \n",
"
\n",
" \n",
" 29 | \n",
" 93.5 | \n",
" 149.3 | \n",
" 728.6 | \n",
" 8.1 | \n",
" 22.8 | \n",
" 39 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 16.976522 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 26.4 | \n",
" 34 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 16.40 | \n",
" 20.794636 | \n",
"
\n",
" \n",
" 488 | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 19.4 | \n",
" 71 | \n",
" 7.6 | \n",
" 0.0 | \n",
" 46.70 | \n",
" 9.844870 | \n",
"
\n",
" \n",
" 489 | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 20.6 | \n",
" 58 | \n",
" 1.3 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 12.582409 | \n",
"
\n",
" \n",
" 490 | \n",
" 95.1 | \n",
" 141.3 | \n",
" 605.8 | \n",
" 17.7 | \n",
" 28.7 | \n",
" 33 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 22.950355 | \n",
"
\n",
" \n",
" 491 | \n",
" 95.8 | \n",
" 152.0 | \n",
" 624.1 | \n",
" 13.8 | \n",
" 32.4 | \n",
" 21 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 27.761327 | \n",
"
\n",
" \n",
" 492 | \n",
" 95.9 | \n",
" 158.0 | \n",
" 633.6 | \n",
" 11.3 | \n",
" 32.4 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 26.985826 | \n",
"
\n",
" \n",
" 493 | \n",
" 95.9 | \n",
" 158.0 | \n",
" 633.6 | \n",
" 11.3 | \n",
" 27.5 | \n",
" 29 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 43.32 | \n",
" 22.410067 | \n",
"
\n",
" \n",
" 494 | \n",
" 96.0 | \n",
" 164.0 | \n",
" 643.0 | \n",
" 14.0 | \n",
" 30.8 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 8.59 | \n",
" 25.188359 | \n",
"
\n",
" \n",
" 495 | \n",
" 96.2 | \n",
" 175.5 | \n",
" 661.8 | \n",
" 16.8 | \n",
" 23.9 | \n",
" 42 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 17.557952 | \n",
"
\n",
" \n",
" 496 | \n",
" 96.2 | \n",
" 175.5 | \n",
" 661.8 | \n",
" 16.8 | \n",
" 32.6 | \n",
" 26 | \n",
" 3.1 | \n",
" 0.0 | \n",
" 2.77 | \n",
" 27.291291 | \n",
"
\n",
" \n",
" 497 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.2 | \n",
" 0.0 | \n",
" 14.68 | \n",
" 26.897719 | \n",
"
\n",
" \n",
" 498 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 33.3 | \n",
" 26 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 40.54 | \n",
" 27.908042 | \n",
"
\n",
" \n",
" 499 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 27.3 | \n",
" 63 | \n",
" 4.9 | \n",
" 6.4 | \n",
" 10.82 | \n",
" 17.839350 | \n",
"
\n",
" \n",
" 500 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
" 12.558732 | \n",
"
\n",
" \n",
" 501 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 21.6 | \n",
" 65 | \n",
" 4.9 | \n",
" 0.8 | \n",
" 0.00 | \n",
" 12.558732 | \n",
"
\n",
" \n",
" 502 | \n",
" 96.1 | \n",
" 181.1 | \n",
" 671.2 | \n",
" 14.3 | \n",
" 20.7 | \n",
" 69 | \n",
" 4.9 | \n",
" 0.4 | \n",
" 0.00 | \n",
" 11.248766 | \n",
"
\n",
" \n",
" 503 | \n",
" 94.5 | \n",
" 139.4 | \n",
" 689.1 | \n",
" 20.0 | \n",
" 29.2 | \n",
" 30 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 1.95 | \n",
" 23.778642 | \n",
"
\n",
" \n",
" 504 | \n",
" 94.5 | \n",
" 139.4 | \n",
" 689.1 | \n",
" 20.0 | \n",
" 28.9 | \n",
" 29 | \n",
" 4.9 | \n",
" 0.0 | \n",
" 49.59 | \n",
" 23.643570 | \n",
"
\n",
" \n",
" 505 | \n",
" 91.0 | \n",
" 163.2 | \n",
" 744.4 | \n",
" 10.1 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.8 | \n",
" 0.0 | \n",
" 5.80 | \n",
" 20.929708 | \n",
"
\n",
" \n",
" 506 | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 18.5 | \n",
" 73 | \n",
" 8.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 8.793404 | \n",
"
\n",
" \n",
" 507 | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 19.449349 | \n",
"
\n",
" \n",
" 508 | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 25.9 | \n",
" 41 | \n",
" 3.6 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 19.449349 | \n",
"
\n",
" \n",
" 509 | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 21.1 | \n",
" 71 | \n",
" 7.6 | \n",
" 1.4 | \n",
" 2.17 | \n",
" 11.342695 | \n",
"
\n",
" \n",
" 510 | \n",
" 91.0 | \n",
" 166.9 | \n",
" 752.6 | \n",
" 7.1 | \n",
" 18.2 | \n",
" 62 | \n",
" 5.4 | \n",
" 0.0 | \n",
" 0.43 | \n",
" 9.950833 | \n",
"
\n",
" \n",
" 511 | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 27.8 | \n",
" 35 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 21.898889 | \n",
"
\n",
" \n",
" 512 | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.7 | \n",
" 0.0 | \n",
" 6.44 | \n",
" 22.286639 | \n",
"
\n",
" \n",
" 513 | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 21.9 | \n",
" 71 | \n",
" 5.8 | \n",
" 0.0 | \n",
" 54.29 | \n",
" 12.047554 | \n",
"
\n",
" \n",
" 514 | \n",
" 81.6 | \n",
" 56.7 | \n",
" 665.6 | \n",
" 1.9 | \n",
" 21.2 | \n",
" 70 | \n",
" 6.7 | \n",
" 0.0 | \n",
" 11.16 | \n",
" 11.560052 | \n",
"
\n",
" \n",
" 515 | \n",
" 94.4 | \n",
" 146.0 | \n",
" 614.7 | \n",
" 11.3 | \n",
" 25.6 | \n",
" 42 | \n",
" 4.0 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 19.055777 | \n",
"
\n",
" \n",
" 516 | \n",
" 79.5 | \n",
" 3.0 | \n",
" 106.7 | \n",
" 1.1 | \n",
" 11.8 | \n",
" 31 | \n",
" 4.5 | \n",
" 0.0 | \n",
" 0.00 | \n",
" 8.318716 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 10 columns
\n",
"
"
],
"text/plain": [
" FFMC DMC DC ISI temp RH wind rain area predicted_area\n",
"0 86.2 26.2 94.3 5.1 8.2 51 6.7 0.0 0.00 2.561851\n",
"1 90.6 35.4 669.1 6.7 18.0 33 0.9 0.0 0.00 13.522870\n",
"2 90.6 43.7 686.9 6.7 14.6 33 1.3 0.0 0.00 10.527221\n",
"3 91.7 33.3 77.5 9.0 8.3 97 4.0 0.2 0.00 -3.295545\n",
"4 89.3 51.3 102.2 9.6 11.4 99 1.8 0.0 0.00 -0.822718\n",
"5 92.3 85.3 488.0 14.7 22.2 29 5.4 0.0 0.00 17.740379\n",
"6 92.3 88.9 495.6 8.5 24.1 27 3.1 0.0 0.00 19.672918\n",
"7 91.5 145.4 608.2 10.7 8.0 86 2.2 0.0 0.00 -2.138116\n",
"8 91.0 129.5 692.6 7.0 13.1 63 5.4 0.0 0.00 5.328109\n",
"9 92.5 88.0 698.6 7.1 22.8 40 4.0 0.0 0.00 16.847272\n",
"10 92.5 88.0 698.6 7.1 17.8 51 7.2 0.0 0.00 11.020155\n",
"11 92.8 73.2 713.0 22.6 19.3 38 4.0 0.0 0.00 14.022015\n",
"12 63.5 70.8 665.3 0.8 17.0 72 6.7 0.0 0.00 7.601044\n",
"13 90.9 126.5 686.5 7.0 21.3 42 2.2 0.0 0.00 15.267162\n",
"14 92.9 133.3 699.6 9.2 26.4 21 4.5 0.0 0.00 22.474887\n",
"15 93.3 141.2 713.9 13.9 22.9 44 5.4 0.0 0.00 16.418379\n",
"16 91.7 35.8 80.8 7.8 15.1 27 5.4 0.0 0.00 11.743258\n",
"17 84.9 32.8 664.2 3.0 16.7 47 4.9 0.0 0.00 10.567974\n",
"18 89.2 27.9 70.8 6.3 15.9 35 4.0 0.0 0.00 11.414116\n",
"19 86.3 27.4 97.1 5.1 9.3 44 4.5 0.0 0.00 4.435782\n",
"20 91.0 129.5 692.6 7.0 18.3 40 2.7 0.0 0.00 12.882442\n",
"21 91.8 78.5 724.3 9.2 19.1 38 2.7 0.0 0.00 13.845801\n",
"22 94.3 96.3 200.0 56.1 21.0 44 4.5 0.0 0.00 14.744340\n",
"23 90.2 110.9 537.4 6.2 19.5 43 5.8 0.0 0.00 13.551980\n",
"24 93.5 139.4 594.2 20.3 23.7 32 5.8 0.0 0.00 18.674238\n",
"25 91.4 142.4 601.4 10.6 16.3 60 5.4 0.0 0.00 8.535294\n",
"26 92.4 117.9 668.0 12.2 19.0 34 5.8 0.0 0.00 14.274694\n",
"27 90.9 126.5 686.5 7.0 19.4 48 1.3 0.0 0.00 12.817622\n",
"28 93.4 145.4 721.4 8.1 30.2 24 2.7 0.0 0.00 25.435215\n",
"29 93.5 149.3 728.6 8.1 22.8 39 3.6 0.0 0.00 16.976522\n",
".. ... ... ... ... ... .. ... ... ... ...\n",
"487 95.1 141.3 605.8 17.7 26.4 34 3.6 0.0 16.40 20.794636\n",
"488 95.1 141.3 605.8 17.7 19.4 71 7.6 0.0 46.70 9.844870\n",
"489 95.1 141.3 605.8 17.7 20.6 58 1.3 0.0 0.00 12.582409\n",
"490 95.1 141.3 605.8 17.7 28.7 33 4.0 0.0 0.00 22.950355\n",
"491 95.8 152.0 624.1 13.8 32.4 21 4.5 0.0 0.00 27.761327\n",
"492 95.9 158.0 633.6 11.3 32.4 27 2.2 0.0 0.00 26.985826\n",
"493 95.9 158.0 633.6 11.3 27.5 29 4.5 0.0 43.32 22.410067\n",
"494 96.0 164.0 643.0 14.0 30.8 30 4.9 0.0 8.59 25.188359\n",
"495 96.2 175.5 661.8 16.8 23.9 42 2.2 0.0 0.00 17.557952\n",
"496 96.2 175.5 661.8 16.8 32.6 26 3.1 0.0 2.77 27.291291\n",
"497 96.1 181.1 671.2 14.3 32.3 27 2.2 0.0 14.68 26.897719\n",
"498 96.1 181.1 671.2 14.3 33.3 26 2.7 0.0 40.54 27.908042\n",
"499 96.1 181.1 671.2 14.3 27.3 63 4.9 6.4 10.82 17.839350\n",
"500 96.1 181.1 671.2 14.3 21.6 65 4.9 0.8 0.00 12.558732\n",
"501 96.1 181.1 671.2 14.3 21.6 65 4.9 0.8 0.00 12.558732\n",
"502 96.1 181.1 671.2 14.3 20.7 69 4.9 0.4 0.00 11.248766\n",
"503 94.5 139.4 689.1 20.0 29.2 30 4.9 0.0 1.95 23.778642\n",
"504 94.5 139.4 689.1 20.0 28.9 29 4.9 0.0 49.59 23.643570\n",
"505 91.0 163.2 744.4 10.1 26.7 35 1.8 0.0 5.80 20.929708\n",
"506 91.0 166.9 752.6 7.1 18.5 73 8.5 0.0 0.00 8.793404\n",
"507 91.0 166.9 752.6 7.1 25.9 41 3.6 0.0 0.00 19.449349\n",
"508 91.0 166.9 752.6 7.1 25.9 41 3.6 0.0 0.00 19.449349\n",
"509 91.0 166.9 752.6 7.1 21.1 71 7.6 1.4 2.17 11.342695\n",
"510 91.0 166.9 752.6 7.1 18.2 62 5.4 0.0 0.43 9.950833\n",
"511 81.6 56.7 665.6 1.9 27.8 35 2.7 0.0 0.00 21.898889\n",
"512 81.6 56.7 665.6 1.9 27.8 32 2.7 0.0 6.44 22.286639\n",
"513 81.6 56.7 665.6 1.9 21.9 71 5.8 0.0 54.29 12.047554\n",
"514 81.6 56.7 665.6 1.9 21.2 70 6.7 0.0 11.16 11.560052\n",
"515 94.4 146.0 614.7 11.3 25.6 42 4.0 0.0 0.00 19.055777\n",
"516 79.5 3.0 106.7 1.1 11.8 31 4.5 0.0 0.00 8.318716\n",
"\n",
"[517 rows x 10 columns]"
]
},
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"predicted_area = []\n",
"for i in range(0, len(sdf)):\n",
" predicted_area.append(regr.predict(X[i]))\n",
"\n",
"sdf.loc[:, 'predicted_area'] = predicted_area\n",
"sdf"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### [Mission 7] 가장 영향이 높은 요인 두 개로 다변수 로지스틱 회귀분석 수행\n",
"- area의 값의 편차가 너무 심하기 때문에 그러한 편차를 줄이기 위하여 numpy.log1p (자연로그) 사용\n",
" - Calculates log(1 + x)\n",
" - http://docs.scipy.org/doc/numpy/reference/generated/numpy.log1p.html#numpy.log1p\n",
"- 새로운 Categorical Variable로서 0 및 1을 지니는 'fire' 컬럼 생성\n",
"- 두 가지 부류로 나누는 기준은 log(1 + area) 값이 50% percentile 이상인 것과 50% percentile 이하인 것으로 정함\n",
" - log(1 + area) 값이 50% percentile 이상이면 'fire' 컬럼 값이 1\n",
" - log(1 + area) 값이 50% percentile 이하이면 'fire' 컬럼 값이 0\n",
"- 로지스틱 회귀분석에 의한 분류의 정확도를 최종적으로 출력하시오. "
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" area | \n",
" fire | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 8.2 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 2 | \n",
" 14.6 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 3 | \n",
" 8.3 | \n",
" 97 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 4 | \n",
" 11.4 | \n",
" 99 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 5 | \n",
" 22.2 | \n",
" 29 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 6 | \n",
" 24.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 7 | \n",
" 8.0 | \n",
" 86 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 8 | \n",
" 13.1 | \n",
" 63 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 9 | \n",
" 22.8 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 10 | \n",
" 17.8 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 11 | \n",
" 19.3 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 12 | \n",
" 17.0 | \n",
" 72 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 13 | \n",
" 21.3 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 14 | \n",
" 26.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 15 | \n",
" 22.9 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 16 | \n",
" 15.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 17 | \n",
" 16.7 | \n",
" 47 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 18 | \n",
" 15.9 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 19 | \n",
" 9.3 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 20 | \n",
" 18.3 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 21 | \n",
" 19.1 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 22 | \n",
" 21.0 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 23 | \n",
" 19.5 | \n",
" 43 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 24 | \n",
" 23.7 | \n",
" 32 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 25 | \n",
" 16.3 | \n",
" 60 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 26 | \n",
" 19.0 | \n",
" 34 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 27 | \n",
" 19.4 | \n",
" 48 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 28 | \n",
" 30.2 | \n",
" 24 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 29 | \n",
" 22.8 | \n",
" 39 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 26.4 | \n",
" 34 | \n",
" 2.856470 | \n",
" 1 | \n",
"
\n",
" \n",
" 488 | \n",
" 19.4 | \n",
" 71 | \n",
" 3.864931 | \n",
" 1 | \n",
"
\n",
" \n",
" 489 | \n",
" 20.6 | \n",
" 58 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 490 | \n",
" 28.7 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 491 | \n",
" 32.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 492 | \n",
" 32.4 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 493 | \n",
" 27.5 | \n",
" 29 | \n",
" 3.791436 | \n",
" 1 | \n",
"
\n",
" \n",
" 494 | \n",
" 30.8 | \n",
" 30 | \n",
" 2.260721 | \n",
" 1 | \n",
"
\n",
" \n",
" 495 | \n",
" 23.9 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 496 | \n",
" 32.6 | \n",
" 26 | \n",
" 1.327075 | \n",
" 1 | \n",
"
\n",
" \n",
" 497 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.752386 | \n",
" 1 | \n",
"
\n",
" \n",
" 498 | \n",
" 33.3 | \n",
" 26 | \n",
" 3.726657 | \n",
" 1 | \n",
"
\n",
" \n",
" 499 | \n",
" 27.3 | \n",
" 63 | \n",
" 2.469793 | \n",
" 1 | \n",
"
\n",
" \n",
" 500 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 501 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 502 | \n",
" 20.7 | \n",
" 69 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 503 | \n",
" 29.2 | \n",
" 30 | \n",
" 1.081805 | \n",
" 1 | \n",
"
\n",
" \n",
" 504 | \n",
" 28.9 | \n",
" 29 | \n",
" 3.923754 | \n",
" 1 | \n",
"
\n",
" \n",
" 505 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.916923 | \n",
" 1 | \n",
"
\n",
" \n",
" 506 | \n",
" 18.5 | \n",
" 73 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 507 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 508 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 509 | \n",
" 21.1 | \n",
" 71 | \n",
" 1.153732 | \n",
" 1 | \n",
"
\n",
" \n",
" 510 | \n",
" 18.2 | \n",
" 62 | \n",
" 0.357674 | \n",
" 0 | \n",
"
\n",
" \n",
" 511 | \n",
" 27.8 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 512 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.006871 | \n",
" 1 | \n",
"
\n",
" \n",
" 513 | \n",
" 21.9 | \n",
" 71 | \n",
" 4.012592 | \n",
" 1 | \n",
"
\n",
" \n",
" 514 | \n",
" 21.2 | \n",
" 70 | \n",
" 2.498152 | \n",
" 1 | \n",
"
\n",
" \n",
" 515 | \n",
" 25.6 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
" 516 | \n",
" 11.8 | \n",
" 31 | \n",
" 0.000000 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 4 columns
\n",
"
"
],
"text/plain": [
" temp RH area fire\n",
"0 8.2 51 0.000000 0\n",
"1 18.0 33 0.000000 0\n",
"2 14.6 33 0.000000 0\n",
"3 8.3 97 0.000000 0\n",
"4 11.4 99 0.000000 0\n",
"5 22.2 29 0.000000 0\n",
"6 24.1 27 0.000000 0\n",
"7 8.0 86 0.000000 0\n",
"8 13.1 63 0.000000 0\n",
"9 22.8 40 0.000000 0\n",
"10 17.8 51 0.000000 0\n",
"11 19.3 38 0.000000 0\n",
"12 17.0 72 0.000000 0\n",
"13 21.3 42 0.000000 0\n",
"14 26.4 21 0.000000 0\n",
"15 22.9 44 0.000000 0\n",
"16 15.1 27 0.000000 0\n",
"17 16.7 47 0.000000 0\n",
"18 15.9 35 0.000000 0\n",
"19 9.3 44 0.000000 0\n",
"20 18.3 40 0.000000 0\n",
"21 19.1 38 0.000000 0\n",
"22 21.0 44 0.000000 0\n",
"23 19.5 43 0.000000 0\n",
"24 23.7 32 0.000000 0\n",
"25 16.3 60 0.000000 0\n",
"26 19.0 34 0.000000 0\n",
"27 19.4 48 0.000000 0\n",
"28 30.2 24 0.000000 0\n",
"29 22.8 39 0.000000 0\n",
".. ... .. ... ...\n",
"487 26.4 34 2.856470 1\n",
"488 19.4 71 3.864931 1\n",
"489 20.6 58 0.000000 0\n",
"490 28.7 33 0.000000 0\n",
"491 32.4 21 0.000000 0\n",
"492 32.4 27 0.000000 0\n",
"493 27.5 29 3.791436 1\n",
"494 30.8 30 2.260721 1\n",
"495 23.9 42 0.000000 0\n",
"496 32.6 26 1.327075 1\n",
"497 32.3 27 2.752386 1\n",
"498 33.3 26 3.726657 1\n",
"499 27.3 63 2.469793 1\n",
"500 21.6 65 0.000000 0\n",
"501 21.6 65 0.000000 0\n",
"502 20.7 69 0.000000 0\n",
"503 29.2 30 1.081805 1\n",
"504 28.9 29 3.923754 1\n",
"505 26.7 35 1.916923 1\n",
"506 18.5 73 0.000000 0\n",
"507 25.9 41 0.000000 0\n",
"508 25.9 41 0.000000 0\n",
"509 21.1 71 1.153732 1\n",
"510 18.2 62 0.357674 0\n",
"511 27.8 35 0.000000 0\n",
"512 27.8 32 2.006871 1\n",
"513 21.9 71 4.012592 1\n",
"514 21.2 70 2.498152 1\n",
"515 25.6 42 0.000000 0\n",
"516 11.8 31 0.000000 0\n",
"\n",
"[517 rows x 4 columns]"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sdf = df[['temp', 'RH', 'area']]\n",
"sdf.loc[:, 'area'] = np.log1p(sdf['area'])\n",
"fire = []\n",
"for i in range(0, len(sdf)):\n",
" if sdf.iloc[i]['area'] >= 0.41871:\n",
" fire.append(1)\n",
" else:\n",
" fire.append(0)\n",
"\n",
"sdf.loc[:, 'fire'] = fire\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"LogisticRegression(C=1.0, class_weight=None, dual=False, fit_intercept=True,\n",
" intercept_scaling=1, max_iter=100, multi_class='ovr', n_jobs=1,\n",
" penalty='l2', random_state=None, solver='liblinear', tol=0.0001,\n",
" verbose=0, warm_start=False)"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"X = zip(sdf['temp'], sdf['RH'])\n",
"Y = sdf['fire'].values\n",
"regr2 = linear_model.LogisticRegression()\n",
"regr2.fit(X, Y)"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Coefficients: [[ 0.01885868 -0.00132539]]\n",
"Intercept: [-0.2837215]\n"
]
}
],
"source": [
"print 'Coefficients:', regr2.coef_\n",
"print 'Intercept:', regr2.intercept_"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n",
"/Users/yhhan/anaconda/lib/python2.7/site-packages/sklearn/utils/validation.py:386: DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and willraise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.\n",
" DeprecationWarning)\n"
]
},
{
"data": {
"text/html": [
"\n",
"
\n",
" \n",
" \n",
" | \n",
" temp | \n",
" RH | \n",
" area | \n",
" fire | \n",
" predicted_fire | \n",
"
\n",
" \n",
" \n",
" \n",
" 0 | \n",
" 8.2 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 1 | \n",
" 18.0 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 2 | \n",
" 14.6 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 3 | \n",
" 8.3 | \n",
" 97 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 4 | \n",
" 11.4 | \n",
" 99 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 5 | \n",
" 22.2 | \n",
" 29 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 6 | \n",
" 24.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 7 | \n",
" 8.0 | \n",
" 86 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 8 | \n",
" 13.1 | \n",
" 63 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 9 | \n",
" 22.8 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 10 | \n",
" 17.8 | \n",
" 51 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 11 | \n",
" 19.3 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 12 | \n",
" 17.0 | \n",
" 72 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 13 | \n",
" 21.3 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 14 | \n",
" 26.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 15 | \n",
" 22.9 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 16 | \n",
" 15.1 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 17 | \n",
" 16.7 | \n",
" 47 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 18 | \n",
" 15.9 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 19 | \n",
" 9.3 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 20 | \n",
" 18.3 | \n",
" 40 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 21 | \n",
" 19.1 | \n",
" 38 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 22 | \n",
" 21.0 | \n",
" 44 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 23 | \n",
" 19.5 | \n",
" 43 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 24 | \n",
" 23.7 | \n",
" 32 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 25 | \n",
" 16.3 | \n",
" 60 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 26 | \n",
" 19.0 | \n",
" 34 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 27 | \n",
" 19.4 | \n",
" 48 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 28 | \n",
" 30.2 | \n",
" 24 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 29 | \n",
" 22.8 | \n",
" 39 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
" ... | \n",
"
\n",
" \n",
" 487 | \n",
" 26.4 | \n",
" 34 | \n",
" 2.856470 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 488 | \n",
" 19.4 | \n",
" 71 | \n",
" 3.864931 | \n",
" 1 | \n",
" 0 | \n",
"
\n",
" \n",
" 489 | \n",
" 20.6 | \n",
" 58 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 490 | \n",
" 28.7 | \n",
" 33 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 491 | \n",
" 32.4 | \n",
" 21 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 492 | \n",
" 32.4 | \n",
" 27 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 493 | \n",
" 27.5 | \n",
" 29 | \n",
" 3.791436 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 494 | \n",
" 30.8 | \n",
" 30 | \n",
" 2.260721 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 495 | \n",
" 23.9 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 496 | \n",
" 32.6 | \n",
" 26 | \n",
" 1.327075 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 497 | \n",
" 32.3 | \n",
" 27 | \n",
" 2.752386 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 498 | \n",
" 33.3 | \n",
" 26 | \n",
" 3.726657 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 499 | \n",
" 27.3 | \n",
" 63 | \n",
" 2.469793 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 500 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 501 | \n",
" 21.6 | \n",
" 65 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 502 | \n",
" 20.7 | \n",
" 69 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 503 | \n",
" 29.2 | \n",
" 30 | \n",
" 1.081805 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 504 | \n",
" 28.9 | \n",
" 29 | \n",
" 3.923754 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 505 | \n",
" 26.7 | \n",
" 35 | \n",
" 1.916923 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 506 | \n",
" 18.5 | \n",
" 73 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 507 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 508 | \n",
" 25.9 | \n",
" 41 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 509 | \n",
" 21.1 | \n",
" 71 | \n",
" 1.153732 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 510 | \n",
" 18.2 | \n",
" 62 | \n",
" 0.357674 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
" 511 | \n",
" 27.8 | \n",
" 35 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 512 | \n",
" 27.8 | \n",
" 32 | \n",
" 2.006871 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 513 | \n",
" 21.9 | \n",
" 71 | \n",
" 4.012592 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 514 | \n",
" 21.2 | \n",
" 70 | \n",
" 2.498152 | \n",
" 1 | \n",
" 1 | \n",
"
\n",
" \n",
" 515 | \n",
" 25.6 | \n",
" 42 | \n",
" 0.000000 | \n",
" 0 | \n",
" 1 | \n",
"
\n",
" \n",
" 516 | \n",
" 11.8 | \n",
" 31 | \n",
" 0.000000 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
"
\n",
"
517 rows × 5 columns
\n",
"
"
],
"text/plain": [
" temp RH area fire predicted_fire\n",
"0 8.2 51 0.000000 0 0\n",
"1 18.0 33 0.000000 0 1\n",
"2 14.6 33 0.000000 0 0\n",
"3 8.3 97 0.000000 0 0\n",
"4 11.4 99 0.000000 0 0\n",
"5 22.2 29 0.000000 0 1\n",
"6 24.1 27 0.000000 0 1\n",
"7 8.0 86 0.000000 0 0\n",
"8 13.1 63 0.000000 0 0\n",
"9 22.8 40 0.000000 0 1\n",
"10 17.8 51 0.000000 0 0\n",
"11 19.3 38 0.000000 0 1\n",
"12 17.0 72 0.000000 0 0\n",
"13 21.3 42 0.000000 0 1\n",
"14 26.4 21 0.000000 0 1\n",
"15 22.9 44 0.000000 0 1\n",
"16 15.1 27 0.000000 0 0\n",
"17 16.7 47 0.000000 0 0\n",
"18 15.9 35 0.000000 0 0\n",
"19 9.3 44 0.000000 0 0\n",
"20 18.3 40 0.000000 0 1\n",
"21 19.1 38 0.000000 0 1\n",
"22 21.0 44 0.000000 0 1\n",
"23 19.5 43 0.000000 0 1\n",
"24 23.7 32 0.000000 0 1\n",
"25 16.3 60 0.000000 0 0\n",
"26 19.0 34 0.000000 0 1\n",
"27 19.4 48 0.000000 0 1\n",
"28 30.2 24 0.000000 0 1\n",
"29 22.8 39 0.000000 0 1\n",
".. ... .. ... ... ...\n",
"487 26.4 34 2.856470 1 1\n",
"488 19.4 71 3.864931 1 0\n",
"489 20.6 58 0.000000 0 1\n",
"490 28.7 33 0.000000 0 1\n",
"491 32.4 21 0.000000 0 1\n",
"492 32.4 27 0.000000 0 1\n",
"493 27.5 29 3.791436 1 1\n",
"494 30.8 30 2.260721 1 1\n",
"495 23.9 42 0.000000 0 1\n",
"496 32.6 26 1.327075 1 1\n",
"497 32.3 27 2.752386 1 1\n",
"498 33.3 26 3.726657 1 1\n",
"499 27.3 63 2.469793 1 1\n",
"500 21.6 65 0.000000 0 1\n",
"501 21.6 65 0.000000 0 1\n",
"502 20.7 69 0.000000 0 1\n",
"503 29.2 30 1.081805 1 1\n",
"504 28.9 29 3.923754 1 1\n",
"505 26.7 35 1.916923 1 1\n",
"506 18.5 73 0.000000 0 0\n",
"507 25.9 41 0.000000 0 1\n",
"508 25.9 41 0.000000 0 1\n",
"509 21.1 71 1.153732 1 1\n",
"510 18.2 62 0.357674 0 0\n",
"511 27.8 35 0.000000 0 1\n",
"512 27.8 32 2.006871 1 1\n",
"513 21.9 71 4.012592 1 1\n",
"514 21.2 70 2.498152 1 1\n",
"515 25.6 42 0.000000 0 1\n",
"516 11.8 31 0.000000 0 0\n",
"\n",
"[517 rows x 5 columns]"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"predicted_fire = []\n",
"for i in range(0, len(sdf)):\n",
" predicted_fire.append(regr2.predict(X[i]))\n",
"\n",
"sdf.loc[:, 'predicted_fire'] = predicted_fire\n",
"sdf"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.541586073501\n"
]
}
],
"source": [
"correctly_predicted = 0\n",
"for i in range(0, len(sdf)):\n",
" if predicted_fire[i] == Y[i]:\n",
" correctly_predicted += 1\n",
" \n",
"print float(correctly_predicted) / len(sdf)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python [Root]",
"language": "python",
"name": "Python [Root]"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.12"
}
},
"nbformat": 4,
"nbformat_minor": 0
}