Skip to content

Instantly share code, notes, and snippets.

View saurabhvyas's full-sized avatar

Saurabh Vyas saurabhvyas

  • India
View GitHub Profile
{"text": "" , "duration_s": 3 , "uuid": "1"}
Downloading: 100%|█████████████████████| 47.3M/47.3M [00:46<00:00, 1.01Mbytes/s]
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and cou
import RPi.GPIO as GPIO
from time import sleep
GPIO.setwarnings(False)
GPIO.cleanup()
GPIO.setmode(GPIO.BCM)
function [w1,w2] = backprop ( d , o , output_firstlayer , k , w1 , w2 , X)
% first start with right most neuron ( in this case only one output layer neuron )
% i is the training iteration number
sigmar = 0 ;
for i = 1:400
ir = output_firstlayer(i);
window.getLocation = {
result: '',
country: function() {
var that = this;
if (navigator.geolocation) {
/* geolocation is available */
console.log('geolocation available');
<ion-header class="home">
<div id="cover_container">
<ion-icon (click)="presentpopover($event)" id="more" name="more"></ion-icon>
<ion-icon id="arrow" name="arrow-back"></ion-icon>
{{username}}
</div>
</ion-header>
import {Injectable} from '@angular/core';
import{Http,Response,Jsonp} from'@angular/http';
import {NavController, Alert} from 'ionic-angular';
import {HomePage} from '../../pages/home/home';
import {LoginPage} from '../../pages/login/login';
import * as firebase from 'firebase';
import {Injectable} from '@angular/core';
import{Http,Response,Jsonp} from'@angular/http';
import {NavController, Alert} from 'ionic-angular';
import {HomePage} from '../../pages/home/home';
import {LoginPage} from '../../pages/login/login';
import * as firebase from 'firebase';
import {Page} from 'ionic-angular';
class post {
userId : number;
id:number;
title:string;
body:string;
import {Component} from 'angular2/core';
import { HTTP_PROVIDERS } from 'angular2/http';
import {usercomponent} from './userlist.component';
import { RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS } from 'angular2/router';
@Component({