How much more difficult (if at all) has working on macOS become for ML practitioners following nVidia’s withdrawal of CUDA support a few years ago?
Cheers!
]]>You’re on the right track, though I don’t think Bloom would want their product compared to a lesser GPT.
I know most of the hype surrounding Bloom was being self-hosted, so we went with a model version that could be… self-hosted.
The download on even just this one was atrocious, and I couldn’t imagine downloading a more expansive model.
]]>Hello! what do you mean by the output?
You’ll need to use it to predict something to get an output for a model.
Dylan
]]>Thank you for great explanation. I need to ask 1 thing.
I want to check the regression output after fitting the model. How to do that?
Thanks
]]>Hi ChienChi,
poly_model is defined in the for loop!
A normal “fit” method won’t have any output, as it’s not transforming (as seen in the for loop).
a fit_transform is a little different than a fit method.
Dylan
]]> The code is useful and thanks for sharing it.
I put the sample code below and need your help to
confirm one question:
At line 10, the parameter values passed to mean_squared_error()
are “y_value” and “y_pred”.
“y_value” is the result fetched from the Excel file.
“y_pred” is the result returned by line 8.
But at line 4, “poly_model.fit(poly_x_values, y_values)” is executed.
What does this line take effect?
This line doesn’t generate any result.
What is the relation between line 4 and line 10?
Thanks very much.
======================================================
1 poly_model = PolynomialFeatures(degree=degree)
2
3 poly_x_values = poly_model.fit_transform(x_values)
4 poly_model.fit(poly_x_values, y_values)
5
6 regression_model = LinearRegression()
7 regression_model.fit(poly_x_values, y_values)
8 y_pred = regression_model.predict(poly_x_values)
9
10 plt_mean_squared_error.append(mean_squared_error(y_values, y_pred, squared=False))
Sincerely
ChienChi