How to Install Android on Your PC

安卓逆向动态调试SO文件:从环境搭建到实战对抗反调试 动态调试是软件逆向工程中的核心技术,它允许分析者在程序运行时实时监控其执行流程、内存状态和寄存器值,从而深入理解程序的内部逻辑与数据流转机制。其原理在于通过调试器(如IDA Pro)附加到目标进程,拦截指令执行,实现断点、单步、内存查看与修改等操作。这项技术的核心价值在于能够穿透代码混淆与加密,直观地揭示算法逻辑、验证假设,是漏洞挖掘、安全评估和功能分析不可或缺的手段,广泛应用于恶意代码分析、软件漏洞挖掘和商业软件逆向等场景。在安卓应用安全领域,由于核心逻辑常被编译到原生共享库(SO文件)中,动态调试成为攻 阅读详情

From: http://android.appstorm.net/how-to/rooting-and-roms/how-to-install-android-on-your-pc/


It used to be the case that PC users had the choice of installing Windows or, if they were feeling adventurous, a version of Linux. This is still true, but it is now also possible to install OS X without owning a Mac and virtualization means that you can do all of this alongside your main operating system in a virtual computer.

This being Android.AppStorm, you may well wonder what virtualization has to do with your phone or tablet. Well, how would you feel about the chance of installing and running Android on your PC? Using a free copy ofVirtualBox and the information in this guide, you can run a fully functioning – and legal – version of Jelly Bean on your computer.


Like the article? You should subscribe and follow us on twitter.

It’s a Simple Process

First, you’ll need to grab yourself a copy of VirtualBox. This powerful virtualization utility can be used to install a second operating system alongside your primary one, and while this usually means running a second copy of Windows or trying out Ubuntu, there’s no reason why you shouldn’t be able install a mobile operating system as well.

Android may have been designed for your phone and tablet , but that doesn’t mean it needs to stay there.

Android may have been designed for your phone and tablet , but that doesn’t mean it needs to stay there.

Once you have the virtualization software up and running, you’ll need to get hold of a copy of Jelly Bean to install. This does not mean that you need to obtain an illicit copy of the operating system from an untrustworthy website, or rip a copy of your phone’s ROM – it is actually freely available.

Step 1: Grab an Android ROM

There are various versions of Android available for download, but it makes sense to work with the most recent version – Jelly Bean. Head over to theAndroid-x86 website scroll down to the Android-x86-4.2-devel section and click the View link for the most up to date version (at time of writing this is4.2 20130228).

There are several Android ROMs available to download including the latest version of Jelly Bean.

There are several Android ROMs available to download including the latest version of Jelly Bean.

Weighing in at just under 200MB, the download will take a moment to transfer. Once you have the ISO file on your hard drive, you’re ready to set about the task of installing it in VirtualBox.

Step 2: Going Virtual

Pay a visit to the VirtualBox download page and click the link to download the software. Here, I’m working with Windows 8, but VirtualBox is compatible with older versions of Microsoft’s operating system, and there are also versions available for OS X and Linux.

VirtualBox can be used to install a second operating system on your computer, including Android.

VirtualBox can be used to install a second operating system on your computer, including Android.

Once downloaded, run through the installation of the program  – just accept all of the default options. Don’t be concerned when you’re asked to install a new network adaptor as this is part if the usual installation process.

A virtual network adaptor will be installed by VirtualBox to allow virtual machines to get online.

A virtual network adaptor will be installed by VirtualBox to allow virtual machines to get online.

Once installation is complete, launch VirtualBox and you’re ready to move to the next stage.

Step 3: Create a Virtual Machine

You’ll need to start by creating a new virtual machine onto which you will install Android. Click theNew button. Name the virtual machine whatever you like, and (as Android is based on Linux) select  Linux from the first drop down menu. From theVersion menu select Other Linux and then click Next.

Android is a Linux-based operating system and it needs to be correctly identified in VirtualBox.

Android is a Linux-based operating system and it needs to be correctly identified in VirtualBox.

Move the memory slider to the right so that 512MB or more of RAM is set aside for VirtualBox and clickNext. Make sure that the Create a virtual hard drive now option is selected and clickCreate. Select VDI, click Next and then select theFixed size option before clicking Next.

You can then use the slider to choose how large a disk should be assigned to the virtual machine, and you can use the folder button to choose where it should be stored. ClickCreate when you’ve configured your settings — it might take a few minutes for the virtual disk to be created.

Your virtual Android device can be assigned a drive capacity of your choice -- go wild!

Your virtual Android device can be assigned a drive capacity of your choice — go wild!

