2017-06-01

2017-05-21

Use Weka data mining software to analyze Odoo ERP data


Use Weka data mining software to analyze Odoo ERP data:
Export Odoo data to .csv file and then imprt it from the Weka.

Odoo>Leads Analysis

Weka>Open File

Weka>
Weka>Visualize





Sales>Opportunities
Export Data>










Weka>Open File>Uisualize

Odoo>Report>Entries Analysis

Weka>Open File>Visualize

2017-05-09

Create a disk in the FreeCAD


Start FreeCAD:
內嵌影像

select "Part Design"
內嵌影像

Click "Create a new empty document":
內嵌影像
Click "Tasks>Create Geometry>Create sketch":
內嵌影像

Select XY0Plane, Click OK:
內嵌影像

Click "Create a circle in the sketcher":
內嵌影像

Click center:
內嵌影像

Extend the circle:
內嵌影像

Click again at the correct location:
內嵌影像
Right click to exit the circle mode.

Click "Task>Close":

Click "Tasks>Sketch tools>Pad":
內嵌影像
Set the "Pad parameters>Length" and click "Task>OK":
內嵌影像
Click "Set To front view(1)":
內嵌影像
Click "Set to axonometric view(0)":
內嵌影像


內嵌影像





2017-03-15

Weka Data Mining example 1- Regression with autoMpg.arff

Waikato Environment for Knowledge Analysis (WEKA):

Start Weka GUI.


Click Explorer Button to start the Weka Explorer.


Download regression data from the Weka DataSet page:

Copy and unzip it to the data directory under the directory where the Weka was installed, like "C:\Program Files\Weka-3-8\".

Click Open file Button to open a data file
Find the directory "C:\Program Files\Weka-3-8\data\datasets-numeric\numeric\"
Then select the "autoMpg.arff" to find out a regression model to predict the miles per gallon (MPG) for a car.



Weka loads the data and shows Attributes of this data file.
Click the "Classify" tab on upper side of the window.
Click "Choose" button within the Classifier area.
Select LinearRegression under the branch of the tree  "weka-classifiers-functions".




Click the Start button. 



We can see the result of the Linear Regression.





2016-07-27

CubicPower 3D Taipei Street VR Viewer has got to the Taiwan Open Data competition final

CubicPower 3D Taipei Street VR Viewer has got to the Taiwan Open Data competition final. This service combines the OpenStreetMap and Taipei city marks data to produce a virtual 3D view on the browser.

2016-06-28

Raise or Lower Terrain by the Unity Terrain Editor

 Steps of building terrain by the Unity Terrain Editor:


1. Start

GameObject> 3D Object> Terrain


Hierarchy> Terrain
Inspector> Terrain> Raise/Lower Terrain

Use the selected brush to raise terrain in the scene view.

Inspector> Terrain>  Paint Height
Inspector> Terrain>  Settings>  Height>   20


 Brush inner lower area.

Inspector >  Terrain>  Settings>   Height>   50

Brush outer higher area.




















2016-06-15

Debug the Odoo in Ubuntu with different user name

Once we've installed the Odoo as a service in Ubuntu, Odoo will be started up automatically. If we want to debug the Odoo, we should stop the Odoo service first. Also, we will encounter the "Peer authentication failed for user "odoo"" error if our login user name is not odoo. In order to conquer these problems we should do the following steps:

1. Stop service:
sudo service odoo stop

2. set the user odoo as a trusted user to all databases from local:
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
 
then add the following line into the file:
local all odoo trust
 
then restart the postgresql:
sudo service postgresql restart

3. Start odoo with the db user odoo:
cd /usr/bin
./odoo.py -r odoo


Reference:

Peer authentication failed for user "odoo"