Skip to content

Instantly share code, notes, and snippets.

Emil Konstantinovitz yunderboy

  • Denmark
Block or report user

Report or block yunderboy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yunderboy
yunderboy / Churn_Modelling.csv
Created Jun 8, 2018
This gist shows you how to create an artificial neural network in python and the keras framework, that predicts the chance that a customer will leave a fictional European bank
View Churn_Modelling.csv
We can't make this file beautiful and searchable because it's too large.
RowNumber,CustomerId,Surname,CreditScore,Geography,Gender,Age,Tenure,Balance,NumOfProducts,HasCrCard,IsActiveMember,EstimatedSalary,Exited
1,15634602,Hargrave,619,France,Female,42,2,0,1,1,1,101348.88,1
2,15647311,Hill,608,Spain,Female,41,1,83807.86,1,0,1,112542.58,0
3,15619304,Onio,502,France,Female,42,8,159660.8,3,1,0,113931.57,1
4,15701354,Boni,699,France,Female,39,1,0,2,0,0,93826.63,0
5,15737888,Mitchell,850,Spain,Female,43,2,125510.82,1,1,1,79084.1,0
6,15574012,Chu,645,Spain,Male,44,8,113755.78,2,1,0,149756.71,1
7,15592531,Bartlett,822,France,Male,50,7,0,2,1,1,10062.8,0
8,15656148,Obinna,376,Germany,Female,29,4,115046.74,4,1,0,119346.88,1
9,15792365,He,501,France,Male,44,4,142051.07,2,0,1,74940.5,0
@yunderboy
yunderboy / app.js
Created Aug 23, 2017
Socket server til vægt test
View app.js
var net = require('net');
var HOST = '0.0.0.0';
var PORT = 8080;
// Create a server instance, and chain the listen function to it
// The function passed to net.createServer() becomes the event handler for the 'connection' event
// The sock object the callback function receives UNIQUE for each connection
net.createServer(function(sock) {
View React redux-form error
// Uses https://github.com/erikras/redux-form to bind form events to redux state
/* Receives following error on run
warning.js: 45 Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `SitesAndLocale`.warning @ warning.js:45
invariant.js:46 Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of `SitesAndLocale`.
*/
import React from "react";
import { Field, reduxForm } from "redux-form";
You can’t perform that action at this time.