Step 4: Install Android

Make sure that you have your newly created virtual machine selected and then click theSettings button in the toolbar. Click the Storage link to the left hand side of the dialog and then towards the center click theEmpty entry in the Storage Tree section.

To the right of this, click the small disc button and select Choose a virtual CD/DVD disk file from the menu that appears. Navigate to the ISO file you have downloaded, select it and clickOpen followed by OK.

The ISO files you've downloaded can be used as a virtual CD to install Android.

The ISO files you’ve downloaded can be used as a virtual CD to install Android.

Power up your virtual machine by clicking the Start button in the VirtualBox toolbar.

If this is the first time you’ve used the program you may see a message letting you know about mouse capturing. When you move the mouse cursor inside the virtual machine window you’ll find that you cannot move it back out to control Windows as you normally would – just remember to press the right hand Ctrl key to free up the mouse when you need to.

Use the arrow keys on your keyboard to scroll down to the Installation option and pressEnter.

Android can be run without installation, but opting to install provides a better, faster experience.

Android can be run without installation, but opting to install provides a better, faster experience.

Now you will need to configure the virtual hard drive so that there is somewhere to install Android to. Select theCreate/Modify Partition option and press Enter.

Select New at the bottom of the screen and press Enter, and then select thePrimary option before pressing Enter again. PressEnter to create a partition that occupies your entire virtual drive.

Configuring hard drives for Android may seem complex, but it takes just a few moments.

Configuring hard drives for Android may seem complex, but it takes just a few moments.

Now select the Bootable option and press Enter, selectWrite and press Enter, and then type the word yes before pressing Enter once again. Select Quit, choose the partition you’ve just created and pressEnter.

When prompted, select the option to use the ext3 file system and selectYes to confirm your choice. The GRUB bootloader takes care of launching Android, so selectYes to install it and then select Yes again to make the /system directory writeable.

The correct drive format must be selected for Android to work properly, so take care during configuration.

The correct drive format must be selected for Android to work properly, so take care during configuration.

It won’t be long before Android boots, and at this point you should remove the virtual CD from the drive. Click theDevices menu and select CD/DVD Devices followed byRemove disk from virtual drive.

It's a slightly time-consuming process, but getting Android on your PC is very rewarding.

It’s a slightly time-consuming process, but getting Android on your PC is very rewarding.

Step 5: Almost There!

You might find that Android takes a little while to boot up — at least the first time around — and you’ll then have to run through the initial configuration just like you did the first time you switched on your phone or tablet.

Should you find that your mouse does not work and you are unable to click within Android, click theMachine menu in Virtual Box and then click Disable Mouse Integration. You may also find it useful to clickView followed by Switch to Scale Mode if you find the mouse acts erratically — you can switch back to regular mode by pressing the rightCtrl key and C at the same time.

The first time you run Android you'll have to set it up just like you did on your phone or tablet.

The first time you run Android you’ll have to set it up just like you did on your phone or tablet.

You can ignore any steps related to connecting to a wireless network as VirtualBox will just make use of your computer connection without the need for additional configuration.

Running Android within Windows can feel strange to start with, but it's also great fun!

Running Android within Windows can feel strange to start with, but it’s also great fun!

Now it’s time to pay a visit to Google Play and start downloading apps! Let us know how you get on, particularly if you think up any interesting uses for a virtualized copy of Android.


****************************

VirtualBox + android x86 模拟各种分辨率

Ken /   技术宅  / 2012/06/18 10:33 / 热度(2,860 views)

前几天说到用VirtualBox 运行android x86以提高调试速度 ,虚拟出了一个android pad。这里再讲一下如何设置,使得可以模拟更多不同的分辨率,以满足调试的需要。

下面以添加480×800 DPI240 和320×480 DPI160 两种常见的分辨率为例。按如下步骤:

  1. 打开命令行窗口,进入到VirtualBox 安装目录下。我的虚拟机名称叫android_4,假设你的也是,执行:

    注意是两个不同名字的mode。
  2. 启动虚拟机,在系统启动菜单里选 Debug Mode 进入,然后执行:

    复制“title Android-x86 4.0-RC1” 及其下两行,然后粘贴两份,并分别在新粘贴的两份里:
    1. 修改“title” 行,改个标题;
    2. 修改“kernel” 行,分别添加“UVESA_MODE=480×800 DPI=240” 和“UVESA_MODE=320×480 DPI=160”
      结果可参考下图:
  3. 保存,重启,系统菜单里就多出来两个选项了,进入就是相应的分辨率和DPI 了。

