Skip to content

Instantly share code, notes, and snippets.

View mmphego's full-sized avatar
:octocat:
Never judge a person by their choice of IDE

Mpho Mphego mmphego

:octocat:
Never judge a person by their choice of IDE
View GitHub Profile
@mmphego
mmphego / Jenkinsfile
Created June 8, 2022 03:46 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@mmphego
mmphego / Jenkinsfile
Created June 8, 2022 03:45 — forked from jenciso/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@mmphego
mmphego / wine_quality.csv
Last active January 9, 2022 12:58
Wine Quality Dataset is a datasets which is available on UC-Irvine machine learning recognition datasets. This data set is a result of chemical analysis of various wines grown in Portugal.
fixed acidity volatile acidity citric acid residual sugar chlorides free sulfur dioxide total sulfur dioxide density pH sulphates alcohol quality winecolor
7 0.27 0.36 20.7 0.045 45 170 1.001 3 0.45 8.8 6 white
6.3 0.3 0.34 1.6 0.049 14 132 0.994 3.3 0.49 9.5 6 white
8.1 0.28 0.4 6.9 0.05 30 97 0.9951 3.26 0.44 10.1 6 white
7.2 0.23 0.32 8.5 0.058 47 186 0.9956 3.19 0.4 9.9 6 white
7.2 0.23 0.32 8.5 0.058 47 186 0.9956 3.19 0.4 9.9 6 white
8.1 0.28 0.4 6.9 0.05 30 97 0.9951 3.26 0.44 10.1 6 white
6.2 0.32 0.16 7 0.045 30 136 0.9949 3.18 0.47 9.6 6 white
7 0.27 0.36 20.7 0.045 45 170 1.001 3 0.45 8.8 6 white
6.3 0.3 0.34 1.6 0.049 14 132 0.994 3.3 0.49 9.5 6 white
@mmphego
mmphego / diabetes.csv
Created April 26, 2021 14:53
diabetes dataset
PatientID Pregnancies PlasmaGlucose DiastolicBloodPressure TricepsThickness SerumInsulin BMI DiabetesPedigree Age Diabetic
1354778 0 171 80 34 23 43.50972593 1.213191354 21 0
1147438 8 92 93 47 36 21.24057571 0.158364981 23 0
1640031 7 115 47 52 35 41.51152348 0.079018568 23 0
1883350 9 103 78 25 304 29.58219193 1.282869847 43 1
1424119 1 85 59 27 35 42.60453585 0.549541871 22 0
1619297 0 82 92 9 253 19.72416021 0.103424498 26 0
1660149 0 133 47 19 227 21.94135672 0.174159779 21 0
1458769 0 67 87 43 36 18.2777226 0.23616494 26 0
1201647 8 80 95 33 24 26.62492885 0.443947388 53 1
@mmphego
mmphego / prometheus-operator-values.yaml
Created April 21, 2021 08:28
prometheus-operator-values.yaml
# Default values for prometheus-operator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
## Provide a name in place of prometheus-operator for `app:` labels
##
nameOverride: ""
## Override the deployment namespace
##
@mmphego
mmphego / WA_Fn-UseC_-HR-Employee-Attrition.csv
Created November 29, 2020 16:55
IBM HR Analytics Employee Attrition & Performance Predict attrition
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 35 columns, instead of 8 in line 4.
Age,Attrition,BusinessTravel,DailyRate,Department,DistanceFromHome,Education,EducationField,EmployeeCount,EmployeeNumber,EnvironmentSatisfaction,Gender,HourlyRate,JobInvolvement,JobLevel,JobRole,JobSatisfaction,MaritalStatus,MonthlyIncome,MonthlyRate,NumCompaniesWorked,Over18,OverTime,PercentSalaryHike,PerformanceRating,RelationshipSatisfaction,StandardHours,StockOptionLevel,TotalWorkingYears,TrainingTimesLastYear,WorkLifeBalance,YearsAtCompany,YearsInCurrentRole,YearsSinceLastPromotion,YearsWithCurrManager
41,Yes,Travel_Rarely,1102,Sales,1,2,Life Sciences,1,1,2,Female,94,3,2,Sales Executive,4,Single,5993,19479,8,Y,Yes,11,3,1,80,0,8,0,1,6,4,0,5
49,No,Travel_Frequently,279,Research & Development,8,1,Life Sciences,1,2,3,Male,61,2,2,Research Scientist,2,Married,5130,24907,1,Y,No,23,4,4,80,1,10,3,3,10,7,1,7
37,Yes,Travel_Rarely,1373,Research & Development,2,2,Other,1,4,4,Male,92,2,1,Laboratory Technician,3,Single,2090,2396,6,Y,Yes,15,3,2,80,0,7,3,3,0,0,0,0
33,No,Travel_Frequently,1392,Research & Development,3,4,L
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 23 columns, instead of 6 in line 8.
Number,Name,Type_1,Type_2,Total,HP,Attack,Defense,Sp_Atk,Sp_Def,Speed,Generation,isLegendary,Color,hasGender,Pr_Male,Egg_Group_1,Egg_Group_2,hasMegaEvolution,Height_m,Weight_kg,Catch_Rate,Body_Style
1,Bulbasaur,Grass,Poison,318,45,49,49,65,65,45,1,False,Green,True,0.875,Monster,Grass,False,0.71,6.9,45,quadruped
2,Ivysaur,Grass,Poison,405,60,62,63,80,80,60,1,False,Green,True,0.875,Monster,Grass,False,0.99,13.0,45,quadruped
3,Venusaur,Grass,Poison,525,80,82,83,100,100,80,1,False,Green,True,0.875,Monster,Grass,True,2.01,100.0,45,quadruped
4,Charmander,Fire,,309,39,52,43,60,50,65,1,False,Red,True,0.875,Monster,Dragon,False,0.61,8.5,45,bipedal_tailed
5,Charmeleon,Fire,,405,58,64,58,80,65,80,1,False,Red,True,0.875,Monster,Dragon,False,1.09,19.0,45,bipedal_tailed
6,Charizard,Fire,Flying,534,78,84,78,109,85,100,1,False,Red,True,0.875,Monster,Dragon,True,1.70,90.5,45,bipedal_tailed
7,Squirtle,Water,,314,44,48,65,50,64,43,1,False,Blue,True,0.875,Monster,Water_1,False,0.51,9.0,45,bipedal_tailed
8,Wartortle,Water,,405,59
@mmphego
mmphego / Makefile
Last active October 4, 2023 08:14
Generic Makefile for my projects
.ONESHELL:
SHELL := /bin/bash
DATE_ID := $(shell date +"%y.%m.%d")
# Get package name from pwd
PACKAGE_NAME := $(shell basename $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))))
.DEFAULT_GOAL := help
# UPDATE ME
DOCKER_IMAGE = "$(USER)/$(shell basename $(CURDIR))"
@mmphego
mmphego / Jenkins+Script+Console.md
Created May 25, 2020 11:54 — forked from mubbashir/Jenkins+Script+Console.md
jenkins groovy scripts collection.
@mmphego
mmphego / README.md
Created April 16, 2019 08:41 — forked from akashnimare/README.md
A Beginners Guide to writing a Kickass README ✍

Project title

A little info about your project and/ or overview that explains what the project is about.

Motivation

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Build status

Build status of continus integration i.e. travis, appveyor etc. Ex. -

Build Status