This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Siswa | Matematika | IPA | IPS | |
|---|---|---|---|---|
| 1 | 2 | 4 | 8 | |
| 2 | 10 | 8 | 1 | |
| 3 | 6 | 2 | 1 | |
| 4 | 8 | 9 | 10 | |
| 5 | 4 | 4 | 8 | |
| 6 | 7 | 8 | 3 | |
| 7 | 4 | 5 | 4 | |
| 8 | 2 | 10 | 6 | |
| 9 | 7 | 7 | 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install.packages("readr") | |
| install.packages("dplyr") | |
| install.packages("party") | |
| install.packages("rpart") | |
| install.packages("rpart.plot") | |
| install.packages("ROCR") | |
| library(readr) | |
| library(dplyr) | |
| library(party) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Day | Outlook | Temperature | Humidity | Wind | PlayTennis | |
|---|---|---|---|---|---|---|
| D1 | Sunny | Hot | High | Weak | No | |
| D2 | Sunny | Hot | High | Strong | No | |
| D3 | Overcast | Hot | High | Weak | Yes | |
| D4 | Rain | Mild | High | Weak | Yes | |
| D5 | Rain | Cool | Normal | Weak | Yes | |
| D6 | Rain | Cool | Normal | Strong | No | |
| D7 | Overcast | Cool | Normal | Strong | Yes | |
| D8 | Sunny | Mild | High | Weak | No | |
| D9 | Sunny | Cool | Normal | Weak | Yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iris | |
| View(iris) | |
| install.packages("ggvis") | |
| install.packages("class") | |
| library("ggvis") | |
| library("class") | |
| #melihat korelasi antar atribut | |
| iris %>% ggvis(~Sepal.Length, ~Sepal.Width, fill = ~Species) %>% layer_points() | |
| iris %>% ggvis(~Petal.Length, ~Petal.Width, fill = ~Species) %>% layer_points() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SESimpleAdd { | |
| static public int add(int a, int b) { | |
| return a + b; | |
| } | |
| static public int multiply(int a, int b) { | |
| return a * b; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tingkat Perekonomian | Jenis Kelamin | Pekerjaan | Punya Deposito? | |
|---|---|---|---|---|
| Menengah Ke Atas | Pria | Tetap | Ya | |
| Menengah Ke Atas | Pria | Tetap | Tidak | |
| Menengah Ke Atas | Pria | Tetap | Ya | |
| Menengah Ke Bawah | Pria | Tetap | Tidak | |
| Menengah Ke Bawah | Pria | Honorer | Ya | |
| Menengah Ke Bawah | Wanita | Honorer | Tidak | |
| Menengah Ke Bawah | Wanita | Honorer | Ya | |
| Menengah Ke Bawah | Wanita | Tetap | Tidak | |
| Menengah Ke Atas | Wanita | Honorer | Tidak |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| install.packages('dataset') | |
| Titanic | |
| str(Titanic) | |
| # | |
| dfTitanic<-as.data.frame(Titanic) | |
| head(dfTitanic) | |
| View(dfTitanic) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.example.datapokemononline"> | |
| <uses-permission android:name="android.permission.INTERNET" /> | |
| <application | |
| android:allowBackup="true" | |
| android:icon="@mipmap/ic_launcher" | |
| android:label="@string/app_name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lukmannudin.assosiate.mvctutorial; | |
| import java.util.ArrayList; | |
| public class DataPokemon { | |
| public static String[][] data = new String[][]{ | |
| { | |
| "Cubone", | |
| "https://images.pokemontcg.io/dp6/90.png", | |
| "Common", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.hitungpersegi; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.EditText; | |
| import android.widget.TextView; | |
| import android.widget.Toast; |
NewerOlder