P.S.

  • 文中“480×800”中的“x”是小写字母x。
  • vi 操作请自行搜索:-p
  • 可自行尝试各种不同的分辨率和DPI 组合。

从ADB连接到权限修改:深入解析安卓APK安装的底层步骤 本文深入解析安卓APK安装的底层步骤,从ADB连接到权限修改,详细介绍了系统级应用调试的实战技巧。涵盖分区挂载、权限设置、签名校验绕过等核心操作,帮助开发者解决安卓设备定制化开发中的常见问题,提升APK安装与调试效率。 阅读详情

相关推荐

在PC上实现Android系统安装的全面指南

Android x86项目是一个社区驱动的开源项目,旨在将Android操作系统移植到x86架构的计算机上。这个项目对于想要在台式机或笔记本电脑上体验Android环境的用户来说,提供了一个非常实用的途径。通过使用Android x86,用户可以在普通的桌面硬件上运行Android应用程序和游戏,这对于开发者来说尤其有益,因为它允许他们更容易地测试和优化他们的应用程序以适应不同的屏幕尺寸和硬件配置。

weixin_33608403的博客 6649

Android-x86

目录Android-x86: Run Android on your PC安装 Android-x86 虚拟机 (VMware Workstation) Android-x86: Run Android on your PC 官网: https://www.android-x86.org/ This is a project to port Android Open Source Project to x86 platform, formerly known as “patch hosting for

连理o的博客 3695

安卓模拟器 ON PC

很赞 安装后 可以在PC端实现安卓软件的运行

年度最佳Android系统 | 运行在台式机、笔记本手提电脑的安卓Android系统

年度的最佳Android系统 | 运行在台式机、笔记本手提电脑的安卓Android系统 适用于PC 2019的最佳Android操作系统 2019年3月1日团队技术探索Android 您是否知道,即使有几个升级版本,如Windows 10和10.1,即使这样,Android应用程序也在不断增长,因为它们使用起来很有趣并且具有非常友好的用户界面?但是如果你没有预先安装的Android操...

优快云小白 6万+

Install-MSNShell-5.2.4.16.exe

Install-MSNShell-5.2.4.16.exeInstall-MSNShell-5.2.4.16.exe

使用trae自动生成前后端分离的web应用程序

使用ai自动生成前后端分离的web应用程序

一介书生 2524

android x86debug,Debug HowTo | Android-x86

Android-x86Run Android on your PC Debug HowtoThis page explains how to use adb and gdbserver with VirtualBox1. use adb:• In the VirtualBox network configuration, it is simplest to con...

weixin_39831170的博客 285

医疗器械软件测试输出内容(1)

*单元测试(Unit Testing):**单元测试是软件测试的最底层,用于验证软件中最小的可测试单元——函数、方法或模块。系统测试是在集成测试之后进行的,它对整个系统进行测试,验证系统在不同部分集成在一起后是否满足需求和规格。: 集成测试是在单元测试之后进行的,它关注不同单元之间的交互和集成。对于不同安全级别的软件(IEC 62304 A类、B类、C类),在体系上要求输出的文件内容有所区别。**说明:**将集成测试和软件系统测试合并为一项单一的计划和一组活动是可接收的。

ct745363083的博客 1867

How to Install Android in VirtualBox

http://www.howtogeek.com/164570/how-to-install-android-in-virtualbox/ Want to run Android on your PC? The Android-x86 Project has ported Android to the x86 platform from ARM. Android-x86 can

张同光 (Tongguang Zhang):Hello everyone ! 595

杰理可视化SDK开发-杰理AC1123N芯片SDK开发笔记合集

该文档主要描述 AC112N开发相关的使用说明和注意事项,收集并持续更新开发调试过程中的相关疑问和解答,对SDK介绍文档做一个补充说明。写作人:李永奉,参考项目MD-026H; AC112N-SDK项目帮助文档在杰理开发者平台(JL DP)'帮助'处进入,如本文档有与后续帮助文档或工具注释说明冲突,以后者为标准。

李永奉的博客 180

基于知识图谱的档案智慧问答系统:构建智能化档案管理与知识服务新范式

基于知识图谱的档案智慧问答系统是档案管理领域的一次重要创新,它通过将档案数据转化为结构化的知识图谱,并结合自然语言处理和智能问答技术,实现了档案信息的智能化管理与服务。该系统不仅能够提升档案管理的效率,还能为用户提供更全面、更便捷的知识服务,具有广泛的应用前景和深远的社会意义。未来,随着技术的不断进步和应用场景的不断扩展,基于知识图谱的档案智慧问答系统将在更多领域发挥其价值,为档案管理领域的智能化转型提供强有力的支持。

