質問編集履歴
1
文字の修正
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ 
     | 
|
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            fig=plt.figure(figsize=(12,8))
         
     | 
| 
       13 
13 
     | 
    
         
             
            plt.scatter(x,y)
         
     | 
| 
       14 
     | 
    
         
            -
            plt.plot(x,lin.predict(x))
         
     | 
| 
      
 14 
     | 
    
         
            +
            plt.plot(x,lin.predict(x))  ##本来はデータを分けて予測しますが、今回は全データ突っ込んでるので、雰囲気だけで回帰直線
         
     | 
| 
       15 
15 
     | 
    
         
             
            plt.plot(x,np.sin(x))
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            ```
         
     |