集成学习

集成学习通过构建并结合多个学习器来完成学习任务。基于一种“三个臭皮匠顶个诸葛亮”的思想。

2019-08-06 09:12:15

阅读数 9

评论数 0

pyltp安装报错问题

centos pip install pyltp 出现编译错误,centos自带的gcc版本很低,打算升级一下gcc版本 升级到4.8.5版本后安装成功。 参考博客:https://baijiahao.baidu.com/s?id=1618088009618054622&wfr...

2019-07-24 09:27:46

阅读数 11

评论数 0

centos安装pyltp错误解决

ERROR: Command "/home/ccivr/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-k_q5nxhc/pyltp/setu...

2019-07-20 15:24:42

阅读数 20

评论数 0

【leetcode每日刷题】454. 4Sum II

Given four lists A, B, C, D of integer values, compute how many tuples(i, j, k, l)there are such thatA[i] + B[j] + C[k] + D[l]is zero. To make probl...

2019-07-14 12:22:06

阅读数 12

评论数 0

pytorch的理解-pytorch在CPU->GPU上的训练

https://www.cnblogs.com/zle1992/p/9047905.html 1、cpu->gpu迁移原理 将模型和数据从内存复制到GPU的显存中,就可以使用GPU进行训练,其操作方法是将数据和模型都使用.cuda()方法。 2、判断GPU是否可以使用: 通过...

2019-07-03 11:30:06

阅读数 164

评论数 0

cuda , torch,cudnn版本查看

cuda版本查看: nvcc -V 9.0, V9.0.176 cudnn版本查看: python版本查看:python -V Python 3.6.8 :: Anaconda custom (64-bit) cuda,cudnn,vs,python,pytorch

2019-07-01 20:53:51

阅读数 114

评论数 0

【leetcode每日刷题】【dp】877. Stone Game

Alex and Lee play a game with piles of stones. There are an even number ofpilesarranged in a row, and each pile has a positive integer number of ston...

2019-06-23 15:29:43

阅读数 16

评论数 0

【leetcode每日刷题】【广度遍历】690. Employee Importance

You are given a data structure of employee information, which includes the employee'sunique id, hisimportance valueand hisdirectsubordinates' id. Fo...

2019-06-23 14:20:22

阅读数 21

评论数 0

【leetcode每日刷题】110. Balanced Binary Tree

平衡二叉树 1271113FavoriteShare Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as:...

2019-06-22 16:41:21

阅读数 9

评论数 0

【leetcode每日刷题】103. Binary Tree Zigzag Level Order Traversal

Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and a...

2019-06-22 14:32:43

阅读数 5

评论数 0

【leetcode每日刷题】【层次遍历】102. Binary Tree Level Order Traversal

Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree[3...

2019-06-22 13:50:07

阅读数 5

评论数 0

【leetcode每日刷题】【模拟】134. Gas Station

There areNgas stations along a circular route, where the amount of gas at stationiisgas[i]. You have a car with an unlimited gas tank and it costsco...

2019-06-02 14:11:42

阅读数 14

评论数 0

【leetcode每日刷题】【hard】76. Minimum Window Substring

Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = &...

2019-05-26 19:29:53

阅读数 13

评论数 0

【leetcode每日刷题】147. Insertion Sort List

Sort a linked list using insertion sort. A graphical example of insertion sort. The partial sorted list (black) initially contains only the first e...

2019-05-16 17:02:32

阅读数 15

评论数 0

【leetcode每日刷题】【dp】322. Coin Change

You are given coins of different denominations and a total amount of moneyamount. Write a function to compute the fewest number of coins that you nee...

2019-05-12 20:22:01

阅读数 37

评论数 0

【leetcode每日刷题】43. Multiply Strings

Given two non-negative integersnum1andnum2represented as strings, return the product ofnum1andnum2, also represented as a string. Example 1: Input...

2019-05-12 19:32:15

阅读数 31

评论数 0

【leetcode每日刷题】【并查集】547. Friend Circles

There areNstudents in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is adirectfr...

2019-05-03 12:18:34

阅读数 82

评论数 0

【leetcode每日刷题】【尺取法】713. Subarray Product Less Than K

Your are given an array of positive integersnums. Count and print the number of (contiguous) subarrays where the product of all the elements in the ...

2019-05-03 09:58:52

阅读数 66

评论数 0

【python list】关于Python list的append 和extend方法的使用

list1=[1, 2, 3] .list2=[4, 5, 6] list1.append(list2) 的结果为[1, 2, 3, [4, 5, 6]] list1.extend(list2) 的结果为[1, 2, 3, 4, 5, 6]

2019-04-30 15:47:36

阅读数 52

评论数 0

【leetcode每日刷题】40. Combination Sum II

Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations incandidateswhere the candidate numbe...

2019-04-30 10:32:18

阅读数 37

评论数 0

提示
确定要删除当前文章?
取消 删除