일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- iris dataset
- aws code pipeline
- pill classification
- flower classification
- docker in ubuntu
- 춤 유사도 평가
- Container
- token check
- 369게임 만들기
- docker container
- 오목앱 만들기
- 긍부정문 판별
- 오목게임앱
- yolo mask
- 한글깨짐해결
- 360게임 만들기 with c
- AI
- ubuntu에서 docker 사용
- Java
- docker
- pill ai
- drone control
- ubuntu
- 시저암호 코딩
- Python
- dji tello
- mask image training
- ceasor
- C
- deep learning
- Today
- Total
목록Python (5)
월레스와 그로밋: 코딩의 날
import tiktokentiktoken: OpenAI의 GPT 계열 모델에서 사용하는 토크나이저(tokenizer) 라이브러리# 토큰 인코딩 규칙 불러오기encoding = tiktoken.encoding_for_model("gpt-3.5-turbo")tiktoken.encoding_for_model(): "gpt-3.5-turbo" 모델에 맞는 토큰 인코딩 규칙 불러오기(LLM)참고) 토크나이저 이름을 불러올 시, tiktoken.get_encoding()# 텍스트 정의text = "GPT is a type of language model developed by OpenAI that uses deep learning to understand and generate human-like text. It..
iris_data_check.pyfrom sklearn.datasets import load_irisimport numpy as np# Iris 데이터 로드iris = load_iris()data, target = iris.data, iris.targetfeature_names = iris.feature_namesclass_names = iris.target_names# 데이터 확인print("특성:", feature_names)print("클래스:", class_names)print("데이터 샘플:", data[0]) # 꽃받침 길이/넓이, 꽃잎 길이/넓이print("타겟 샘플:", target[0])# 각 클래스별 데이터 개수 확인unique, counts = np.unique(target, ret..
import numpy as npdef AND(x1, x2): x = np.array([x1, x2]) w = np.array([1.0, 1.0]) b = -1.5 tmp = np.sum(w*x) + b if tmp " + str(y))output[AND_Gate](0, 0)->0(1, 0)->0(0, 1)->0(1, 1)->1[OR_Gate](0, 0)->0(1, 0)->1(0, 1)->1(1, 1)->1[NAND_Gate](0, 0)->1(1, 0)->1(0, 1)->1(1, 1)->0[XOR_Gate](0, 0)->0(1, 0)->1(0, 1)->1(1, 1)->0
flower_classificationSummary102 종류의 꽃 데이터를 학습하여 꽃을 판별해줍니다. (데이터는 [https://www.robots.ox.ac.uk/~vgg/data/flowers/102/] 이곳에서)InstallationPython 3.11 with the following installed :git clone https://github.com/GamjaUser/flower_classification.gitcd flower_classificationpip install -r requirements.txtDatasetlink : [https://www.robots.ox.ac.uk/~vgg/data/flowers/102/]categories : [https://www.robots.ox...
def test1(): from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.chrome.options import Options from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By import json import csv import pyautogui import pyperclip import time from selenium.webdriver.common.keys imp..