- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 机器学习基石10--Logistic Regression
一、逻辑回归问题 Logistic Regression Problem logistic regression多用于预测疾病。一个心脏病预测的例子:根据患者的年龄、血压等信息来预测患者是否会有心脏病。是否二字已向我们表名这是一个二分类问题,它的输出结果为{+1,-1}。 比较常用的情形是探索某疾病的危险因素,根据危险因素预测某疾病发生的概率。二元分类多数情况...
2018-12-27 11:12:45 285
原创 机器学习基石9--Linear Regression
一、引入线性回归问题 Linear Regression是常见的一种机器学习算法。这里引入信用卡的例子,解决给用户发放信用卡额度的问题,【额度问题】这是一个回归问题。 我们把用户的年龄、年收入等描述为特征存进X, 是常数项,为权重。我们写成向量形式 :,看起来非常像perceptron,不同的是 这里没用符号函数 。...
2018-12-21 18:48:27 442 1
原创 5. Longest Palindromic Substring
Problem Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Input: "babad" Output: "bab" Note: "aba" is also...
2018-12-14 22:54:22 127
原创 4. Median of Two Sorted Arrays
Problem Description: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You ...
2018-12-14 19:23:31 123
原创 3. Longest Substring Without Repeating Characters in Python (92-ms)
Problem Description: Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with the lengt...
2018-12-14 18:58:00 99
原创 LeetCode Add Two Numbers By python
Problem Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the tw...
2018-12-13 20:05:33 123
jdk-1.8 linux版本 centos rpm安装版本
2019-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人