ybifoundation / fundamental Goto Github PK
View Code? Open in Web Editor NEWJupyter Notebook
Jupyter Notebook
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"source": [
"# YBI Foundation"
],
"metadata": {
"id": "udzb8fLnATPo"
}
},
{
"cell_type": "markdown",
"source": [
"Join Telegram to Get Updates of all Future FREE Bootcamps and Courses"
],
"metadata": {
"id": "vzL7ma3AATPp"
}
},
{
"cell_type": "markdown",
"source": [
"# Train Test Split"
],
"metadata": {
"id": "aw6GdUmOATPq"
}
},
{
"cell_type": "markdown",
"source": [
"Watch Video Tutorial"
],
"metadata": {
"id": "Fx4DYyExATPq"
}
},
{
"cell_type": "code",
"source": [
"# import library\n",
"import pandas as pd"
],
"metadata": {
"id": "qcdlHsRIATPr"
},
"execution_count": 1,
"outputs": []
},
{
"cell_type": "code",
"source": [
"# read data\n",
"diabetes = pd.read_csv('https://github.com/YBIFoundation/Dataset/raw/main/Diabetes.csv')"
],
"metadata": {
"id": "8J7uChqZATPr"
},
"execution_count": 2,
"outputs": []
},
{
"cell_type": "code",
"source": [
"# display first 5 rows\n",
"diabetes.head()"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 206
},
"outputId": "919feef7-17ec-4615-de43-ce1df4c929ec",
"id": "ZEo_mcDkATPs"
},
"execution_count": 3,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
" pregnancies glucose diastolic triceps insulin bmi dpf age \\n",
"0 6 148 72 35 0 33.6 0.627 50 \n",
"1 1 85 66 29 0 26.6 0.351 31 \n",
"2 8 183 64 0 0 23.3 0.672 32 \n",
"3 1 89 66 23 94 28.1 0.167 21 \n",
"4 0 137 40 35 168 43.1 2.288 33 \n",
"\n",
" diabetes \n",
"0 1 \n",
"1 0 \n",
"2 1 \n",
"3 0 \n",
"4 1 "
],
"text/html": [
"\n",
" <div id="df-821c7e62-e558-40d5-9bb3-a1e1eee6cf0b">\n",
" <div class="colab-df-container">\n",
"
537 rows Γ 8 columns
\n",A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.