Skip to content

Instantly share code, notes, and snippets.

# Import necessary libraries
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split, cross_val_score
from sklearn.preprocessing import StandardScaler, OneHotEncoder
from sklearn.compose import ColumnTransformer
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import RandomForestClassifier
from sklearn.svm import SVC
@benbieler
benbieler / cloudSettings
Last active October 12, 2020 11:45
My Visual Studio Code Settings sync.
{"lastUpload":"2020-10-12T11:01:55.776Z","extensionVersion":"v3.4.3"}
{
"name": "redis",
"image": "redis:latest",
"hostname": "redis",
"memory": 128
},
@benbieler
benbieler / User.php
Created August 20, 2015 13:54
A simple symfony registration script. Entity - Form - Controller
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraint as Assert;
/**
* User
*
* @ORM\Table()