摘要:
import pandas as pdimport mathdata=pd.read_csv("D://h_conv1.csv",header=None) list=data.values.tolist()perlx=[]for m in range(224): for n in range(224 阅读全文
摘要:
import numpy as npimport pickleimport cv2import pandas as pdimport tensorflow as tfimport matplotlib.pyplot as plt#mnist = input_data.read_data_sets(" 阅读全文
摘要:
正常TensorFlow的张量格式是 [{source/kernel}Height] + [{source/kernel}Width] + [inputChannels] + [outputChannels] 【0,1,2,3】 但是在写出的时候,为了方便可视化读入数据 应该改为【3, 0, 1, 阅读全文
摘要:
#include<bits/stdc++.h>using namespace std;string a="abcabc",b="abcabcabc";int f[10];void getfail(){ int n=a.size(); f[0]=f[1]=0; int j=0; for(int i=1 阅读全文
摘要:
\ 里面主要的两个算法比较难以赘述,miniset主要就是求最小公共子集。(个人认为) 阅读全文
摘要:
test = pd.read_csv("F:\\kaggle_data\\test.csv")PRINT一下看看格式test.dtypes例子: types = {'fare_amount': 'float32', 'pickup_longitude': 'float32', 'pickup_latitude': 'float32', 'dro... 阅读全文
摘要:
#!/usr/bin/python3.5# -*- coding: utf-8 -*- import osimport tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data from PIL import 阅读全文
摘要:
# -*- coding: utf-8 -*-"""Created on Fri Mar 9 10:16:39 2018@author: DBSF"""import numpy as npimport matplotlib.pyplot as pltimport input_dataimport t 阅读全文