Community RSS Feed
https://community.wolfram.com
RSS Feed for Wolfram Community showing any discussions in tag Data Science sorted by activeFit data with a proper Gaussian using NonlinearModelFit?
https://community.wolfram.com/groups/-/m/t/1568328
Hi everybody. I need help!
I'm trying to fit my data set with a Gaussian, but I was able to get a curve that doesn't look like a Gaussian. I'm noob with this, so you guys please help me!
At least I wanna have a hint about how can I handle the parameters to get the best as possible fit. This is what I already have done...
data = Import[
"/home/leblanc/Documents/Astro/Paper/a.csv", "table", FieldSeparators -> " "];
nlm = NonlinearModelFit[data, a Exp[-(x - b)^2/2 c^2], {a, b, c}, x];
nlm["AdjustedRSquared"];
nlm[x];
nlm["ParameterTable"];
dataplot = ListPlot[data];
fitplot = Plot[nlm[x], {x, 1.8, 2.00}];
Show[dataplot, fitplot];Christian Leblanc2018-12-09T05:19:09Z[✓] Import data into the right format (ex: E+-03 -> 10^3)?
https://community.wolfram.com/groups/-/m/t/1567362
Hi.
I have a question about data import.
My data represent 10^3 as E+03.
So, If I import data, Mathematica can't get a handle on E+03.
How can I solve this problem?
Thanks.Myunghwan Kim2018-12-07T08:24:43ZDraw multiple bar chart labels?
https://community.wolfram.com/groups/-/m/t/1567723
I am drawing a Bar Chart using this code:
outlabels={"Label1(1-10)", "Label1(11-20)", "Label1(21-30)"};chartouttable={{1, 1, 1}, {2, 3, 2}, {1, 1, 1}};BarChart3D[chartouttable, ChartLayout -> "Grid",
ChartLabels -> Placed[outlabels, Center]]
And I get:
![enter image description here][1]
1. The problem is that each label is on there three times. I know that
I can put them on the Axis to only show them once but I want them on
the side of the first series and vertical if possible and only once.
Is there a way to do this?
2. Also, I would like to add labels to the
series axis but can't figure how to. How can that be done?
[1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=4034BarChart.jpg&userId=1523039Jamie Dixson2018-12-07T16:45:42Z[✓] Use series as Z on 3D Bar Chart?
https://community.wolfram.com/groups/-/m/t/1567386
I need individual series to be shown on the Z axis in a 3D bar chart. However, when I I use BarChart3D it places the series side-by-side. The documentation has a weather chart example but it is hard to understand how they got what they did without knowing something about their actual data. This is what I have that is not right:
BarChart3D[{{1, 2, 3, 4}, {4, 3, 2, 1}, {3, 2, 1, 4}}]
And it produces a chart that looks like:
![enter image description here][1]
However, I need a chart that looks like:
![enter image description here][2]
I know this is probably just a styling option but I cannot find it in the documentation.
[1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=BarChart.jpg&userId=1523039
[2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=BarChart2.jpg&userId=1523039Jamie Dixson2018-12-07T12:15:01ZDynamically create a list of strings for chart labels?
https://community.wolfram.com/groups/-/m/t/1567311
I am attempting to dynamically create a list that will serve as labels for a chart. The list will be based on a name which the user inputs for a list and the range of elements from the list. I can't seem to get the While loop to work just right. What am I doing wrong? What I have so far is:
seq1 = {52.000, 52.289, 39.000,
0.000, -10.121, -19.000, -22.000, -28.203, -18.000, -6.000, -5.615,
0.000, 0.000, 1.770, 2.000, 4.000, 3.903,
2.000, -4.000, -3.729, -3.000, 4.000, 20.378, 20.000, 47.000,
74.958, 58.000, 54.000, 68.563, 40.000};
window = 10;
offsetwindow = 5;
wordseqname = "Lab1";
stopper = Length[Partition[seq1, window, window]]; st = 0; While[
st <= stopper,
outlabel =
wordseqname <> "_(" <> st*window + 1 <> "-" <> st*window + 1 +
window; st++]
The output needs to be:
outlabel={"Lab1 (1-10)","Lab1 (11-20)","Lab1 (21-30)"}Jamie Dixson2018-12-07T04:16:57ZCan Wolfram´s Mathematica read CmapTools files?
https://community.wolfram.com/groups/-/m/t/1567561
Hi,
I would like to analyze CmapTools Concept Maps using Wolfram´s Mathematica. I intend to use graph theory to analyze the maps but I don´t know if Mathematica can read CmapTools files or if I have to convert them to a different format. Does anyone have experience with that or have any idea about it?
RibasJose Ribamar2018-12-07T11:30:00Z