iDatamining.org

I am looking for projects to work on
Please contact with me at yiyu.jia@iDataMining.org!

Saturday, August 1, 2015

convert vmware player virtual machine into hyper-V

Below is the way I used to convert vmware player virtual machine into hyper-V virtual machine.
  1. Using below commands to enable and disable Microsoft hypervisor service

    bcdedit /set hypervisorlaunchtype off
    bcdedit /set hypervisorlaunchtype auto
    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
    dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

  1. Using virtualbox as tool to convert vmware player virtual machine to VHD format.

  •  install virtualbox 
  •   run command C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd "C:\Users\yiyu\Virtual Box VMs\vm\YiyuJia-Gateway-disk1.vmdk" "C:\yyjia\Hyper-V\VHD\YiyuJia-Gateway.vhd " --format VHD 
  •  create new virtual machine in hyper-v manager and choose using existing VHD file.

Friday, May 1, 2015

Working on Data science with R


I created some tutorials. I post them here:


Basic operation:  Working on Data science with R -- Basic practice

Doing clustering analysis: Working on Data Science with  R -- Clustering

Doing classification analysis: Working on Data Science with R -- Classification

Sunday, April 12, 2015

generate a self signed certification for dropwizard


1. use JDK keytool to generate keystore:

yiyujia@hadoopDev: keytool -genkeypair -keyalg RSA -dname "CN=localhost" -keystore linkedBAC.keystore -keypass 123456 -storepass 12345


2. modify Dropwizard configuration file as bellow.

server:
 #  softNofileLimit: 1000 #  hardNofileLimit: 1000   applicationConnectors:
     - type: http
       port: 8088
     - type: https
       port: 8443
       keyStorePath: linkedBAC.keystore
       keyStorePassword: 123456
       validateCerts: false       validatePeers: false   adminConnectors:
     - type: http
       port: 8081
     - type: https
       port: 8444
       keyStorePath: linkedBAC.keystore
       keyStorePassword: 123456
       validateCerts: false       validatePeers: false

3. Using curl to test your Dropwizard applicaiton.

curl -k --data "user_name=yiyu&password=123456&device_id=1&grant_type=password" https://localhost:8443/oauth2/token/accessToken


4. Or, if want to use web browser to test, we need to add self signged certification as exception by following steps as below.














Friday, March 13, 2015

An excellent Deep Learning Video


Invited Talk: Andrew Ng (Stanford University): Deep Learning