自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(70)
  • 资源 (1)
  • 收藏
  • 关注

原创 系统分析与设计【作业一】

简答题软件工程的定义软件工程是指应用系统的,规范的,可量化的方法来开发,操作和维护软件,也即将工程方法应用于软件。对(1)所提到的方法的研究。对(1)所提到的方法的研究。解释导致 software crisis 本质原因、表现,述说克服软件危机的方法导致软件危机的本质原因软件危机是由于计算机能力的迅速增加以及无法解决的问题的复杂性导致的。计算能力的提高超过了程序员有效利...

2019-03-12 10:28:27 237

原创 系分图

注册修改问卷在线答题申诉租赁取快递

2019-04-27 00:03:02 243

原创 系统分析与设计【作业二】

简答题用简短的语言给出对分析、设计的理解。分析分析阶段主要对项目进行可行性分析和用户需求分析,要搞清楚用户的需求以及软件如何解决用户的需求,设计设计阶段关注软件怎么样去解决这些需求,强调需求的解决方案。用一句话描述面向对象的分析与设计的优势。简述 UML(统一建模语言)的作用。考试考哪些图?从软件本质的角度,解释软件范围(需求)控制的可行性项目管理实践看板使用练习(...

2019-04-06 11:07:43 260

原创 我的博客

深度学习:https://vilin.club/机器学习:https://vilin.club/ios开发:https://vilin.club/numpy:https://vilin.club/

2019-04-01 00:09:08 240

原创 逻辑回归--分类问题【机器学习】

逻辑回归定义逻辑回归(Logistic Regression)是一种用于解决二分类(0 or 1)问题的机器学习方法,用于估计某种事物的可能性。比如某用户购买某商品的可能性,某病人患有某种疾病的可能性,垃圾邮件的分类等等,以及某广告被用户点击的可能性等。但这里的可能性与数学上的概率不一样。问题引入对于肿瘤是恶性还是良性的分类,我们得出一下模型从上图可以看到,在现在的情况下,当hθ(x)&...

2019-03-18 11:01:50 548

原创 多个变量的线性回归问题【机器学习】

从我们上次介绍的问题进行延申,同样是房子价格的预测,但我们此时的特征从一个变成多个特征,也就是变量从一个变成了多个,例如其他特征有面积,房间个数,楼层,房龄等。我们用一个列向量代表这些特征:此时,我们假设的模型也要相应做出变化:为了方便计算,也就是使得两个列向量可以进行运算,我们定义这样一来,模型可以写成同样,我们定义损失函数目标是使得损失函数取得最小值。使用梯度下降更新参数...

2019-03-17 21:19:51 3122

原创 一个变量的线性回归问题【机器学习】

问题的引入我们通过调查得出若干房子的面积大小与其价格的数据,给出一个房子面积的数据,对其房价进行预问题分析这个问题是典型的数据挖掘的问题,通过对数据的分析得出规律,然后利用规律对一些未知的数据的结果进行预测,又由于它只有房子面积大小这一个数据特征,所以又叫做一个变量的线性回归问题,问题的解决模型如下图:问题的解决根据数据的特征,我们假设模型为:我们的目标是使得样本数据离我们得出的模...

2019-03-17 20:28:42 337

原创 Nodejs+MongoDB搭建安卓应用服务器

Nodejs+MongoDB搭建安卓应用服务器服务器环境:Linux18.04安装Nodejsapt install nodejs安装MongoDB在这里我们需要从官网下载一个安装包 官网我选择的是tgz后缀的压缩包,解压tar -zxvf xx.tgz # 解压mv xx/ /usr/loca...

2019-03-17 19:40:02 382

原创 python爬虫(爬取王者荣耀英雄图片)

爬取王者荣耀全英雄头像和全英雄皮肤图片英雄信息分析在页面加载过程中,我们按F12进入开发者工具,由于页面需要加载英雄信息,我们可以获取全部英雄的信息,我们看到Network可以看到加载的东西其中herolist.json是英雄的信息其中一个英雄的信息如下:{ "ename":105, "cname":"廉颇", "title":"正义爆轰", ...

2019-01-31 21:33:01 3372

原创 Capacitated Facility Location Problem

Capacitated Facility Location Problem题目要求Suppose there are n facilities and m customers. We wish to choose:which of the n facilities to open.the assignment of customers to facilities.The objec...

2018-12-22 14:29:25 1347

原创 算法设计与分析(十四)

Maximum Product Subarray题目Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product.Example 1:Input: [2,3,-2,4]Outpu...

2018-12-09 14:30:55 460

原创 算法设计与分析(十三)

Count of Range Sum题目Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive.Range sum S(i, j) is defined as the sum of the elements in nums between indices...

2018-11-27 21:45:08 406

原创 Android Stdio8.0往模拟器文件系统加文件时Permission denied

Android Stdio8.0访问AVD文件系统点击右下角右键upload发现权限不够打开ADK路径找到adb给权限在window系统下通过长按拖动adb.exe执行命令,否则发现找不到adb命令。如adb.exe root...

2018-11-25 00:28:21 1127 1

原创 算法设计与分析(十二)--动态规划

Target Sum题目You are given a list of non-negative integers, a1, a2, …, an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose one from + and - as its new symbol.Fin...

2018-11-25 00:16:28 271

原创 算法设计与分析(十一)--动态规划

1. Unique Binary Search Trees2. Unique Binary Search Trees IIUnique Binary Search Trees题目Given n, how many structurally unique BST’s (binary search trees) that store values 1 … n?分析这题是典型的卡特兰数的例...

2018-11-16 19:22:14 208

原创 算法设计与分析--动态规划(十)

Scramble String题目Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation of s1 = “great”:great/ ...

2018-11-08 13:24:14 511

原创 智能合约调用篇--通过地址实例化智能合约调用

通过地址实例化智能合约调用很多时候,我们都是在刚部署好智能合约的时候就对智能合约开始调用,此时的实例可以使用部署时候的实例,但很多时候,我们需要通过地址来调用智能合约,下面我们简单说说怎么使用合约的地址对合约进行调用。首先知道合约的地址,将合约的地址赋值给addressaddress = "合约的地址"然后在本地取得合约代码的abi编码其中Token.tol用solidity语言...

2018-11-05 13:08:39 5104 1

原创 Edit Distance(动态规划)

Edit Distance题目Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.You have the following 3 operations permitted on a word:Insert a character...

2018-11-04 15:15:43 1564 1

原创 Unique Paths II(动态规划)

Unique Paths II题目A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is tryi...

2018-11-04 14:28:08 227

原创 Longest Valid Parentheses(动态规划)

Longest Valid Parentheses题目Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: “(()”Output: 2Expl...

2018-11-04 13:33:37 469

转载 智能合约的部署,调用以及节点的加入

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wxb880114/article/details/80742672 确保本地以安装好go-ethernum环境未安装参考:以太坊私有链入门最新教程(6.6更新)&nb...

2018-11-04 10:03:04 3144

原创 geth常用命令

geth常用命令初始化私链geth --datadir /path/to/datadir init /path/to/genesis.json启动私链geth --identity "TestNode" --rpc --rpcport "8545" --datadir /path/to/datadir --port "30303" --nodiscover consol创建账户可...

2018-11-03 14:09:11 962

原创 geth的安装(Linux)

基于Linux系统geth的安装安装ethereumsudo apt-get install software-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo apt-get updatesudo apt-get install ethereum然后用geth --help检查是否安装成...

2018-11-02 17:14:25 3465

原创 区块链Solidity教程之文件结构(一)

版本声明pragma solidity ^0.4.0;表示低于这个对应版本的编译器才可以编译。引用文件与python引用文件一样,通过import引用文件全局引入import “filename”;自定义命名空间引入import * as symbolName from “filename”引用同目录的使用import “./x” as x注释用//或者/**/来进行...

2018-10-30 22:42:48 174

原创 算法设计与分析(九)--动态规划

Burst Balloons题目Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloons. If the you burst balloon i yo...

2018-10-30 22:14:53 248

原创 算法设计与分析--动态规划(八)

Longest Increasing Path in a Matrix题目Given an integer matrix, find the length of the longest increasing path.From each cell, you can either move to four directions: left, right, up or down. You may...

2018-10-27 11:37:18 219

原创 算法设计与分析(七)

贪心算法题目这次我们选择两题贪心算法作为练习,这两道题目是有关系的,一个是比较基础的贪心,另一个是难一点的贪心。Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array re...

2018-10-18 23:46:51 173

原创 LeetCode--Keys and Rooms

Keys and Rooms题目There are N rooms and you start in room 0. Each room has a distinct number in 0, 1, 2, …, N-1, and each room may have some keys to access the next room.Formally, each room i has a ...

2018-10-14 22:20:26 143

原创 算法设计与分析(六

Merge k Sorted Lists题目Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Example:Input:[1->4->5,1->3->4,2->6]Output: 1->1-&gt

2018-10-11 19:30:11 140

原创 算法设计与分析(五)

Is Graph Bipartite?1. 题目Given an undirected graph, return true if and only if it is bipartite.Recall that a graph is bipartite if we can split it’s set of nodes into two independent subsets A and B...

2018-10-04 10:04:31 184

原创 算法设计与分析第四周练习(图论)

Network Delay Time1. 题目There are N network nodes, labelled 1 to N.Given times, a list of travel times as directed edges times[i] = (u, v, w), where u is the source node, v is the target node, and ...

2018-09-28 13:54:57 337

原创 3Sum

3Sum1.题目Given an arraynumsofnintegers, are there elementsa,b,cinnumssuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution set m...

2018-09-24 23:49:16 150

原创 LeetCode--Longest Common Prefix

Longest Common Prefix题目Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string"".Example 1:Input: ["flowe...

2018-09-24 21:08:58 150

原创 LeetCode--Integer to Roman

Integer to Roman1. 题目Roman numerals are represented by seven different symbols:I,V,X,L,C,DandM.Symbol ValueI 1V 5X 10L 50C ...

2018-09-23 23:16:13 154

原创 LeetCode--Roman to Integer

Roman to Integer1. 题目Roman numerals are represented by seven different symbols:I,V,X,L,C,DandM.Symbol ValueI 1V 5X 10L 50C ...

2018-09-23 21:22:49 134

原创 LeetCode--Clone Graph

Clone Graph1. 题目Given the head of agraph, return a deep copy (clone) of the graph. Each node in the graph contains alabel(int) and a list (List[UndirectedGraphNode]) of itsneighbors. There is ...

2018-09-23 20:03:36 160

原创 LeetCode--String to Integer (atoi)

String to Integer (atoi)1 题目Implementatoiwhichconverts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character i...

2018-09-22 10:42:26 172

原创 算法分析与设计第三周练习(图论)

目录Evaluate DivisionReconstruct Itinerary总结Evaluate Division1. 题目Equations are given in the formatA / B = k, whereAandBare variables represented as strings, andkis a real number (flo...

2018-09-21 23:07:40 330

原创 LeetCode--Reverse Integer

Reverse Integer题目Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21No...

2018-09-16 23:39:02 129

原创 LeetCode--ZigZag Conversion

ZigZag Conversion题目The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P ...

2018-09-16 21:36:49 163

一个多项式计算器的实现

多项式计算器

2017-06-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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