- 博客(4)
- 收藏
- 关注
原创 Sort Colors
Sort Colors leetcode75 题目: Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue...
2018-11-16 17:57:12
154
转载 Set Matrix Zeroes
Set Matrix Zeroes leetcode73 题目: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Input: [ [1,1,1], [1,0,1], [1,1,1] ] Output: [ [1,0,...
2018-11-16 15:36:54
141
转载 使用TensorFlow对MNIST数据集测试
使用TensorFlow对MNIST数据集测试 作为TensorFlow入门学习的内容,本次任务先后搭建了两个网络,对比先前使用过的KNN,SVM,来针对MNIST数据集测试验证学习效果。 1.Softmax实现 针对多分类Softmax算法的实现 # -*- coding: utf-8 -*- # @Author: zhengbohang # @Date: 2018-11-15 23:28:...
2018-11-16 15:16:08
494
原创 全排列
全排列 1.无重复数字全排列 leetcode 46 题目: Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,...
2018-11-12 16:49:59
209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