SHARE
TWEET

Untitled

a guest Aug 22nd, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.  "cells": [
  3.   {
  4.    "cell_type": "code",
  5.    "execution_count": 5,
  6.    "metadata": {},
  7.    "outputs": [    
  8.     {
  9.      "name": "stdout",
  10.      "output_type": "stream",
  11.      "text": [
  12.       "Total Non NaN values: 12233776"
  13.      ]
  14.     },
  15.     {
  16.      "name": "stdout",
  17.      "output_type": "stream",
  18.      "text": [
  19.       "\n"
  20.      ]
  21.     },
  22.     {
  23.      "name": "stdout",
  24.      "output_type": "stream",
  25.      "text": [
  26.       "Total NaN values: 6224"
  27.      ]
  28.     },
  29.     {
  30.      "name": "stdout",
  31.      "output_type": "stream",
  32.      "text": [
  33.       "\n"
  34.      ]
  35.     },
  36.     {
  37.      "name": "stdout",
  38.      "output_type": "stream",
  39.      "text": [
  40.       "(60000, 192)"
  41.      ]
  42.     },
  43.     {
  44.      "name": "stdout",
  45.      "output_type": "stream",
  46.      "text": [
  47.       "\n"
  48.      ]
  49.     },
  50.     {
  51.      "name": "stdout",
  52.      "output_type": "stream",
  53.      "text": [
  54.       "Total Non NaN values: 2039040"
  55.      ]
  56.     },
  57.     {
  58.      "name": "stdout",
  59.      "output_type": "stream",
  60.      "text": [
  61.       "\n"
  62.      ]
  63.     },
  64.     {
  65.      "name": "stdout",
  66.      "output_type": "stream",
  67.      "text": [
  68.       "Total NaN values: 960"
  69.      ]
  70.     },
  71.     {
  72.      "name": "stdout",
  73.      "output_type": "stream",
  74.      "text": [
  75.       "\n"
  76.      ]
  77.     },
  78.     {
  79.      "name": "stdout",
  80.      "output_type": "stream",
  81.      "text": [
  82.       "(10000, 192)"
  83.      ]
  84.     },
  85.     {
  86.      "name": "stdout",
  87.      "output_type": "stream",
  88.      "text": [
  89.       "\n"
  90.      ]
  91.     }
  92.    ],
  93.    "source": [
  94.     "## extract features from original images ##\n",
  95.     "feat_train_data, feat_test_data = extr_feat(dataset)\n"
  96.    ]
  97.   }
  98.  ],
  99.  "metadata": {
  100.   "kernelspec": {
  101.    "display_name": "Python 2",
  102.    "language": "python",
  103.    "name": "python2"
  104.   },
  105.   "language_info": {
  106.    "codemirror_mode": {
  107.     "name": "ipython",
  108.     "version": 2
  109.    },
  110.    "file_extension": ".py",
  111.    "mimetype": "text/x-python",
  112.    "name": "python",
  113.    "nbconvert_exporter": "python",
  114.    "pygments_lexer": "ipython2",
  115.    "version": "2.7.6"
  116.   }
  117.  },
  118.  "nbformat": 4,
  119.  "nbformat_minor": 0
  120. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top