qq_62634009的博客 1576

How to install Lineage Os ROM on any Android device [2 methods]

How to install Lineage Os ROM on any Android device [2 methods]

张同光 (Tongguang Zhang):Hello everyone ! 1296

halcon3d点云补全方法

属于halcon实例中的内容,后面还接了一部分的匹配

Tianwen_running的博客 1231

Install CM13 ROM on Huawei Honor 5X

Install CM13 ROM on Huawei Honor 5X

张同光 (Tongguang Zhang):Hello everyone ! 3万+

手把手教你学simulink(31.31)--双向DCDC电源场景示例:设计并实现一个基于变频控制的双向降压变换

设计并实现一个基于 Simulink 的双向降压变换器,能够在充电模式(从高压侧向低压侧传输能量)和放电模式(从低压侧向高压侧传输能量)之间切换,确保输出电压稳定,并根据负载变化自动调整工作模式。

MHD0815的博客 343

【Bug已解决】Failed to fetch version ECONNREFUSED 解决方案

方案适用场景推荐指数难度方案一:NODE_EXTRA_CA_CERTS代理/企业网关证书⭐⭐⭐⭐⭐低方案二:浏览器导出证书不知证书在哪⭐⭐⭐⭐中方案三:使用系统证书macOS 用户⭐⭐⭐⭐中方案四:关闭代理直连快速验证⭐⭐⭐低方案五:更新 Node.js证书列表过时⭐⭐⭐低方案六:同步系统时间时间偏差导致⭐⭐⭐低根本原因。

博客 9973

How to install NDK in window and compile ndk project

原文: http://ibuzzlog.blogspot.com/2012/07/how-to-install-android-ndk-on-windows.html This article teaches how to install Android NDK in Eclipse on windows, and setup the configuration for auto-build

yuxiaohui78的专栏 916

地球引擎初级教程:Python API 的安装和介绍

地球引擎的 Python API 提供了许多功能和工具,用于访问和处理地理空间数据。连接到地球引擎在编写地球引擎的 Python 脚本时,首先需要连接到地球引擎服务器。import ee # 初始化地球引擎 ee . Initialize()这将初始化地球引擎并建立与服务器的连接。加载和显示图像使用地球引擎的 Python API,您可以加载和显示卫星图像。import ee# 初始化地球引擎# 加载 Landsat 8 影像# 显示影像print('影像 URL:', url)

UePostscript的博客 1007

How can I install the Google Apps Package (Play Store, ...) on my Android device?

Background Only Android devices that are licensed by the Open Handset Alliance contain the so called Google Apps. Usually people associate apps like Google Maps, Google Play Store, etc. with Androi

谨慎对事 低调行事 0与1的世界 浩瀚如海 学无止境 8122

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

Android用零拷贝技术优化adb install的执行时间

本文引入Pipe作为中间媒介的拷贝方法,是一个利用零拷贝技术的通用方法,可以应用在不同的场景,adb install这个场景只是一个实际的应用。当然零拷贝技术也有局限性,就是在此过程中不能对数据进行修改,对于有数据修改要求的场景并不适用。如果想要成为架构师或想突破20~30K薪资范畴,那就不要局限在编码,业务,要会选型、扩展,提升编程思维。此外,良好的职业规划也很重要,学习的习惯很重要,但是最重要的还是要能持之以恒,任何不能坚持落实的计划都是空谈。

m0_59162559的博客 404

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

[转]Install App to SD

本文转自:http://www.douban.com/group/topic/29597344/ If you want to move more apps to the SD card, you'll need to have the Android SDK installed. How-To Install Android SDK On Windows, Mac and Linu...

weixin_34319374的博客 108

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

Unity Android log view(Android Debug Bridge)

Android Debug Bridge

蛰伏--当你不够强大时,就不要放弃努力 4156

How to extract WeChat chat messages from a smartphone running Android 7.x or above

A friend of mine she was frustarted in extracting WeChat chat messages from suspect's smartphone running Android 7.x. The situation is that no pattern lock/PIN/Password and USB debugging was enabled s...

weixin_30649641的博客 202

Android内核模块编译

Android内核模块编译

汽车以太网和SOA 4662

Install and run Android in Androidx86 emulator - This adb server's $ADB_VENDOR_KEYS is not set

Install and run Android in Androidx86 emulator - This adb server's $ADB_VENDOR_KEYS is not set

张同光 (Tongguang Zhang):Hello everyone ! 7242
上一篇: Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connectio
下一篇: ubuntu13.04安装搜狗输入法
intergameover
博客等级 码龄23年 36粉丝 44原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值