because there is no PyTorch tag at present, so TensorFlow is used. Would you like to add this tag to those with high reputation? Thanks tags () recently, I m going to use the VGG model to train the data, and then I want to use GPU, but I always repor...
question: recently I was learning the perceptron model and wanted to draw the following picture, but found that the + - sign in the following picture could not be drawn. drawing code from elsewhere, where Perceptron is a class implemented i...
currently only know the scan line algorithm (that is, the up and down, left and right scan), but the effect is not very ideal. I don t know if there are any other good algorithms. ...
import tensorflow as tf import numpy as np x_data=np.float32(np.random.rand(2,100)) y_data=np.dot([0.100,0.200],x_data)+0.300 b = tf.Variable(tf.zeros([1])) W = tf.Variable(tf.random_uniform([1, 2], -1.0, 1.0)) y=tf.matmul(W,x_data)+b loss=tf.reduce_mea...
use pandas s read_csv to read a dataset import pandas as pd dfoff = pd.read_csv (xxx.csv , keep_default_na=False) pd.set_option ( display.max_columns , None) print (dfoff.head (3)) found that he has 6 columns of data User_id print(dfof...