This file contains 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
# Author: Remon Hasan , University of Asia Pacific | |
#Efficient process for Pycharm compiler for python | |
#Naive bayes algorithms for decting the real note of money | |
#python linear library pandas / cmd command line: pip install pandas | |
import pandas as pd | |
#python numpy library / cmd command line: pip install numpy | |
import numpy as np |
This file contains 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
#Author : Remon Hasan , University of Asia Pacific | |
# Machine Learning algorithm practice for research | |
#implemantation for google colab | |
#import library | |
import numpy as np | |
import pandas as pd | |
#read file | |
train = pd.read_csv('train.csv') | |
test = pd.read_csv('test.csv') |
This file contains 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
# Author: Remon Hasan , University of Asia Pacific | |
#Efficient process for Pycharm compiler for python | |
#Naive bayes algorithms for decting the real note of money | |
#python linear library pandas / cmd command line: pip install pandas | |
import pandas as pd | |
#python numpy library / cmd command line: pip install numpy | |
import numpy as np |
This file contains 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
# Author Remon Hasan, University of Asia Pacific | |
# Applewatch dataset solve with supervised way | |
# implementation with google Colab | |
import pandas as pd | |
import numpy as np | |
applewatch= pd.read_csv('AppleWatch.csv') | |
# lebel | |
train = applewatch.drop('Heart',axis=1) | |
y= applewatch["Heart"] |
This file contains 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
# Author : Remon Hasan | |
import matplotlib.pyplot as plt | |
from matplotlib import style | |
import numpy as np | |
from sklearn.cluster import KMeans | |
from sklearn import preprocessing | |
import pandas as pd | |
df = pd.read_excel('Titanic.xls') |
This file contains 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
# Author Remon Hasan, University of Asia Pacific | |
# Applewatch dataset solve with supervised way | |
# using LinearRegression | |
# implementation with google Colab | |
import pandas as pd | |
import numpy as np | |
applewatch= pd.read_csv('AppleWatch.csv') | |
# lebel |
This file contains 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
# Author Remon Hasan, University of Asia Pacific | |
# Applewatch dataset solve with unsupervised way | |
# using KMeans | |
# implementation with google Colab | |
import pandas as pd | |
import numpy as np | |
data = pd.read_csv('AppleWatch.csv') | |
# mapping gender |
This file contains 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
/* Author : Remon Hasan | |
Problem : Finding coPrime */ | |
#include<iostream> | |
#include<stdio.h> | |
using namespace std; | |
int gcd(int a,int b) | |
{ | |
if(a%b==0) |
This file contains 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
/* Author: Remon Hasan | |
Algorithm: Sieve of Eratosthense | |
Problem: Find all primes within given range | |
*/ | |
#include<bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
void sieve(ll N) | |
{ |
This file contains 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
/* Author: Remon Hasan | |
Algorithm: BigMod */ | |
#include<bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
ll BigMod(ll base, ll power, ll mod) | |
{ |
OlderNewer