1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253import osimport syssys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) import mysql.connector basedir = os.path.dirname(os.path.abspath(__file__)) db = { 'user' : 'root', 'password' : 'root', 'host' : 'localhost', 'port' : '3306', 'database' : 'mariadb'} mysql_con = None #---..
Perceptron 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 import numpy as np class Perceptron: def __init__(self, eta= 0.01, n_iter = 50, random_state=1): self.eta = eta self.n_iter = n_iter self.random_state = random_state def fit(self, X, y): regen = np.random.RandomState(self.random_state) self.w_ = regen.normal(loc = 0.0, scale=0.01, size= 1 + X.shape[1]) se..
config.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) import mysql.connector basedir = os.path.dirname(os.path.abspath(__file__)) db = { 'user' : 'root', 'password' : 'root', 'host' : 'localhost', ..
mariadb.com/ko/resources/blog/how-to-connect-python-programs-to-mariadb/ Python to MariaDB Connector | MariaDB You can use the popular programming language Python to manage data stored in MariaDB. Here is everything you need to know about connecting to MariaDB from Python. mariadb.com anaconda 실행
- Total
- Today
- Yesterday
- SpringBoot
- SQLAlchemy
- Git
- vscode
- JUnit
- Mlearn
- Mongo
- Django
- intellij
- jQuery
- springMVC
- KAFKA
- Eclipse
- mariadb
- JPA
- database
- React
- FLASK
- Python
- maven
- docker
- Oracle
- Java
- nodejs
- Algorithm
- AWS
- COLAB
- ERD
- terms
- tensorflow
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |