본문 바로가기

강얼쥐와 함께 즐겁게 읽는 AI

(20)
쨋봇(챗봇) 에 관하여 가장 기본적이면서 개념적인 설명 Chatbots, the intelligent virtual assistants that simulate human conversations, can be classified based on how they generate responses, their range of conversation topics, and their ability to take initiative in a conversation. The rule-based model is the simplest approach, where responses are predefined and triggered by a series of rules or decision trees. Retrieval-based models use machine lea..
Python, programming langugages Programming languages, like Python, are tools that allow us to communicate our ideas to a computer by providing a set of commands or instructions that the computer can understand. These commands are written in a text file called a program. When we run a program, we are essentially asking the computer to read the program file, translate the commands into a set of operations that it can execute, a..
MS bing AI 오피셜 : 이미 AI가 기렉이들 대체할 수 있다 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 개 웃기네 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ ㅋㅋㅋㅋㅋㅋ
큐큐큨 큐큐큐큐큐큐큐 태이태닉 import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler # Load the passenger data passengers = pd.read_csv('passengers.csv') print(passengers) # Update sex column to numerical # Map "female" to 1 and "male" to 0 in the Sex column..
gpt 얘들이 약 먹었나 미친 듯한 속도로 발전 중이다.. ㅎㄷㄷ 1년 이율이 100% 인 은행이 3개가 있는 마을이 있다. A은행은 정석대로 1년 마다 예금액에 이자를 (1년에 총 2배) 붙여준다. B은행은 반 년 마다 맡긴 금액에 반 액의 이자를 합쳐 청산하고 계속 새롭게 이자를 붙여나간다(이율은 같은데 반 년 마다 계산을 한다는 뜻). 이렇게 하면 놀랍게도 B은행은 반년 마다 1.5배가 되므로 일 년에 2.25배씩 늘어난다. C 은행 총 책임자는 이러한 A 은행과 B 은행을 이기기 위해 어느 날 놀라운 수를 제시하였다. 총 책임자 (C은행) : 우리는 오늘부터 0.1초 단위로 청산하고 이에 알맞은 이자를 붙이겠습니다. '0.1초 단위로 당신의 자산을 무한히 불려드립니다' 이걸 슬로건으로 내걸고 이번에 공격적인 마케팅을 하세요. 직원 : 하지만 사장님 1년 이율은 ..
집 값을 분석해봐여 import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) # Input data files are available in the read-only "../input/" directory # For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory import os for dirname, _, filenames in os.walk('/kaggle/input'): for filename in filenames: print(os.pa..
구글 데이터 분석하기 import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler from keras.models import Sequential from keras.layers import Dense, LSTM import matplotlib.pyplot as plt # Load the Google stock data into a pandas dataframe df = pd.read_csv('GOOGL.csv', date_parser=True) # Normalize the data using MinMaxScaler scaler = MinMaxScaler(feature_range=(0,1)) df = scaler.fit_transfo..
AI 로 가볍게 주식투자 해보기 (*가벼운 내용입니당~) import random import numpy as np actions = [1, 2, 0] def state(data, t, n): d = t - n + 1 block = data[d:t + 1] if d >= 0 else -d * [data[0]] + data[0:t + 1] res = [] for i in range(n - 1): res.append(block[i + 1] - block[i]) return np.array([res]) def QLearning(data, n, episodes, a, b, g, eta): Q = {} for episode in range(episodes): t = 0 total_profit = 0 state_t = state(data, t, n) action = np..