上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 274 下一页
摘要: 线性回归的一般形式 过拟合问题及其解决方法 问题:以下面一张图片展示过拟合问题 解决方法:(1):丢弃一些对我们最终预测结果影响不大的特征,具体哪些特征需要丢弃可以通过PCA算法来实现;(2):使用正则化技术,保留所有特征,但是减少特征前面的参数θ的大小,具体就是修改线性回归中的损失函数形式即可,岭 阅读全文
posted @ 2018-05-05 22:17 bonelee 阅读(6917) 评论(0) 推荐(0)
摘要: 线性拟合🌹叶子的长宽: 阅读全文
posted @ 2018-05-05 22:01 bonelee 阅读(372) 评论(1) 推荐(0)
摘要: from:https://www.cnblogs.com/shibalang/p/4859645.html 多元线性回归是最简单的机器学习模型,通过给定的训练数据集,拟合出一个线性模型,进而对新数据做出预测。 对应的模型如下: n: 特征数量。 一般选取残差平方和最小化作为损失函数,对应为: M:训 阅读全文
posted @ 2018-05-05 21:46 bonelee 阅读(10397) 评论(0) 推荐(0)
摘要: 【TensorFlow】tf.nn.softmax_cross_entropy_with_logits的用法 from:https://blog.csdn.net/mao_xiao_feng/article/details/53382790 from:https://blog.csdn.net/ma 阅读全文
posted @ 2018-05-05 20:23 bonelee 阅读(8508) 评论(0) 推荐(1)
摘要: tf.nn.sigmoid_cross_entropy_with_logits(_sentinel=None,labels=None, logits=None, name=None) sigmoid_cross_entropy_with_logits详解 这个函数的输入是logits和targets 阅读全文
posted @ 2018-05-05 20:13 bonelee 阅读(9934) 评论(0) 推荐(1)
摘要: # Combining Everything Together #---------------------------------- # This file will perform binary classification on the # iris dataset. We will only predict if a flower is # I.setosa or not. # # ... 阅读全文
posted @ 2018-05-05 20:04 bonelee 阅读(950) 评论(0) 推荐(0)
摘要: # Activation Functions #---------------------------------- # # This function introduces activation # functions in TensorFlow # Implementing Activation Functions import matplotlib.pyplot as plt imp... 阅读全文
posted @ 2018-05-05 12:10 bonelee 阅读(1757) 评论(0) 推荐(0)
摘要: 知乎上的回答:https://www.zhihu.com/question/59201590 过拟合即在训练误差很小,而泛化误差很大,因为模型可能过于的复杂,使其”记住”了训练样本,然而其泛化误差却很高,在传统的机器学习方法中有很大防止过拟合的方法,同样这些方法很多也适合用于深度学习中,同时深度学习 阅读全文
posted @ 2018-05-05 10:05 bonelee 阅读(22862) 评论(0) 推荐(1)
摘要: 科来 做流量分析,同时也做了一些安全分析(偏APT)——参考其官网:http://www.colasoft.com.cn/cases-and-application/network-security-analysis.php 安全防御的能力取决于安全感知能力 随着互联网的飞速发展,IT基础架构、移动 阅读全文
posted @ 2018-05-04 15:15 bonelee 阅读(2025) 评论(8) 推荐(0)
摘要: # -*- coding: utf-8 -*- import tensorflow as tf import os import random import tensorflow.contrib.slim as slim import time import numpy as np import pickle from PIL import Image mode = "inference... 阅读全文
posted @ 2018-05-02 17:02 bonelee 阅读(2553) 评论(2) 推荐(0)
上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 274 下一页